emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minte


From: Nicolas Goaziou
Subject: Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings
Date: Sat, 23 Aug 2014 21:47:32 +0200

Hello,

Aaron Ecay <address@hidden> writes:

> * lisp/ox-latex.el (org-latex-src-block): Support :float no with
> caption for minted.
> (org-latex-listings): Edit docstring to describe this usecase.

There is already :float nil, which is documented in the manual.

> +             (cond ((and (string= "no" float) caption)
> +                    (format "%%s\n%s" (replace-regexp-in-string
> +                                       "\\\\caption" "\\captionof{listing}"
> +                                       caption-str t t)))

I think this should be a (trivial) filter. Is there any reason to
support "captionof" package out of the box?


Regards,

-- 
Nicolas Goaziou



reply via email to

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