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,
>
>>
>> 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,
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