[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ox-latex: Allow percent sign in 'src-block' caption
From: |
Bastien |
Subject: |
Re: [PATCH] ox-latex: Allow percent sign in 'src-block' caption |
Date: |
Sat, 25 Sep 2021 18:04:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi Maxim,
Maxim Nikulin <manikulin@gmail.com> writes:
> On 03/09/2021 19:17, Maxim Nikulin wrote:
>> On 30/07/2021 22:00, Charest, Luc wrote:
>>>
>>> org-latex-src-block: Not enough arguments for format string
>>
>> Confirmed
>>
>> User input is combined with format string in `org-latex-src-block'
>> so percent character in caption is treated as a format specifier.>
>> Maybe emacs versions newer than 26 does not throw an error
>> on extra specifier with missed argument. =:latex-cation-above nil=
>> might still cause corrupted LaTeX code.
>
> I have decided that it is better to provide a partial fix than to leave
> the problem as is. This patch covers only plain verbatim environment,
> more advanced formatting using listings or minted should be addressed
> by another change (Anybody?).
Applied, thanks.
> Do not close the bug after applying this patch.
I've opened a bug from the original report, I'll check it does appear
in updates.orgmode.org correctly.