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: Sun, 3 Oct 2021 15:50:49 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 03/10/2021 00:51, Tom Gillespie wrote:
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.

The answer is that \[ \] can only occur inside paragraphs.

Nicolas mentioned that meaning of \[ \] might be changed and that will allow among other things correctly working of paragraph filling. I like such idea.

Org gives
us a bit more power, but not the full power because Org is Org, not
Latex.

There is \( \) object for inline math. Is there use cases for 2 (actually 2 groups of 2 elements counting $...$ and $$...$$) variants for inline math when primary backend for them behaves differently?

Making \[ \] available outside of a paragraph would be a massive
breaking change.

Is it really breaking? I can not estimate required amount of work to implement it. However at the user side at first glance most of files should remain valid and I could not imagine markup that will be broken during export to LaTeX.

I guess one thing I'm missing/not understanding is when/why people
want to use \[ \] instead of full #+begin_export latex block?

For example, because document without equations may become almost useless in the case of export to HTML or ODT file.





reply via email to

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