[OS X TeX] I do like ps4pdf
Michael Hoppe
mh at michael-hoppe.de
Mon Feb 7 08:39:14 EST 2005
> I can use Herb's engine-file for some pstricks-pictures, for
> others not. I get in the console:
>
> ! Undefined control sequence.
> \XC@@usecolor ...expandafter \c at lor@to at ps #1#2\@@
> \else
> \expandafter \expand...
> l.14 of the \TeX{} Users Group}
>
>
> where \c at lor@to at ps seems to be the problem as I get it with other
> examples as well.
>
> This what I try to typeset with Herb's engine (example from the
> documentation)
>
> \documentclass{article}
> \usepackage{pst-plot}
> \usepackage{pst-text}
> \begin{document}
> \psset{unit=1cm}
> \begin{pspicture}(-0.25,-2.25)(6.25,2.25)
> \pstextpath[linestyle=none]%
> {\psplot[linewidth=1pt,%
> linestyle=dotted,%
> plotpoints=300,%
> xunit=0.015,%
> yunit=2]{0}{400}{x sin}}
> {\LARGE TUGboat, the journal
> of the \TeX{} Users Group}
> \end{pspicture}%
> \end{document}
This can't work. Try to RTFM, understand why and use:
%----------------------------------------------
\documentclass{article}
\usepackage{ps4pdf}
\PSforPDF{%
\usepackage{pst-plot}
\usepackage{pst-text}}
\begin{document}
\PSforPDF{%
\psset{unit=1cm}
\begin{pspicture}(-0.25,-2.25)(6.25,2.25)
\pstextpath[linestyle=none]%
{\psplot[linewidth=1pt,%
linestyle=dotted,%
plotpoints=300,%
xunit=0.015,%
yunit=2]{0}{400}{x sin}}
{\LARGE TUGboat, the journal
of the \TeX{} Users Group}
\end{pspicture}}%
\end{document}
%------------------------------------------------
instead.
Michael
--
-= Michael Hoppe <www.michael-hoppe.de>, <mh at michael-hoppe.de> =-----
-= Key fingerprint = 74 FD 0A E3 8B 2A 79 82 25 D0 AD 2B 75 6A AE 63
-= PGP public key ID 0xE0A5731D =-----------------------------------
--------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list