emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* new exporter: too many blank lines in .org results in missing images from src blocks
@ 2012-10-15 10:09 Robert Klein
  2012-10-15 20:35 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Klein @ 2012-10-15 10:09 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I found another issue with the new exporter.

The export of the file below doesn't always include the image in the
export (that is, no image, not even a missing image).

When there is only one blank line after #+end_src, the image in
included.  Two or more blank lines, and there is no image.  in tex files
there is no \includegraphics, in html exports "<img src..." is missing.

Same happens when the org file ends after #+end_src and there are more
than two blank lines.  (That happened with the file I encountered the
issue first.  And, of course, didn't "see" any difference to a org file
where exporting worked... :-)


Best regards
Robert




--- snip --- snip ---
# -*- fill-column:75; coding: utf-8-unix; -*-
#+TITLE: file1

* plantuml diagram
#+begin_src plantuml :file example.png :exports results
@startuml
title Todo for something

(*) --> "Count slowly to ten"
--> "Count slowly backwards to zero"
--> "Relax"
--> (*)
#+end_src



* next section

Lorem ipsum dolor sit amet...
--- snip --- snip ---

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: new exporter: too many blank lines in .org results in missing images from src blocks
  2012-10-15 10:09 new exporter: too many blank lines in .org results in missing images from src blocks Robert Klein
@ 2012-10-15 20:35 ` Nicolas Goaziou
  2012-10-16 15:57   ` Robert Klein
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2012-10-15 20:35 UTC (permalink / raw)
  To: Robert Klein; +Cc: emacs-orgmode

Hello,

Robert Klein <kleinrob@mpip-mainz.mpg.de> writes:

> The export of the file below doesn't always include the image in the
> export (that is, no image, not even a missing image).
>
> When there is only one blank line after #+end_src, the image in
> included.  Two or more blank lines, and there is no image.  in tex files
> there is no \includegraphics, in html exports "<img src..." is missing.
>
> Same happens when the org file ends after #+end_src and there are more
> than two blank lines.  (That happened with the file I encountered the
> issue first.  And, of course, didn't "see" any difference to a org file
> where exporting worked... :-)

It should be fixed now. Thanks again for the report.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: new exporter: too many blank lines in .org results in missing images from src blocks
  2012-10-15 20:35 ` Nicolas Goaziou
@ 2012-10-16 15:57   ` Robert Klein
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Klein @ 2012-10-16 15:57 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Hello,

On 10/15/2012 10:35 PM, Nicolas Goaziou wrote:
> Hello,
> 
> Robert Klein <kleinrob@mpip-mainz.mpg.de> writes:
> 
>> The export of the file below doesn't always include the image in the
>> export (that is, no image, not even a missing image).
>>
>> When there is only one blank line after #+end_src, the image in
>> included.  Two or more blank lines, and there is no image.  in tex files
>> there is no \includegraphics, in html exports "<img src..." is missing.
>>
>> Same happens when the org file ends after #+end_src and there are more
>> than two blank lines.  (That happened with the file I encountered the
>> issue first.  And, of course, didn't "see" any difference to a org file
>> where exporting worked... :-)
> 
> It should be fixed now. Thanks again for the report.
> 
> 
> Regards,
> 

yes, it works.

Thank you very much!

Best regards
Robert

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-16 15:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 10:09 new exporter: too many blank lines in .org results in missing images from src blocks Robert Klein
2012-10-15 20:35 ` Nicolas Goaziou
2012-10-16 15:57   ` Robert Klein

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).