Conversion ToolsImport of LaTeX Files into Mathematica

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
Post Reply
TehHO
Posts: 3
Joined: Sun Sep 23, 2012 7:52 pm

Import of LaTeX Files into Mathematica

Post by TehHO »

So Mathematica should support importing of TeX files and then return a notebook version of the TeX file.

Code: Select all

Import["file"]
imports a LaTeX document and returns a notebook version of it.


http://reference.wolfram.com/mathematic ... LaTeX.html
Does anybody have any experience with this task at all? I'm really curious. But I'm getting weird kind of errors like this:

Code: Select all

During evaluation of In[12]:= Syntax::stresc: Unknown string escape \U.
During evaluation of In[12]:= Syntax::stresc: Unknown string escape \H.
During evaluation of In[12]:= Syntax::stresc: Unknown string escape \G.
During evaluation of In[12]:= Syntax::stresc: Unknown string escape \S.
During evaluation of In[12]:= Syntax::stresc: Unknown string escape \D.
During evaluation of In[12]:= Syntax::stresc: Unknown string escape \F.
During evaluation of In[12]:= Syntax::sntufn: Unknown unicode longname 01005.
During evaluation of In[12]:= Syntax::stresc: Unknown string escape \H.
During evaluation of In[12]:= Syntax::stresc: Unknown string escape \H.
During evaluation of In[12]:= Import::nffil: File not found during Import. >>
Out[12]= $Failed 
Cheers! :)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

zeb
Posts: 2
Joined: Wed Jan 30, 2013 11:08 pm

Re: Import of LaTeX Files into Mathematica

Post by zeb »

As I understand it, all Mathematica is supposed to do is to import the TEX file as a text file. If you're having trouble doing it the normal way, could you just paste the text of your TEX file into a .txt file and import that into Mathematica?
Post Reply