[pstricks] auto-pst-pdf

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Aug 11 11:39:10 CEST 2009


Doris Wagner schrieb:

> when I compile this

at least, it is missing \usepackage{pstricks}

> 
>     %!TEX TS-program = pdflatexmk

Don't really know if it works with a mac. but you can try
pst2pdf, which needs perl

%!TEX TS-program = pst2pdf

    \documentclass{article}
    \usepackage{pstricks}
    \begin{document}

    test

    \begin{pspicture}(10,10)
    \psline[linewidth=2pt](0,0)(10,10)(0,10)(10,0)
      \end{pspicture}

    test

    \end{document}

Herbert


More information about the PSTricks mailing list