[OS X TeX] Export Mathematica Code to TeXShop ?
Joseph C. Slater
joseph.slater at wright.edu
Mon Jul 19 15:59:35 EDT 2004
On Jul 19, 2004, at 3:25 PM, Jack Kuipers wrote:
> Thank You for your response.
>
> No, I refer to the 'code' (perhaps, not the proper term) one must
> write in order to print matrices, vectors, and properly typeset
> mathematical expressions in TeX or LaTeX. The Mathematica Output for
> Sine and Cosine expressions (functions) begin with Caps which M...
> doesn't like. Also, there seem to be a preponderance of parentheses in
> M... which must be removed, I'm using TeXShop 1.34 and Mathematica 5.0
> on Mac OSX G4 under Panther 10.3.4 JBK
> On 19 Jul, 2004, at 2:59 PM, Jérôme Laurens wrote:
>>
I've tried to cope with this in the past by defining commands which
account for this, but on a case by-case basis. I don't know why
Mathematica is like this, but it is. It seems a shell script to make
these changes using tr would be useful. For example, hear's a simple
dostounix EOL charcter shell script:
#!/bin/tcsh
tr '\r\n' '\n'<$1 >$1.unix
One could try to use this (or something like my perl scripts nnfc) to
piece together a 'cleaner code'.
Joe
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
(+1) 937-775-5085
http://www.cs.wright.edu/~jslater
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list