emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [BUG] html export and org results block and indentation


From: Andreas Leha
Subject: [O] [BUG] html export and org results block and indentation
Date: Mon, 26 Mar 2012 11:45:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]