emacs-orgmode
[Top][All Lists]
Advanced

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

[PATCH] Wrap LaTeX snippets in $$ with markdown export


From: Timothy
Subject: [PATCH] Wrap LaTeX snippets in $$ with markdown export
Date: Thu, 01 Apr 2021 00:41:29 +0800
User-agent: mu4e 1.4.15; emacs 28.0.50

Hi All,

I anticipate that this change may be somewhat contentions because ox-md
explicitly follows only the original Markdown spec from 2003, however
I've thought this over and come to the conclusion that this change is
still in keeping with that, and beneficial.

Currently ox-md simply inherits the output from ox-html's handling of
LaTeX snippets. Needless to say, the original Markdown specification
does not mention LaTeX snippets. As such, by subtly tweaking the output
(either adding $$ or substituting out LaTeX-style \(\) / \[\] for $ /
$$) we are not deviating from the original specification any more than we
already are.

While I don't see any issue with this, I do see some benefits. Namely
that, of the many Markdown variants that now exist, many support LaTeX
snippets, but exclusively in the TeX $$ form. Hence, by applying this
change the overall utility of ox-md is increased.

Let me know what you think,

Timothy

Attachment: 0001-ox-md-Use-TeX-style-math-wrapping.patch
Description: Text Data


reply via email to

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