emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] manual should explain how to insert literal dollar sign


From: Ihor Radchenko
Subject: Re: [BUG] manual should explain how to insert literal dollar sign
Date: Sat, 01 Jul 2023 10:04:03 +0000

Paul Rubin <paulr@hackyon.net> writes:

> Context: I wanted to mention in a document that a certain item cost 
> "$12.98+$.77 s/h".  Since the period after the second $ is punctuation, 
> the parsing heuristic interpreted that as LaTeX, giving math output in 
> the html export.  So I spent a while muddling around trying to figure 
> out how to escape the dollar sign, then sought help on IRC, where I got 
> the answer: write \dollar and the Org entity parser will turn it into a 
> literal dollar sign.  I would not have figured this out myself.
>
> Requested fix: explain the \dollar escape in the Org manual section 
> "LaTeX fragments".

Thanks for reporting!
Fixed, on main.
I also added a linter, so that M-x org-lint will report such cases.

https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=cf2349d14
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=dc70878fc

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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