emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] latex export of #+header: lines


From: Jambunathan K
Subject: Re: [O] latex export of #+header: lines
Date: Fri, 20 Jan 2012 01:39:26 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt)

Andreas Leha <address@hidden> writes:

> Andreas Leha <address@hidden> writes:
>
>> "Sebastien Vauban"
>> <address@hidden> 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
>
>
>

-- 



reply via email to

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