[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] latex export of #+header: lines
From: |
Sebastien Vauban |
Subject: |
Re: [O] latex export of #+header: lines |
Date: |
Tue, 17 Jan 2012 13:51:28 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (windows-nt) |
Hi Andreas,
Andreas Leha wrote:
> Andreas Leha <address@hidden> writes:
>> "Sebastien Vauban" writes:
>>> 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.
>>
>> 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)
Yes, they are. Sorry... I just read too quickly...
>> 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.
They should not appear in the exported TeX code. You're right about that.
> 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?
I never used #+header (without the s). But that's not the problem...
This must be related to the new variable `org-babel-exp-code-template'.
See discussion at http://osdir.com/ml/emacs-orgmode-gnu/2012-01/msg00544.html.
Though, I must admit not yet having time for testing it...
Best regards,
Seb
--
Sebastien Vauban
- [O] latex export of #+header: lines, Andreas Leha, 2012/01/17
- Re: [O] latex export of #+header: lines, Sebastien Vauban, 2012/01/17
- Re: [O] latex export of #+header: lines, Andreas Leha, 2012/01/17
- Re: [O] latex export of #+header: lines, Andreas Leha, 2012/01/17
- Re: [O] latex export of #+header: lines, Eric S Fraga, 2012/01/17
- Re: [O] latex export of #+header: lines,
Sebastien Vauban <=
- Re: [O] latex export of #+header: lines, Jambunathan K, 2012/01/19
- Re: [O] latex export of #+header: lines, Andreas Leha, 2012/01/20
- Re: [O] latex export of #+header: lines, Bastien, 2012/01/24