From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Bug in latex export tutorial on worg ? Date: Mon, 09 May 2011 17:15:12 -1000 Message-ID: References: <4DC8A5C5.4050202@sift.info> <7319.1304996046@alphaville.dokosmarshall.org> <4DC8A9D5.5090504@sift.info> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJdPz-0000aY-Ff for emacs-orgmode@gnu.org; Mon, 09 May 2011 23:15:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJdPy-000669-FU for emacs-orgmode@gnu.org; Mon, 09 May 2011 23:15:27 -0400 Received: from oproxy4-pub.bluehost.com ([69.89.21.11]:58260) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QJdPy-00065s-67 for emacs-orgmode@gnu.org; Mon, 09 May 2011 23:15:26 -0400 In-Reply-To: <4DC8A9D5.5090504@sift.info> (Robert Goldman's message of "Mon, 09 May 2011 21:58:29 -0500") 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: rpgoldman@sift.info Cc: nicholas.dokos@hp.com, Org Mode Robert Goldman writes: > On 5/9/11 May 9 -9:54 PM, Nick Dokos wrote: >> Robert Goldman 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