Matt Huszagh <huszaghm...@gmail.com> writes:

> This patch fixes an issue in which captions for custom listing
> environments are not converted correctly. To illustrate the issue,
> take the following MWE.

Thanks!

> -                        (?c . ,caption)
> +                        (?c . ,(org-export-data (org-export-get-caption 
> src-block)
> +                                                   info))

I think that it will be better if you use
org-latex--caption/label-string instead. It will take care about short
captions as well.

Best,
Ihor

Reply via email to