From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: [BUG] html export and org results block and indentation Date: Mon, 26 Mar 2012 11:45:51 +0200 Message-ID: <87bonjpueo.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC6Vg-0007u6-PY for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 05:46:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SC6Vd-0004ww-BT for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 05:46:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:33848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC6Vd-0004wn-4M for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 05:46:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SC6Va-0001SR-D8 for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 11:46:38 +0200 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Mar 2012 11:46:38 +0200 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Mar 2012 11:46:38 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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}") | <> | #+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}") | <> | #+end_src `---- Regards, Andreas