[Problem] \translate

Denis Girou Denis.Girou at idris.fr
Mon May 12 20:04:27 CEST 1997


-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------

  Hilmar Schlegel <100.143869 at germany.net> recently transmit a problem
concerning the \translate macro which doesn't work correctly.

  A test case is:

\documentclass{article}

\usepackage{pstricks}

\begin{document}

\multirput(1,0){13}{\psline{|-|}(1,0)}

\vspace{1cm}
\pscustom[arrows=|-|]{\psline(2,0)\moveto(5,0)\psline(8,0)}

\vspace{1cm}
\pscustom[arrows=|-|]{\psline(2,0)\translate(5,0)\psline(8,0)}

\end{document}

  Correction in generic/pstricks.tex is:

\def\fileversion{93a/b-97 patch 2}
\def\filedate{1997/05/12}

......................................................................

% DG/SR modification begin - May 12, 1997
%\def\translate(#1){\pst@@getcoor{#1}\addto at pscode{\pst at coor moveto}}%
\def\translate(#1){\pst@@getcoor{#1}\addto at pscode{\pst at coor translate}}%
% DG/SR modification end


  This will be propagated next week on CTAN by Sebastian.

D.G.

-----------------------------------------------------------------------------
To [un]subscribe to this list, send mail to pstricks-request at mail.tug.org
Leave the subject line blank and in the body put the line
[un]subscribe <email-address>
For help, put the word "help" in the message body.
To obtain current archive, put the words "get current" in the message body.
-----------------------------------------------------------------------------



More information about the PSTricks mailing list