Hi,

@Trevor: is this your intent?
[image: image.png]
Or are the backslashes out of place...

I think we hit a LaTeX problem here
https://tex.stackexchange.com/questions/53513/hyperref-token-not-allowed

And I would like to know if we want to provide the workaround in Org or
not...

Best, /PA

On Sat, 15 Nov 2025 at 15:55, Ihor Radchenko <[email protected]> wrote:

> Trevor Murphy <[email protected]> writes:
>
> > Hey, folks.  I've been writing more latex in org recently, and I
> > stumbled over the bug named in the subject line.  Here's a test case
> > you can evaluate in a scratch buffer in emacs -Q:
> > ...
>
> Fixed, on main. Alongside with another issue revealed by the test.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a1beb4028
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=bc7bba5c6
>
> > Patch attached (including a new test).
>
> Applied, partially. I only applied the test.
> The bug is more significant than simply missing math. Things like
> :with-emphasis, :with-latex, etc were also ignored for alt title. My
> variant of the fix handles everything on ox.el level.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=681c9656f
>
> --
> Ihor Radchenko // yantar92,
> Org mode maintainer,
> 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>
>
>

-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

"Sagen's Paradeiser" (ORF: Als Radiohören gefährlich war) => write BE!
Year 1 of the New Koprocracy

Reply via email to