[Problem] level=*dim parameter for trees in plain TeX

Denis Girou Denis.Girou at idris.fr
Wed Apr 26 20:27:25 CEST 2000


-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

  Michael Daniels <daniels at ling.ohio-state.edu> report to me some weeks ago
that a correction I had proposed last autumn for a problem he submitted at
this time was inefficient. This problem concern only TeX users, not LaTeX
ones (as in this case the management of the auxiliary file is different).

  * 99/10/28 pst-tree.tex (97 patch 5): A *value for the levelsep parameter
doesn't work in plain TeX, as the auxiliary unit file used to write temporary
informations is not defined.
(reported by Michael W. Daniels <daniels at ling.ohio-state.edu>)

  Unfortunately, this is true and was due to my bad testing of the correction
(in fact, my test case was not adequate, so I did not saw that the problem was
still alive...).

  I hope that this one will be better...:

  * 00/04/26 pst-tree.tex (97 patch 6): A *value for the levelsep parameter
doesn't work in plain TeX, as the auxiliary unit file used to write temporary
informations is not defined (replace the inefficient patch 5 for the same
problem).
(reported by Michael W. Daniels <daniels at ling.ohio-state.edu>)


  Remove the patch 5:

% DG/SR modification begin - October 28, 1999 - Patch 5 - For plain TeX
\ifx\@undefined\@auxout\newwrite\@auxout\fi
% DG/SR modification end

then add:

% DG/SR modification begin - Apr. 26, 2000 - Patch 6 - For plain TeX
%\input \jobname.pst
\catcode`\@=11
\input \jobname.pst
\catcode`\@=\TheAtCode
% DG/SR modification end

...

% DG/SR modification begin - Apr. 26, 2000 - Patch 6 - For plain TeX
%\immediate\write\@auxout{%
\immediate\write\pstree at auxout{%
% DG/SR modification end

...

% DG/SR modification begin - Apr. 26, 2000 - Patch 6 - For plain TeX
%\immediate\write\@auxout{%
\immediate\write\pstree at auxout{%
% DG/SR modification end


  My test case is:

\input pst-tree

\psset{levelsep=*2}

\pstree{\Tc{3pt}}
       {\pstree{\Tc{30pt}}
               {\Tc{30pt}}
        \pstree{\Tc{3pt}}
               {\Tc{3pt}}}

\bye

D.G.

-----------------------------------------------------------------------------
The list interface (subscription, information, access to the archives) is on:
http://www.tug.org/cgi-bin/lwgate/pstricks
Otherway to unsubscribe, send mail to pstricks-request at mail.tug.org
with a blank subject and in body the line unsubscribe <email-address>
-----------------------------------------------------------------------------



More information about the PSTricks mailing list