From: Jeff Horn <jrhorn424@gmail.com>
To: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Bug: Another possible error for in-line math parsing
Date: Wed, 20 Oct 2010 16:05:24 -0400 [thread overview]
Message-ID: <AANLkTi=cvNU23dBFqiKCM+Vshs9eRKw=BsZmY4YydJ6T@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=QjZSSHu9MmB=D04ySEQwHzH3E_GaK_+G-Y8Fo@mail.gmail.com>
Additionally, the following source from org-mode:
`$.30(50)+.70(20)=29$`
Is not converted at all by MathJax.
Org-mode version 7.01trans, recent git pull from earlier this week.
Aquamacs on Snow Leopard.
On Wed, Oct 20, 2010 at 12:25 PM, Jeff Horn <jrhorn424@gmail.com> wrote:
> BTW, I can confirm that this error does not occur in the block math
> environment (wrapping the equations in escaped square brackets).
>
> On Wed, Oct 20, 2010 at 1:29 AM, Jeff Horn <jrhorn424@gmail.com> wrote:
>> 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
>> jhorn@gmu.edu
>> jrhorn424@gmail.com
>>
>> http://www.failuretorefrain.com/jeff/
>>
>
>
>
> --
> Jeffrey Horn
> Graduate Lecturer and PhD Student in Economics
> George Mason University
>
> (704) 271-4797
> jhorn@gmu.edu
> jrhorn424@gmail.com
>
> http://www.failuretorefrain.com/jeff/
>
--
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University
(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com
http://www.failuretorefrain.com/jeff/
next prev parent reply other threads:[~2010-10-20 20:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 5:29 Bug: Another possible error for in-line math parsing Jeff Horn
2010-10-20 16:25 ` Jeff Horn
2010-10-20 20:05 ` Jeff Horn [this message]
2010-10-21 11:25 ` Carsten Dominik
2010-10-21 17:52 ` Jeff Horn
2010-10-21 20:25 ` Carsten Dominik
2010-10-22 10:09 ` Eric S Fraga
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='AANLkTi=cvNU23dBFqiKCM+Vshs9eRKw=BsZmY4YydJ6T@mail.gmail.com' \
--to=jrhorn424@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public 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).