Xref: utzoo comp.text.tex:3325 sci.math.symbolic:1778 Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!astemgw!icspub!creamy!iegva1!mew_hp!saturn!srl!tom From: tom@srl.mew.mei.co.jp (Tom Borgstrom) Newsgroups: comp.text.tex,sci.math.symbolic Subject: Re: Mathematica PostScript and LaTex Message-ID: Date: 11 Oct 90 00:34:18 GMT References: <8943@jarthur.Claremont.EDU> Sender: news@saturn.srl.mew.mei.co.jp Followup-To: comp.text.tex Organization: Semiconductor Research Lab, Matsushita Electric Works Lines: 41 In-reply-to: lwright@jarthur.Claremont.EDU's message of 8 Oct 90 22:22:18 GMT The \special command is really a dvi-to-postscript filter (e.g. dvi2ps, dvips) feature. I use dvips and include the epsf.tex file. This will read in the bounding box info to generate enough space for the image. The following latex file worked for me (TeX C Version 2.95, LaTeX Version 2.09, dvips version 4.2, Mathematica 1.2 all running on a Sun 4 workstation running under SunOS 4.0.3. Printer is a Sun LaserWriter): \documentstyle{article} \begin{document} This figure was generated by Mathematica: \input epsf %% the following two commands scale the image down to 3in by 3in \epsfxsize 3in \epsfysize 3in \epsffile{junk.ps} That's all! \end{document} I used the Mathematica command: In[4]:= Display["!psfix >> junk.ps",%2] to generate the postscript file. %2 referenced the line: Out[2]= -Graphics- Hope it helps! == Thomas H. Borgstrom tom@mew.mei.co.jp Semiconductor Research Lab telephone: +81 6-908-1431 Matsushita Electric Works facsimile: +81 6-906-7251 1048 Kadoma, Osaka 571 Japan -- Thomas H. Borgstrom tom@mew.mei.co.jp Semiconductor Research Lab telephone: +81 6-908-1431 Matsushita Electric Works facsimile: +81 6-906-7251 1048 Kadoma, Osaka 571 Japan