From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Exporting #+lob Date: Sun, 17 Oct 2010 12:22:55 -0600 Message-ID: <87zkuc7k74.fsf@gmail.com> References: <58EEABEE-9247-434F-A861-5CB641A6CA56@tsdye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=45771 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7Xss-0004ci-NJ for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 14:23:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7Xsr-0005S7-N2 for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 14:23:02 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:49221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7Xsr-0005S0-Hz for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 14:23:01 -0400 Received: by pvf33 with SMTP id 33so31193pvf.0 for ; Sun, 17 Oct 2010 11:23:00 -0700 (PDT) In-Reply-To: <58EEABEE-9247-434F-A861-5CB641A6CA56@tsdye.com> (Thomas S. Dye's message of "Sat, 16 Oct 2010 19:59:10 -1000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: emacs-orgmode Mailinglist This looks like a bug, the export of lob lines needs to be better about recognizing if it is inside of a protected environment. Thanks for pointing this out. In the mean time the following syntax should work... : #+lob: elispgantt(table=gantttesttable) :results output latex Best -- Eric BTW: Do you still intend to add the elispgantt code to the library of babel distributed with Org-mode? If so I'm happy to handle the commit if you send me the code or a patch. "Thomas S. Dye" writes: > Aloha all, > > This bit of an Org-mode buffer: > > #+begin_example > #+lob: elispgantt(table=gantttesttable) :results output latex > #+end_example > > is exported to LaTeX like this: > > \begin{lstlisting} > : elispgantt(table=gantttesttable) > \end{lstlisting} > > How can I get the header arguments (:results output latex) into the > LaTeX output? > > All the best, > Tom > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode