From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: latex export of #+header: lines Date: Fri, 20 Jan 2012 01:39:26 +0530 Message-ID: <81lip3v4i1.fsf@gmail.com> References: <87y5t6wwzy.fsf@med.uni-goettingen.de> <80k44q4scz.fsf@somewhere.org> <87ty3uwovp.fsf@med.uni-goettingen.de> <87pqeiwoq5.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnyIs-00062D-Ul for emacs-orgmode@gnu.org; Thu, 19 Jan 2012 15:09:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RnyIr-0005K8-GE for emacs-orgmode@gnu.org; Thu, 19 Jan 2012 15:09:46 -0500 Received: from mail-gy0-f169.google.com ([209.85.160.169]:57403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnyIr-0005K4-Di for emacs-orgmode@gnu.org; Thu, 19 Jan 2012 15:09:45 -0500 Received: by ghrr14 with SMTP id r14so276826ghr.0 for ; Thu, 19 Jan 2012 12:09:45 -0800 (PST) In-Reply-To: <87pqeiwoq5.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Tue, 17 Jan 2012 12:30:26 +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: Andreas Leha Cc: emacs-orgmode@gnu.org Andreas Leha writes: > Andreas Leha writes: > >> "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 > > Just tried, and the odt export has them as well. Maybe a problem on my > test file? Or is the #+header(s): tag somehow deprecated? If you remove the indentation of "#+header:" line (and thereby force it to start at column 0) you will see that (atleast) the ODT export doesn't have the header lines. I think the problem is not with the latex or odt backends as such but in the export pre-processor. > - Andreas > > > --