Hello,

Ista Zahn <istaz...@gmail.com> 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

Reply via email to