From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: latex export of #+header: lines Date: Tue, 17 Jan 2012 12:27:06 +0100 Message-ID: <87ty3uwovp.fsf@med.uni-goettingen.de> References: <87y5t6wwzy.fsf@med.uni-goettingen.de> <80k44q4scz.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn7CQ-0004cU-St for emacs-orgmode@gnu.org; Tue, 17 Jan 2012 06:27:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rn7CH-0004LQ-EY for emacs-orgmode@gnu.org; Tue, 17 Jan 2012 06:27:34 -0500 Received: from lo.gmane.org ([80.91.229.12]:54413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn7CH-0004LL-4A for emacs-orgmode@gnu.org; Tue, 17 Jan 2012 06:27:25 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rn7CG-0005qM-09 for emacs-orgmode@gnu.org; Tue, 17 Jan 2012 12:27:24 +0100 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 ; Tue, 17 Jan 2012 12:27:23 +0100 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jan 2012 12:27:23 +0100 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 "Sebastien Vauban" writes: > Hi Andreas, > > Andreas Leha wrote: >> I am experiencing a problem with the latex exporter: #+header: lines >> are visible in the exported file. >> >> Example: >> >> /==================================================\ >> * test header tag >> #+caption: foo >> #+label: fig:fig1 >> #+name: foo >> #+header: :file foo.png >> #+header: :width 3600 :height 3600 :res 600 >> #+begin_src R :exports results :results graphics >> plot(1:10, 1:10) >> #+end_src >> \==================================================/ > > Try using #+LaTeX_HEADER: lines, instead. > > Best regards, > Seb Hi Seb, thanks for the reply! But as far as I know, #+LaTeX_HEADER (as described here http://orgmode.org/org.html#Header-and-sectioning) is a different thing from babel source block header arguments (as described here http://orgmode.org/org.html#Code-block-specific-header-arguments) I use both quite extensively. The #+header: tags can be avoided by creating loooong #+begin_src lines. But still, they should not appear in the exported tex code, I think. Best, Andreas