Services & ResourcesWolfram ForumsMathGroup Archive

Re: LaTex to Mathematica

• To: mathgroup at smc.vnet.net
• Subject: [mg91468] Re: LaTex to Mathematica
• From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
• Date: Fri, 22 Aug 2008 03:15:37 -0400 (EDT)
• Organization: The Open University, Milton Keynes, UK
• References: <g8j854$70u$1@smc.vnet.net>

snowrain wrote:

> I tried "Import" to import the Latex file but it shows error info as below:
> Import::texerr: Error: Math character '\alpha ' in non-math mode.
>
> Can you please let me know what is the problem?
> thanks a lot !

The following message strongly suggests that your input file is not
correctly written in LaTeX. Apparently you have some regular (plain)
text that contains special math character without being enclosed within
dollar sign "$". For instance, . "The parameter \alpha is of crucial importance." will generate an error, while . "The parameter$\alpha\$ is of crucial importance."

will be parse correctly.

Having said that, I would strongly suggest that you latexify (i.e.
compile with whatever installation of LaTeX you have) your source file
to be sure to check and correct any error and also warning messages.

Note that it is very likely that LaTeX, when processing the first
sentence will generate a warning about math mode missing, yet add the
missing math mode characters in the intermediate file that is producing,
leaving the original source file untouched.

Therefore, you must fix these warnings/errors by yourself within the
source file you are going to give to Mathematica.

Regards,
-- Jean-Marc



• Prev by Date: Re: mixed partial derivatives
• Next by Date: Re: Multifile search
• Previous by thread: Re: LaTex to Mathematica
• Next by thread: NURBS Package Available