[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Option that prevents Org to add \lstset{language=⟨language⟩,...} whe
From: |
Ihor Radchenko |
Subject: |
Re: Option that prevents Org to add \lstset{language=⟨language⟩,...} when code blocks are exported to LaTeX |
Date: |
Mon, 31 Oct 2022 08:19:43 +0000 |
Ihor Radchenko <yantar92@posteo.net> writes:
> Denis Bitouzé <denis.bitouze@univ-littoral.fr> writes:
>
>> Otherwise, all the options specified by `\lstset` can be applied as an
>> option of the `lstlisting` environment:
>>
>> ┌────
>> │ \begin{lstlisting}[language=⟨language⟩,...]
>> └────
>
> This should be the safest and the least verbose.
>
> I implemented the suggestion in the attached patch.
Applied onto main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6ef33b6dd6e61d5e8bccb5b086f9f09500e81fab
Fixed.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>