[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Bug: Another possible error for in-line math parsing
From: |
Jeff Horn |
Subject: |
[Orgmode] Bug: Another possible error for in-line math parsing |
Date: |
Wed, 20 Oct 2010 01:29:37 -0400 |
Carsten et al,
Possible error when escaping dollar sign in inline-math. When using
the following org source:
------------------------------------------------------------------------------
Supposing $C_H=\$10$ and $C_L=\$20$.
...
$.30(\$50)+.70(\$20)=\$29$
------------------------------------------------------------------------------
The following LaTeX is produced upon publication:
------------------------------------------------------------------------------
Supposing \$C$_H$=\$10\$ and \$C$_L$=\$20\$
...
\$.30(\$50)+.70(\$20)=\$29$
------------------------------------------------------------------------------
Whereas the following LaTeX is expected:
------------------------------------------------------------------------------
Supposing $C_H=\$10$ and $C_L=\$20\$
...
$.30(\$50)+.70(\$20)=\$29$
------------------------------------------------------------------------------
Comparing the two different lines of source, I note that in the first
case the four inline math dollars are escaped when they should not be,
and two extra inline math dollars are inserted. In the second case,
all dollars are escaped correctly excepting the first inline math
dollar.
I'm obviously trying to use dollars as units in my math calculations.
Thanks for any help,
Jeff
--
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University
(704) 271-4797
address@hidden
address@hidden
http://www.failuretorefrain.com/jeff/
- [Orgmode] Bug: Another possible error for in-line math parsing,
Jeff Horn <=