From: Max Nikulin <manikulin@gmail.com> To: emacs-orgmode@gnu.org Subject: Re: Inequalities in math blocks Date: Sun, 3 Oct 2021 19:19:41 +0700 [thread overview] Message-ID: <sjc754$csp$1@ciao.gmane.io> (raw) In-Reply-To: <m27deu74j8.fsf@me.com> On 03/10/2021 18:04, Rudolf Adamkovič wrote: > The following Org markup does not render properly in HTML export: > > - foo $a<b$ bar foo $b>a$ bar > In Emacs, I see no signs of problems, such as broken math highlighting. > Further, when I export to LaTeX, the inequalities render properly. Does > one have to use \lt and \gt instead of < and >> all the time? If so, why allow < and > characters in math > blocks? I ask because, when I reorganize my Org document, it breaks math > "at random" when I use < and > and Emacs does not tell me about it. I had another reason to look into the manual today, so I noticed: https://orgmode.org/manual/Math-formatting-in-HTML-export.html > (131) > > Please note that exported formulas are part of an HTML document, and > that signs such as ‘<’, ‘>’, or ‘&’ have special meanings. See MathJax > TeX and LaTeX support. The link is broken however. http://docs.mathjax.org/en/latest/input/tex/html.html#html-special-characters > Usually, it is sufficient simply to put spaces around these symbols to > cause the browser to avoid them, so > > ... when $x < y$ we have ... Though I am a bit surprised that Org did not replace characters to < and > during export. Perhaps, it is possible to define a filter.
next prev parent reply other threads:[~2021-10-03 12:21 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-03 11:04 Rudolf Adamkovič 2021-10-03 12:19 ` Max Nikulin [this message] 2021-10-03 13:12 ` Timothy 2021-10-05 7:55 ` Rudolf Adamkovič 2021-10-05 7:58 ` Timothy 2021-10-05 12:19 ` Eric S Fraga 2021-10-05 12:00 ` Max Nikulin 2021-10-05 12:50 ` Rudolf Adamkovič 2021-10-03 13:14 ` Rudolf Adamkovič 2021-10-12 1:11 ` Nick Dokos 2021-10-12 12:02 ` Max Nikulin 2021-10-03 16:17 ` [PATCH] org-manual.org: Update links to MathJax docs Max Nikulin 2021-10-06 7:39 ` Inequalities in math blocks Rudolf Adamkovič 2021-10-07 11:30 ` Greg Minshall 2021-10-07 11:33 ` Timothy 2021-10-07 12:13 ` Greg Minshall 2021-10-07 12:53 ` Rudolf Adamkovič 2021-10-07 13:05 ` Timothy 2021-10-07 15:05 ` Max Nikulin 2021-10-07 19:48 ` Rudolf Adamkovič 2021-10-07 19:25 ` Rudolf Adamkovič 2021-10-08 12:37 ` Greg Minshall
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://www.orgmode.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='sjc754$csp$1@ciao.gmane.io' \ --to=manikulin@gmail.com \ --cc=emacs-orgmode@gnu.org \ --subject='Re: Inequalities in math blocks' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).