[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug in latex export tutorial on worg ?
From: |
Robert Goldman |
Subject: |
Re: [O] Bug in latex export tutorial on worg ? |
Date: |
Mon, 09 May 2011 23:46:12 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
On 5/9/11 May 9 -11:22 PM, Nick Dokos wrote:
> Robert Goldman <address@hidden> wrote:
>
>> On 5/9/11 May 9 -9:54 PM, Nick Dokos wrote:
>>> Robert Goldman <address@hidden> wrote:
>>>
>>>> There is the following code block there:
>>>>
>>>> #+begin_src emacs-lisp :results silent
>>>> (add-to-list 'org-export-latex-classes
>>>> '("per-file-class"
>>>> "\\documentclass{scrartcl}
>>>> [NO-DEFAULT-PACKAGES]
>>>> [EXTRA]"
>>>> ("\\section{%s}" . "\\section*{%s}")
>>>> ("\\subsection{%s}" . "\\subsection*{%s}")
>>>> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>>>> ("\\paragraph{%s}" . "\\paragraph*{%s}")
>>>> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>>>> #+end_src
>>>>
>>>> Is this still correct? Or should this be :exports none instead of
>>>> :results silent?
>>>>
>>>
>>> ``:results silent'' works for me and keeps the result from appearing in
>>> the org buffer. I don't think :exports can do that - it can only affect
>>> what's exported.
>>>
>>> Nick
>>
>> I must be doing something wrong then --- I had the :results silent and
>> found the source block in verbatim in my latex export file.... Changing
>> to :exports none made that go away for me. Maybe that was a
>> coincidence. I will have to investigate further, I guess.
>>
>
> No, you are not doing anything wrong: the default :exports value is
> "code", so the code ends up in your export. ``:exports none'' keeps it
> (and any results) from being exported.
>
> OTOH, try evaluating (C-c C-c) the code block, with and without
> ``:results silent''. There is a behavior difference and *that* difference
> is not affected by how you set :exports.
>
> Nick
Ah. I get it now. But then surely the above IS a bug -- presumably
it's not usual for a person to wish their latex export configuration to
appear, in verbatim block, in their org-generated latex document!
Best,
Robert
- [O] Bug in latex export tutorial on worg ?, Robert Goldman, 2011/05/09
- Re: [O] Bug in latex export tutorial on worg ?, Nick Dokos, 2011/05/09
- Re: [O] Bug in latex export tutorial on worg ?, Robert Goldman, 2011/05/09
- Re: [O] Bug in latex export tutorial on worg ?, Thomas S. Dye, 2011/05/09
- Re: [O] Bug in latex export tutorial on worg ?, Nick Dokos, 2011/05/10
- Re: [O] Bug in latex export tutorial on worg ?,
Robert Goldman <=
- Re: [O] Bug in latex export tutorial on worg ?, Nick Dokos, 2011/05/10
- Re: [O] Bug in latex export tutorial on worg ?, Nick Dokos, 2011/05/10
- Re: [O] Bug in latex export tutorial on worg ?, Thomas S. Dye, 2011/05/10
- Re: [O] Bug in latex export tutorial on worg ?, Thomas S. Dye, 2011/05/10
- Re: [O] Bug in latex export tutorial on worg ?, Robert Goldman, 2011/05/10
- Re: [O] Bug in latex export tutorial on worg ?, Thomas S. Dye, 2011/05/10