From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hsiu-Khuern Tang Subject: Wishlist: indicate language in LaTeX export of literal source examples Date: Mon, 8 Feb 2010 16:10:34 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nedgk-00066o-Nq for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 19:10:46 -0500 Received: from [199.232.76.173] (port=55508 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nedgj-00066I-Uf for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 19:10:45 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nedgd-0003xn-V4 for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 19:10:45 -0500 Received: from mail-yx0-f187.google.com ([209.85.210.187]:38517) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NedgZ-0003xS-QW for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 19:10:36 -0500 Received: by yxe17 with SMTP id 17so1206910yxe.26 for ; Mon, 08 Feb 2010 16:10:34 -0800 (PST) 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 (Resending because of earlier problems -- my apologies if this is a duplicate!) Hi, Currently, literal examples (#+BEGIN_EXAMPLE and #+BEGIN_SRC) are exported to \begin{verbatim} ... \end{verbatim} in LaTeX. For #+BEGIN_SRC blocks, could we indicate the language in a LaTeX comment, e.g., #+BEGIN_SRC R ... #+END_SRC becomes % R \begin{verbatim} ... \end{verbatim} I'm trying to post-process the LaTeX output, and knowing the language would help me. Thanks! -- Best, Hsiu-Khuern.