emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Guillaume MULLER <guillaume.muller@emse.fr>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: How to solve "Warning (emacs): Please update the LaTeX src-block-backend to listings"
Date: Wed, 23 Aug 2023 18:24:00 +0200	[thread overview]
Message-ID: <b5c056cb-3258-4a11-2d9b-33c97b112d62@emse.fr> (raw)


[-- 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 --]

             reply	other threads:[~2023-08-23 16:54 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b5c056cb-3258-4a11-2d9b-33c97b112d62@emse.fr \
    --to=guillaume.muller@emse.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).