emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Don't fill displayed equations


From: Max Nikulin
Subject: Re: [PATCH] Don't fill displayed equations
Date: Sat, 2 Oct 2021 21:21:06 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 02/10/2021 18:24, Eric S Fraga wrote:
On Saturday,  2 Oct 2021 at 18:18, Timothy wrote:
I can’t help but think that this line of thinking is a bit of a trap, because

I think you're right.  Nicolas's view that we should not think of org as
a front-end for LaTeX is probably more to the point.  As Stefan has
noted, how LaTeX processes \[...\] in the context of paragraphs is much
more complex (as it should be as typography is an incredibly difficult
task to do well, and TeX/LaTeX generally does it very well).  Trying to
have org mirror LaTeX in some way is doomed to fail.

I am happy with \[...\] being treated as an inline element.  That is
more sympathetic to LaTeX than the opposite.

\begin{equation}
  1 != 2
\end{equation}

does not start new paragraph in LaTeX and formats expression as a separate block in display math mode similar to \[ \]. However in Org \begin{equation} starts block element, so terminates preceding paragraph. At the same time Org export backend is transparent enough, so Org paragraphs separated by equation blocks may become parts of single paragraphs in LaTeX.

So formatting paragraphs properly by LaTeX does not depend whether \[ \] is treated as inline object or as block-level element in Org. I really do not see a reason for idiosyncrasy that markup intended to add LaTeX snippet that looks like exactly as LaTeX commands for this purpose and even actually preserved during export to LaTeX should have different semantics for Org parser. It is rather a source of confusion and nothing more.




reply via email to

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