From: Timothy <tecosaur@gmail.com> To: "Rudolf Adamkovič" <salutis@me.com> Cc: emacs-orgmode@gnu.org Subject: Re: Inequalities in math blocks Date: Tue, 05 Oct 2021 15:58:28 +0800 [thread overview] Message-ID: <87h7dvhpa5.fsf@gmail.com> (raw) In-Reply-To: <m2h7dvzz0o.fsf@me.com> [-- Attachment #1: Type: text/plain, Size: 1295 bytes --] Hi Rudolf, >> 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! 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? Just considering the general situation, $ is hard for Org because it needs to do “double duty” as both a currency symbol in text, and math delimiters. This means that it can’t be consistent with how LaTeX works. However, `\( ... \)' doesn’t and so Org can be much more consistent with LaTeX here. Besides which `$ ... $' is a TeX-ism and `\( ... \)' is the /proper/ way of doing inline maths in LaTeX, so really you should be reaching for those anyway. > I ask because if … breaks basic mathematics, I should either return > back to LaTeX for any serious notes or replace every … with … in all my > Org files to avoid accidental breakage of mathematics in the future. Thank you! I’d just use `\( ... \)' in future, and that way you’ll be fine in LaTeX and Org 🙂. You might be able to use `org-element-map' to robustly convert from $ … $= to `\( ... \)'. All the best, Timothy
next prev parent reply other threads:[~2021-10-05 8:19 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 2021-10-03 13:12 ` Timothy 2021-10-05 7:55 ` Rudolf Adamkovič 2021-10-05 7:58 ` Timothy [this message] 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=87h7dvhpa5.fsf@gmail.com \ --to=tecosaur@gmail.com \ --cc=emacs-orgmode@gnu.org \ --cc=salutis@me.com \ --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).