emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Bug: Another possible error for in-line math parsing
Date: Thu, 21 Oct 2010 22:25:14 +0200	[thread overview]
Message-ID: <6F9812DB-4EA6-4AD5-ACF0-1530DAAF62FD@gmail.com> (raw)
In-Reply-To: <AANLkTikOAwX6iReEJ4QD13Eww6=QOAmC+uVU6F9oDhcK@mail.gmail.com>


On Oct 21, 2010, at 7:52 PM, Jeff Horn wrote:

>> Org-mode will never be a perfect TeX scanner, and this is really  
>> hard.
>> Help yourself and Org by using \( and \) as math delimiters when  
>> you wish to
>> include dollar characters inside....
>
> Ten-four.

What does that mean?

> I'll try it when I get some time to go back and edit my
> source files. Wonky use of dollar signs in math doesn't explain why
> the following source doesn't work, though:
>
>> Additionally, the following source from org-mode:
>>
>> `$.30(50)+.70(20)=29$`

The reason here is that $.30 looks too much like currency, and
Org tries hard to detect cases where is dollar in text is meant to
be currency and not math.  Here it fails, and also here you can use
\(...\).  In fact, using dollar makes parsing TeX *a lot* harder
in general.

HTH

- Carsten

>>
>> Is not converted at all by MathJax.
>>
>> Org-mode version 7.01trans, recent git pull from earlier this week.
>> Aquamacs on Snow Leopard.
>
> Thanks for the tip, though!
>
> -- 
> 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/

  reply	other threads:[~2010-10-21 20:26 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
2010-10-21 11:25 ` Carsten Dominik
2010-10-21 17:52   ` Jeff Horn
2010-10-21 20:25     ` Carsten Dominik [this message]
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=6F9812DB-4EA6-4AD5-ACF0-1530DAAF62FD@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrhorn424@gmail.com \
    /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).