[OS X TeX] TeX & Mathematica 5.2

Themis Matsoukas matsoukas at psu.edu
Tue Nov 29 08:20:26 CET 2005


On Nov 28, 2005, at 6:54 PM, Ross Moore wrote:

> Export["file.ext", expr] exports data to a file, converting it to a  
> format
>    corresponding to the file extension ext.
> Export["file", expr, "format"]
>    exports data to a file, converting it to the specified format.

...and if you want "file" to be stored in the same directory as the  
notebook (and not in the root directory where Mathematica sends it by  
default!!!), use

SetDirectory[ToFileName[
   Extract["FileName" /. NotebookInformation[EvaluationNotebook[]], {1},
     FrontEnd`FileName]]];

Themis

PS: I apologize for the OT turn of the thread but this obscure  
command has saved me from extreme frustration that I thought it's  
worth sharing.

------------------------- 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 mailing list