From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [New exporter] org-export-latex-verbatim-wrap Date: Fri, 11 Jan 2013 23:30:17 +0100 Message-ID: <87ip731hfq.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttoj7-00054y-7Z for emacs-orgmode@gnu.org; Fri, 11 Jan 2013 19:13:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ttoj2-0002Kq-E5 for emacs-orgmode@gnu.org; Fri, 11 Jan 2013 19:13:33 -0500 Received: from mail-wg0-f51.google.com ([74.125.82.51]:46554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtnB5-0004jk-08 for emacs-orgmode@gnu.org; Fri, 11 Jan 2013 17:34:19 -0500 Received: by mail-wg0-f51.google.com with SMTP id gg4so1090881wgb.30 for ; Fri, 11 Jan 2013 14:34:17 -0800 (PST) In-Reply-To: (Ista Zahn's message of "Fri, 11 Jan 2013 17:25:05 -0500") 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: Ista Zahn Cc: emacs-orgmode Mailinglist Hello, Ista Zahn writes: > Does the new exporter have any equivalent of > org-export-latex-verbatim-wrap? I've looked but don't see anything. > How can I format verbatim output when using the new exporter? Add a filter to `org-export-filter-fixed-width-functions'. E.g.: #+begin_src emacs-lisp (defun my-latex-fixed-width-filter (fixed-width backend info) (when (org-export-derived-backend-p backend 'e-latex) (replace-regexp-in-string "\\(begin\\|end\\){\\(verbatim\\)}" "something" fixed-width nil nil 2))) (add-to-list 'org-export-filter-fixed-width-functions 'my-latex-fixed-width-filter) #+end_src Regards, -- Nicolas Goaziou