From mboxrd@z Thu Jan 1 00:00:00 1970 From: Niels Giesen Subject: Re: More specific LaTeX output classes Date: Fri, 02 Dec 2011 22:55:16 +0100 Message-ID: <87zkfaiqpn.fsf@gmail.com> References: <21A5E1E970CD46459ECBE86D6CC4B28C52E23E0F@spexch01.WindLogics.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWb4g-0006gD-LA for emacs-orgmode@gnu.org; Fri, 02 Dec 2011 16:55:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWb4f-0000f1-B1 for emacs-orgmode@gnu.org; Fri, 02 Dec 2011 16:55:18 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:63914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWb4f-0000et-5E for emacs-orgmode@gnu.org; Fri, 02 Dec 2011 16:55:17 -0500 Received: by eaah1 with SMTP id h1so3906067eaa.0 for ; Fri, 02 Dec 2011 13:55:16 -0800 (PST) In-Reply-To: <21A5E1E970CD46459ECBE86D6CC4B28C52E23E0F@spexch01.WindLogics.local> (Ken Williams's message of "Fri, 2 Dec 2011 15:15:55 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ken Williams Cc: "emacs-orgmode@gnu.org" Ken Williams writes: [...] > Would it be possible for the export process to define various classes > that default to being exactly like 'verbatim', but could be > customized? After that, a next step might be to provide nice defaults > that do things like syntax-highlighting (through the 'minted' package, > perhaps), or at least add a visual marker distinguishing between input > & output. > > Or of course it's possible some of this is already implemented and I've missed it. =) Yes it is: #+begin_src emacs-lisp (setq org-export-latex-listings 'minted) (add-to-list 'org-export-latex-packages-alist '("" "minted") #+end_src See also `org-export-latex-listings-langs' for a mapping of Emacs modes to languages known to pygmentize. Also see C-h v org-export-latex-listings RET for more information (e.g. about the --shell-escape option you'll have to pass to the LaTeX process). Regards, Niels. -- http://pft.github.com/