From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Pechiar Subject: use of org-export-latex-verbatim-wrap Date: Wed, 26 May 2010 13:20:01 -0300 Message-ID: <20100526162001.GA32657@soloJazz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=40692 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHJKz-0007Nn-Dj for emacs-orgmode@gnu.org; Wed, 26 May 2010 12:20:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHJKy-00086Q-6Y for emacs-orgmode@gnu.org; Wed, 26 May 2010 12:20:09 -0400 Received: from cpoproxy2-pub.bluehost.com ([67.222.39.38]:50947 helo=outbound-mail-158.bluehost.com) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OHJKx-00086A-TP for emacs-orgmode@gnu.org; Wed, 26 May 2010 12:20:08 -0400 Received: from r186-48-224-86.dialup.adsl.anteldata.net.uy ([186.48.224.86] helo=iso.palmas.net) by box519.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1OHJKu-0005c9-Q9 for emacs-orgmode@gnu.org; Wed, 26 May 2010 10:20:05 -0600 Content-Disposition: inline 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 Trying to adjust the style for fixed-width sections in LaTeX export (drawers in particular), I found org-latex.el defines a customizable wrapper for verbatim sections: (defcustom org-export-latex-verbatim-wrap '("\\begin{verbatim}\n" . "\\end{verbatim}\n") "Environment to be wrapped around a fixed-width section in LaTeX export. This is a cons with two strings, to be added before and after the fixed-with text. But this variable is _only_ used in org-exp.el in function org-export-format-source-code-or-example All other fixed-width latex generation uses explicit "\verbatim" text instead of the wrapper variables. Is this the only intended use for org-export-latex-verbatim-wrap? If not, then I can look into this and provide a patch for using the wrapper variable in all appropriate places. Saludos, .j.