emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Klein <kleinrob@mpip-mainz.mpg.de>
To: emacs-orgmode@gnu.org
Subject: new exporter: too many blank lines in .org results in missing images from src blocks
Date: Mon, 15 Oct 2012 12:09:10 +0200	[thread overview]
Message-ID: <507BE0C6.1000508@mpip-mainz.mpg.de> (raw)

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 ---

             reply	other threads:[~2012-10-15 10:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 10:09 Robert Klein [this message]
2012-10-15 20:35 ` new exporter: too many blank lines in .org results in missing images from src blocks Nicolas Goaziou
2012-10-16 15:57   ` Robert Klein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=507BE0C6.1000508@mpip-mainz.mpg.de \
    --to=kleinrob@mpip-mainz.mpg.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).