emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to solve "Warning (emacs): Please update the LaTeX src-block-backend to listings"
@ 2023-08-23 16:24 Guillaume MULLER
  2023-08-24  7:39 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Guillaume MULLER @ 2023-08-23 16:24 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org


[-- Attachment #1.1.1: Type: text/plain, Size: 1248 bytes --]

Hi,

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.

However I cannot find any documentation on what variable and where to set it. Is the variable indeed called "src-block-backend". Is it set in global Emacs config? Locally in the org file?

I tried to eval (setq src-block-backend 'listings) and (setq org-latex-listings t) . But error is still there.


Any idea?

-- 
Guillaume MULLER
Associate Professor, PhD
Fayol Institue - ISI Department
🚪 #426
☎ 04 77 42 02 71
🕸 https://www.mines-stetienne.fr
🧍= Physical Address =
   Espace Fauriel
   29 Rue Pierre et Dominique Ponchardier
   42100 Saint-Étienne
📬 = Postal Address =
   École des Mines de Saint-Étienne
   158 cours Fauriel
   42100 Saint-Étienne

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 673 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-09  8:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-23 16:24 How to solve "Warning (emacs): Please update the LaTeX src-block-backend to listings" Guillaume MULLER
2023-08-24  7:39 ` Ihor Radchenko
     [not found]   ` <ae98244b-f8ff-d138-279d-5e0743966a1a@emse.fr>
2023-08-24  9:23     ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).