emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [patch] ox-latex.el to allow customization of verbatim environme


From: Nicolas Goaziou
Subject: Re: [O] [patch] ox-latex.el to allow customization of verbatim environments (e.g., to use fancyvrb)
Date: Mon, 15 Apr 2013 07:40:17 +0200

Hello,

Eric Schulte <address@hidden> writes:

> Here's my fancyvrb filter for when such a place is created.
>
>     (defun org-latex-filter-fancyvrb (text backend info)
>       "Convert begin/end{verbatim} to begin/end{Verbatim}.
>     Allows use of the fancyvrb latex package."
>       (when (or (org-export-derived-backend-p backend 'beamer)
>                 (org-export-derived-backend-p backend 'latex))

`beamer' is derived from `latex' so a back-end derived from `beamer'
will ultimately be derived from `latex'. Hence:

  (org-export-derived-backend-p backend 'beamer)

can be removed.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]