[pstricks] Syntax *0 not working

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Jul 27 18:01:17 CEST 2010


Am 27.07.2010 17:23, schrieb Uwe Siart:
> The syntax *0 has stopped working for \rput. The equivalent N still
> works as expected. Is this change intended?

Uwe,
thanks for the report. It is an introduced bug with the
ltest changes in th pstricks.tex

Michael:
here is the problematic part. There must be something wrong
with the value of ps at rot. With a preceding star at *0 the
rotation should be ignored.


\def\rput at v#1{%
  \begingroup%
    \use at par%
    \if at star\pst at starbox\fi%
    \pst at makesmall\pst at hbox%
    \ifx\psk at rot\@empty\else\pst at rotate{ps at rot }\pst at hbox\fi% (MJS)
%    \pst at rotate\psk at rot\pst at hbox%
    \psput@{#1}\pst at hbox%
  \endgroup%
  \ignorespaces}


Herbert

> 
> In this ME only the second R is upright:
> 
> % ---------------------
> \documentclass{article}
> \usepackage{pstricks}
> \begin{document}
> \begin{pspicture}(1,1)
>   \rput{45}(0,0){
>     \rput{*0}(0,0){R}
>   }
>   \rput{45}(1,1){
>     \rput{N}(0,0){R}
>   }
> \end{pspicture}
> \end{document}



More information about the PSTricks mailing list