From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: listing org source blocks in LaTeX Date: Mon, 13 Sep 2010 11:26:41 -1000 Message-ID: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============0160499434==" Return-path: Received: from [140.186.70.92] (port=44176 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvGY7-0005eM-Dq for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 17:26:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvGY6-0008Te-Bv for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 17:26:51 -0400 Received: from oproxy2-pub.bluehost.com ([67.222.39.60]:33452) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OvGY6-0008TL-5M for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 17:26:50 -0400 Received: from [72.253.144.27] (helo=potofo-ou.westell.com) by box472.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1OvGXz-0006hj-Cd for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 15:26:44 -0600 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: emacs-orgmode Mailinglist --===============0160499434== Content-Type: multipart/alternative; boundary=Apple-Mail-3--984160126 --Apple-Mail-3--984160126 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Aloha all, 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 listings package throws an error when it sees language=org. It does just fine with source code blocks in other languages. All the best, Tom --Apple-Mail-3--984160126 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Aloha = all,

Has anyone configured the listings package to = recognize org source code blocks?

On LaTeX = export, I get this:

\lstset{language=3Dorg}

org-buffer-color() = $\equiv$ 
\begin{lstlisting}
#+LaTeX_CLASS_OPTIONS: = [color]
\end{lstlisting}

The listings package throws an error when it sees language=3Dorg. =  It does just fine with source code blocks in other = languages.

All the = best,
Tom

= --Apple-Mail-3--984160126-- --===============0160499434== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0160499434==--