From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Gray Subject: Re: Org-special-blocks for code chunks Date: Tue, 11 Aug 2009 18:51:58 +0200 Message-ID: <86ocqms381.fsf@portan.ibr.cs.tu-bs.de> References: <87ab26we7h.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Maua8-0001cO-T6 for emacs-orgmode@gnu.org; Tue, 11 Aug 2009 12:52:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Maua3-0001Qo-84 for emacs-orgmode@gnu.org; Tue, 11 Aug 2009 12:52:16 -0400 Received: from [199.232.76.173] (port=35145 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Maua2-0001QN-JK for emacs-orgmode@gnu.org; Tue, 11 Aug 2009 12:52:10 -0400 Received: from main.gmane.org ([80.91.229.2]:32866 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Maua1-0000bR-UE for emacs-orgmode@gnu.org; Tue, 11 Aug 2009 12:52:10 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MauZz-0008S6-Mk for emacs-orgmode@gnu.org; Tue, 11 Aug 2009 16:52:07 +0000 Received: from portan.ibr.cs.tu-bs.de ([134.169.34.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Aug 2009 16:52:07 +0000 Received: from chrismgray by portan.ibr.cs.tu-bs.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Aug 2009 16:52:07 +0000 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@gnu.org Sébastien Vauban wrote: > I have a problem exporting code chunks to LaTeX (beamer, in fact -- but that > does not change anything to the problem) that contain underscores. [snip] > So, I can't get a properly outputted underscore in my slide. > Any idea or workaround? Hi Seb, Is lstlisting like a verbatim environment? I think you might be able to just use \begin{lstlisting} and \end{lstlisting} in that case. Org does not interpret anything inside such blocks, which is why org-special-blocks was created in the first place. Cheers, Chris