emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix caption format for custom latex src block


From: Ihor Radchenko
Subject: Re: [PATCH] Fix caption format for custom latex src block
Date: Tue, 14 Jun 2022 11:51:01 +0800

Matt Huszagh <huszaghmatt@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

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