[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to solve "Warning (emacs): Please update the LaTeX src-block-bac
From: |
Ihor Radchenko |
Subject: |
Re: How to solve "Warning (emacs): Please update the LaTeX src-block-backend to listings" |
Date: |
Thu, 24 Aug 2023 07:39:43 +0000 |
Guillaume MULLER <guillaume.muller@emse.fr> writes:
> I'm trying to create a code block with some latex code to be interpreted
> inside. I only knew lstlistings until now. Page
> https://orgmode.org/manual/Source-blocks-in-LaTeX-export.html lists Engraved
> and Minted as possible backend.
> https://list.orgmode.org/87wnf1z1w8.fsf@gmail.com/T/ also lists verbatim.
>
> So from what I understand, of the message "Warning (emacs): Please update the
> LaTeX src-block-backend to listings", is that the default backend is not
> lstlistings and that there is a variable somewhere that should be set to
> lstlistings.
Yes. `org-latex-src-block-backend'.
I now updated the warning to be more explicit.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=85c94ecfc
--
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>