emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Inline src blocks do not work for LaTeX [9.5.4 (release_9.5.4-3-g6dc785 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]
@ 2022-07-03  9:57 Rudolf Adamkovič
  2022-07-03 11:43 ` Ihor Radchenko
  0 siblings, 1 reply; 8+ messages in thread
From: Rudolf Adamkovič @ 2022-07-03  9:57 UTC (permalink / raw)
  To: emacs-orgmode

Hello folks,

the documentation at

https://orgmode.org/manual/Structure-of-Code-Blocks.html

says

"Org offers two ways to structure source code in Org documents: in a
source code block, and directly inline. Both specifications are shown
below."

and

"An inline code block conforms to this structure: src_<language>{<body>}
… or src_<language>[<header arguments>]{<body>}"

So, I write

> For instance, src_latex{a \qqtext{with} b} renders as "$a
> \qqtext{with} b$".

I expect syntax-highlighted "a \qqtext{with} b" followed by the rendered
version.  Both in HTML and LaTeX export, I do not see the former.

Have I stumbled upon a bug, or do I not understand the syntax?

P.S.  When I change "latex" to, for example, "bash", the in-line source
block appears, albeit incorrectly highlighted.

Rudy

Emacs : GNU Emacs 29.0.50 (build 20, aarch64-apple-darwin21.5.0, NS
 appkit-2113.50 Version 12.4 (Build 21F79)) of 2022-07-02 Package: Org
 mode version 9.5.4 (release_9.5.4-3-g6dc785 @ <censored>)
-- 
"Thinking is a momentary dismissal of irrelevancies."
-- Richard Buckminster Fuller, 1969

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia


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

end of thread, other threads:[~2022-07-08 20:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-03  9:57 [BUG] Inline src blocks do not work for LaTeX [9.5.4 (release_9.5.4-3-g6dc785 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)] Rudolf Adamkovič
2022-07-03 11:43 ` Ihor Radchenko
2022-07-03 19:11   ` Rudolf Adamkovič
2022-07-03 21:19     ` Christian Heinrich
2022-07-08 20:23       ` Rudolf Adamkovič
2022-07-04 12:08     ` Ihor Radchenko
2022-07-04  2:32   ` Timothy
2022-07-04 12:21     ` 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).