Hi Maxim,

Maxim Nikulin <maniku...@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.

Reply via email to