emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The less ambiguous math delimiters in tables


From: Ihor Radchenko
Subject: Re: The less ambiguous math delimiters in tables
Date: Tue, 24 Dec 2024 09:25:32 +0000

Rudolf Adamkovič <rudolf@adamkovic.org> writes:
>   Org still struggles with | within \(...\) in tables,
>
> such as
>
>   | \(|x|\) |
>
> Is this a feature or a bug?

It is a syntax limitation.
Org parser is outer-inner - the table row is parsed first.
So, | are unconditionally used as table delimiters, *before* verbatim
LaTeX markup is recognized.

\vert is one possible workaround, but it does not work inside verbatim
text.

The only sane way would be adding some kind of alternative table
delimiter syntax to aid the situations like in your example.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]