Re: Option that prevents Org to add \lstset{language=⟨language⟩,...} when code blocks are exported to LaTeX

2022-10-31 Thread Ihor Radchenko
Ihor Radchenko writes: > Denis Bitouzé 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.

Re: Option that prevents Org to add \lstset{language=⟨language⟩,...} when code blocks are exported to LaTeX

2022-10-18 Thread Ihor Radchenko
Denis Bitouzé 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

Re: Option that prevents Org to add \lstset{language=⟨language⟩,...} when code blocks are exported to LaTeX

2022-10-18 Thread Denis Bitouzé
Le 18/10/22 à 04h14, Ihor Radchenko a écrit : > Denis Bitouzé writes: > >> here is a feature request about the LaTeX export. >> >> With ~(setq org-latex-listings t)~, code blocks such as: >> >> ┌ >> │ #+BEGIN_SRC ⟨language⟩ :exports code >> │ ... >> │ #+END_SRC >> └ >> >> are

Re: Option that prevents Org to add \lstset{language=⟨language⟩,...} when code blocks are exported to LaTeX

2022-10-17 Thread Ihor Radchenko
Denis Bitouzé writes: > here is a feature request about the LaTeX export. > > With ~(setq org-latex-listings t)~, code blocks such as: > > ┌ > │ #+BEGIN_SRC ⟨language⟩ :exports code > │ ... > │ #+END_SRC > └ > > are exported to LaTeX into: > > ┌ > │

Option that prevents Org to add \lstset{language=⟨language⟩,...} when code blocks are exported to LaTeX

2022-02-26 Thread Denis Bitouzé
Hi, here is a feature request about the LaTeX export. With ~(setq org-latex-listings t)~, code blocks such as: ┌ │ #+BEGIN_SRC ⟨language⟩ :exports code │ ... │ #+END_SRC └ are exported to LaTeX into: ┌ │ \lstset{language=⟨language⟩,label= ,caption=