emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] html export and org results block and indentation
@ 2012-03-26  9:45 Andreas Leha
  2012-03-27 20:15 ` Bastien
  0 siblings, 1 reply; 11+ messages in thread
From: Andreas Leha @ 2012-03-26  9:45 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I experience problems when exporting the following to html, as a
spuriuos line
ORG-ORG-START 
is inserted after the results block:

,----
| * Tikz test
|   #+name: contents
|   #+begin_src latex :exports (if (and (boundp 'org-export-current-backend) (eq org-export-current-backend 'latex)) "results" "none") :results latex
|     \begin{tikzpicture}
|       \node[red!50!black] (a) {A};
|       \node (b) [right of=a] {B};
|       \draw[->] (a) -- (b);
|     \end{tikzpicture}
|   #+end_src
| 
|   #+begin_src latex :exports (if (and (boundp 'org-export-current-backend) (eq org-export-current-backend 'latex)) "none" "results") :results org :file test.png :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 400 :fit yes :noweb yes :headers '("\\usepackage{tikz}")
|     <<contents>>
|   #+end_src
`----

This seems to disappear when I remove the indentation:
,----
| * Tikz test 2
| #+name: contents2
| #+begin_src latex :exports (if (and (boundp 'org-export-current-backend) (eq org-export-current-backend 'latex)) "results" "none") :results latex
|   \begin{tikzpicture}
|     \node[red!50!black] (a) {A};
|     \node (b) [right of=a] {B};
|     \draw[->] (a) -- (b);
|   \end{tikzpicture}
| #+end_src
| 
| #+begin_src latex :exports (if (and (boundp 'org-export-current-backend) (eq org-export-current-backend 'latex)) "none" "results") :results org :file test.png :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 400 :fit yes :noweb yes :headers '("\\usepackage{tikz}")
|   <<contents2>>
| #+end_src
`----



Regards,
Andreas

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

end of thread, other threads:[~2012-04-06 13:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26  9:45 [BUG] html export and org results block and indentation Andreas Leha
2012-03-27 20:15 ` Bastien
2012-03-28 11:34   ` Andreas Leha
2012-03-28 12:00     ` Nick Dokos
2012-03-28 12:30       ` Andreas Leha
2012-03-28 12:41         ` Nick Dokos
2012-04-03  6:26           ` Bastien
2012-04-03  8:00             ` Vladimir Lomov
2012-04-06  8:54               ` Bastien
2012-04-06 13:28                 ` Vladimir Lomov
2012-04-03 13:08             ` Andreas Leha

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