Re: ToExpression[..,TexForm] does not seem to work on some Latex commands?
- To: mathgroup at smc.vnet.net
- Subject: [mg104393] Re: [mg104351] ToExpression[..,TexForm] does not seem to work on some Latex commands?
- From: "Nasser M. Abbasi" <nma at 12000.org>
- Date: Fri, 30 Oct 2009 02:18:26 -0500 (EST)
- References: <20091029203333.GXZEU.768226.imail@eastrmwml38>
- Reply-to: "Nasser M. Abbasi" <nma at 12000.org>
Thanks, I can then only assume that this was a bug in version 7.0.0 and it was fixed in 7.0.1 my system says: "7.0 for Microsoft Windows (32-bit) (November 10, 2008)" rant about version numbers follows: Interesting that $Version prints 7.0 on my system like it does on yours below, but the date is different, mine says nov 10 2008 and yours says "February 19, 2009". I assume then you knew, somehow, from the date shown on your end that this is 7.0.1? It would have been nice if the version number would also have changed/updated to reflect this and not just the date! I noticed for sometime that WRI have something about showing version numbers, it is almost impossible to find what version numbers some of their products are at for some reason. For example, I spent sometime the other day trying to find exactly what version number is the current Mathematica at, and I could not. I think it is 7.0.2, or 7.2.0, but I am guessing as there is no place on WRI web site which says anything about this. If any one knows where to find this info, please let me know, as I'd like to keep my Mathematica version number page correct here http://12000.org/my_notes/compare_mathematica/index.htm --Nasser ----- Original Message ----- From: "Bob Hanlon" <hanlonr at cox.net> To: "Nasser M. Abbasi" <nma at 12000.org>; <mathgroup at smc.vnet.net> Sent: Thursday, October 29, 2009 7:33 PM Subject: [mg104393] Re: [mg104351] ToExpression[..,TexForm] does not seem to work on some Latex commands? > > I have version 7.0.1 > > $Version > > 7.0 for Mac OS X x86 (64-bit) (February 19, 2009) > > s = TeXForm[Sum[f[n], {n, 1, m}]] > > \sum _{n=1}^m f(n) > > ToExpression["\\sum _{n=1}^m f(n)", TeXForm] > > Sum[f[n], {n, 1, m}] > > > Bob Hanlon > > ---- "Nasser M. Abbasi" <nma at 12000.org> wrote: > > ============= > > From: "Bob Hanlon" > >> Put a space after sum in the TeX >> >> s = TeXForm[Sum[f[n], {n, 1, m}]] >> >> \sum _{n=1}^m f(n) >> >> Note the space after sum in the above output >> >> ToExpression["\\sum _{n=1}^m f(n)", TeXForm] >> >> Sum[f[n], {n, 1, m}] >> >> ToExpression["\\sum _ {n=1}^m f(n)", TeXForm] >> >> Sum[f[n], {n, 1, m}] >> >> >> Bob Hanlon >> > > > hello; > > I did. > > With or without space, I get the same error. Which version you used? I am > using version 7 > > In[1]:= ToExpression["\\sum _{n=1}^m f(n)", TeXForm] > During evaluation of In[1]:= ToExpression::esntx:Could not parse \sum > _{n=1}^m f(n) as Mathematica input. > Out[1]= $Failed > > Thanks > --Nasser > >
- Follow-Ups:
- Re: Re: ToExpression[.., TexForm] does not
- From: Daniel Lichtblau <danl@wolfram.com>
- Re: Re: ToExpression[.., TexForm] does not