[pstricks] Using pstricks with Lua - is it possible? -- XeLaTeX failing

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Mar 25 21:30:14 CEST 2012


Am 25.03.2012 21:01, schrieb Hensh, Richard:

> Here's the output from listfiles.
>
>   *File List*

[...]

> pstricks-add.tex    2011/12/11 v3.55 `PSTricks-add' (hv)
> pstricks-add.cfg    2005/01/10 v0.1 addtional user stuff (hv)
>   ***********
>   )

pstricks-add.tex 2011/12/20 v3.57 `PSTricks-add' (hv)
pstricks-add.pro 2009/12/17 v. 0.23, PostScript prologue file (hv)

can you please update these two files from
http://texnik.dante.de/tex/generic/pstricks-add/
http://texnik.dante.de/dvips/pstricks-add/

and try again. I have no problem with current TeXLive and
xelatex. However, you can use the star version pf pspicture
to get rid of the \psclip function:

\documentclass[10pt]{article}
\usepackage{pstricks-add}
\begin{document}
\def\xmin{-3}\def\xmax{6}
\def\ymin{-1}\def\ymax{10}
\begin{pspicture*}(\xmin,\ymin)(\xmax,\ymax)
    \psaxes{<->}(0,0)(\xmin,\ymin)(\xmax,\ymax)
    \psplot{\xmin}{\xmax}{x dup mul}
    \psdots(2,4)
    \SpecialCoor
    \uput{6pt}[0](2,4){{\Large $y = x^2$}}
    \NormalCoor
\end{pspicture*}
$$f(x) = \sin x$$
\end{document}

Herbert


More information about the PSTricks mailing list