CINXE.COM

<h1>Using PSTricks on arXiv</h1> <hr noshade /> <p><span class="note">Update October 2002:</span> arXiv now uses the version of PSTricks which was current as of October 2002, namely <b>pstricks.tex 97 patch 14</b>, to process submissions and replacements received after the end of September 2002. This means that you can ignore the instructions below if you wrote your paper on a TeX installation that was reasonably up-to-date as of the fall of 2002. </p> <hr noshade /> <p> The PSTricks utilities can be used in submissions to arXiv. However, due to version compatibility problems, we advise authors to include their own PSTricks macro files and PostScript header files with their submissions. </p><p> You have to determine which macro and header files are necessary and copy them into the same working directory as your main latex file. You should then use <b>tar</b> or <b>zip</b> to pack it all into a single archive file for convenient submission. </p> <h2>Determining which Files Need to be Supplied</h2> <h3>PSTricks (La-)TeX macros (.tex, .sty, .con)</h3> <p> There are quite a few macro files in the PSTricks distribution: </p> <blockquote> <pre> dvipsone.con pst-char.sty pst-ghsb.tex pst-plot.sty pst-tree.tex multido.sty pst-char.tex pst-gr3d.sty pst-plot.tex pstricks.bug multido.tex pst-coil.sty pst-gr3d.tex pst-poly.sty pstricks.con palette.sty pst-coil.tex pst-grad.sty pst-poly.tex pstricks.sty pst-3d.sty pst-eps.sty pst-grad.tex pst-slpe.sty pstricks.tex pst-3d.tex pst-eps.tex pst-key.sty pst-slpe.tex textures.con pst-all.sty pst-fill.sty pst-key.tex pst-text.sty vtex.con pst-blur.sty pst-fill.tex pst-node.sty pst-text.tex pst-blur.tex pst-ghsb.sty pst-node.tex pst-tree.sty </pre> </blockquote> but usually only 2 or 3 of these are used in a given paper. You have to inspect the LaTeX diagnostics on screen or the LaTeX <code>.log</code> file to determine which of the above files are included. A typical LaTeX screen dialog should have a section that looks similar to this: <blockquote> <pre> ... (texmf/tex/generic/pstricks/pst-node.tex v97 patch 9, 1999/04/14 (texmf/tex/generic/pstricks/pstricks.tex `PSTricks' v97 patch 10 &lt;1999/03/24&gt; (tvz) (texmf/tex/generic/pstricks/pstricks.con))) ... </pre> </blockquote> <p> There are two pieces of information in this output: (i) it contains a list of the included PSTricks macro files, and (ii) it specifies their location. Simply copy the required files into your working directory. </p> <h3>PSTricks PostScript header (.pro) files</h3> <p> Since PSTricks uses advanced PostScript specials for it to work properly, you need the accompanying PostScript header files. From all the special PSTricks header files that come with the package: </p> <blockquote> <pre> pst-blur.pro pst-dots.pro pst-grad.pro pst-slpe.pro pstricks.pro pst-coil.pro pst-ghsb.pro pst-node.pro pst-text.pro </pre> </blockquote> you should only include those which are actually required to process your paper. To determine these, you have to read the diagnostic output from dvips. The first few lines should look similar to: <blockquote> <pre> % dvips test.dvi This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com) ' TeX output 2002.02.08:1404' -&gt; test.ps &lt;texc.pro&gt;&lt;pstricks.pro&gt;&lt;pst-dots.pro&gt;&lt;pst-node.pro&gt; &lt;8r.enc&gt;&lt;texps.pro&gt;&lt;special.pro&gt;..... </pre> </blockquote> <p> From the above dvips message it is fairly obvious which PSTricks PostScript header files are required for this paper, namely: </p> <ul> <li>pstricks.pro</li> <li>pst-dots.pro</li> <li>pst-node.pro</li> </ul> You have to locate these files on your computer and copy them into the same directory as your latex file. For a typical TeX installation a generic location would be the directory: <blockquote> <pre> /usr/local/teTeX/texmf/dvips/pstricks/ </pre> </blockquote> <p> but this is dependent on your particular installation. </p> <h2>Don't Forget to Check the PostScript!</h2> <p> As always, carefully check the diagnostic messages sent to you upon submission and <span class="note">verify the PostScript generated here before the paper is announced</span>. Use the paper-id sent to you immediately after a successful submission to access the abstract and PostScript or PDF for a preview. </p>