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" <t...@tsdye.com> 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

_______________________________________________
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

Reply via email to