[pstricks] Headerfile for files generated with \PSTtoEPS
Herbert Voss
Herbert.Voss at alumni.TU-Berlin.DE
Mon May 12 21:14:28 CEST 2003
Herbert Voss schrieb:
>> \documentclass{article}
>> \usepackage{pst-eps,graphicx}
>> \newcommand{\pssave}[2]{%
>
>
> \psset{headerfile=pstricks.pro}
sorry, this is only possible with my own pst-eps file. Take this
\documentclass{article}
\usepackage{pst-eps,graphicx,epstopdf}
%%%%%%% epstopdf is needed for eps->pdf %%%%%%%
\makeatletter
\newcommand{\pssave}[2]{%
\psset at headerfile{pstricks.pro}
\def\psk at headers{1}
\PSTtoEPS[bbllx=-2,bblly=-2,bburx=2,bbury=2]
{#1.eps}{#2}%
}
\makeatother
\parindent=0pt
\begin{document}
[...]
Herbert
More information about the PSTricks
mailing list