[OS X TeX] typeset TeX from Mathematica
gorni at dimi.uniud.it
Wed Feb 8 11:37:59 CET 2006
I would like to share a way I have found to have TeXShop
typeset and display automatically a TeX file produced
by Mathematica. I have been using it to generate statistical
I think it only works in Tiger.
Here it is:
First place the following AppleScript with name TeXShopTypeset.scpt
into ~/Library/Mathematica/Applications :
on run argomento
tell application "Finder"
set myFile to (get POSIX file (item 1 of argomento) as alias) as
tell application "TeXShop"
typeset document (name of myFile)
Then define the following function in Mathematica:
~/Library/Mathematica/Applications/TeXShopTypeset.scpt " <>
Suppose now that you have generated a TeX file in Mathematica,
myFile = "~/Desktop/myTeXfile.tex"
To have it automatically typeset from within Mathematica simply call
I wonder if there is a way to do the same that does not need
------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives