Hello, Aaron Ecay <aarone...@gmail.com> 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