[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
- Re: [PATCH] Fix caption format for custom latex src block,
Ihor Radchenko <=