[Orgmode] Re: listing org source blocks in LaTeX

2010-09-24 Thread Sébastien Vauban
Hi Eric, >>> The listings package throws an error when it sees language=org. >> >> Normal. It is unknown... unluckily! > > I've used the following for org-mode listings > > \lstdefinelanguage{org} > { > morekeywords={:results, :session, :var, :noweb, :exports}, > sensitive=false, >

Re: [Orgmode] Re: listing org source blocks in LaTeX

2010-09-24 Thread Eric Schulte
>> >> The listings package throws an error when it sees language=org. > > Normal. It is unknown... unluckily! > I've used the following for org-mode listings --8<---cut here---start->8--- \lstdefinelanguage{org} { morekeywords={:results, :session, :var,

[Orgmode] Re: listing org source blocks in LaTeX

2010-09-24 Thread Sébastien Vauban
Hi Thomas, "Thomas S. Dye" wrote: > Has anyone configured the listings package to recognize org source code > blocks? > > On LaTeX export, I get this: > >> \lstset{language=org} >> >> org-buffer-color() $\equiv$ >> \begin{lstlisting} >> #+LaTeX_CLASS_OPTIONS: [color] >> \end{lstlisting} > > The li