From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: Another possible error for in-line math parsing Date: Thu, 21 Oct 2010 22:25:14 +0200 Message-ID: <6F9812DB-4EA6-4AD5-ACF0-1530DAAF62FD@gmail.com> References: <1D611009-5C99-45EB-952D-E171F85FE06F@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=34228 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P91ic-0001Ul-Bq for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 16:26:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P91ia-0003wg-5F for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 16:26:34 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:39180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P91iZ-0003wW-VQ for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 16:26:32 -0400 Received: by ewy25 with SMTP id 25so80282ewy.0 for ; Thu, 21 Oct 2010 13:26:31 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jeff Horn Cc: Org-mode ml 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/