emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug in latex export tutorial on worg ?


From: Thomas S. Dye
Subject: Re: [O] Bug in latex export tutorial on worg ?
Date: Mon, 09 May 2011 17:15:12 -1000

Robert Goldman <address@hidden> writes:

> 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.
>
> best,
> r

Aloha Robert,

You can set both :results silent and :exports none.  The :results header
argument sets how the results of evaluation appear (or not) in the
Org-mode buffer, and the :exports argument determines what the exporter
does with the source code block.

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



reply via email to

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