emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Inequalities in math blocks


From: Max Nikulin
Subject: Re: Inequalities in math blocks
Date: Tue, 5 Oct 2021 19:00:59 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 05/10/2021 14:55, Rudolf Adamkovič wrote:
Timothy writes:

You’re going to be much better off if you just use LaTeX math delimiters, i.e. `\( ... \)'.

Interesting. It works, but I do not understand why!

Did you inspect HTML file? Playing with export, I do not see real difference. Result is "\(1<2\)" even for $1<2$.

info "(org) LaTeX fragments" https://orgmode.org/manual/LaTeX-fragments.html
highlight some issues with $:
 To avoid conflicts with currency specifications, single ‘$’ characters
are only recognized as math delimiters if the enclosed text contains at
most two line breaks, is directly attached to the ‘$’ characters with no
whitespace in between, and if the closing ‘$’ is followed by whitespace,
punctuation or a dash. For the other delimiters, there is no such
restriction, so when in doubt, use ‘\(...\)’ as inline math delimiters.

Do we consider inequalities in $$ breaking HTML export expected behavior? Or, do we consider it a bug? I suppose there exists no formal specification, executable or not, to answer the question?

Tom Gillespie mentioned in another thread yesterday:

https://orgmode.org/worg/dev/org-syntax.html#Entities_and_LaTeX_Fragments
    It would introduce incompatibilities with previous Org versions, but
support for $...$ (and for symmetry, $$...$$) constructs ought to be
removed.

    They are slow to parse, fragile, redundant and imply false
positives. — ngz





reply via email to

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