[Problem] The \psspan macro doesn't work in "psmatrix" environments

Denis Girou Denis.Girou at idris.fr
Fri Dec 11 23:18:32 CET 1998


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

    D.G.>   Date: Fri, 27 Nov 1998 22:41:17 +0100 (MET)

    D.G.>   Stanislav Brabec <utx at k332.feld.cvut.cz> report recently that the \multispan
    D.G.> "plain" macro is broken by a change made in PSTricks 97 for LaTeX 2e
    D.G.> compatibility.

    D.G.>   And in any case looking at this problem, I see that the \psspan macro of the
    D.G.> "psmatrix" environment doesn't work because an undefined \iterate macro is
    D.G.> required.

    D.G.>   Stanislav Brabec sent a correction for the first problem, but this did not
    D.G.> solve the one with \psspan. Here is the patch for pst-node.tex that I finish to
    D.G.> found, but this was not obvious at all. And I'm not completely sure that it has
    D.G.> not some side effects.

    D.G.> % DG/SR modification begin - Nov. 27, 1998 - Patch 8
    D.G.> % Workaround for problem with \psspan in LaTeX 2e
    D.G.> %\let\mscount\@multicnt
    D.G.> \newcount\mscount % Only defined in 209 compatiblity mode in LaTeX 2e
    D.G.> \def\psspan#1{\global\mscount#1\loop\ifnum\mscount>\@ne\sp at n\repeat}
    D.G.> \def\sp at n{\span\omit\global\advance\mscount\m at ne}
    D.G.> \def\loop#1\repeat{\gdef\iterate{#1\relax\expandafter\iterate\fi}%
    D.G.> \iterate\let\iterate\relax}
    D.G.> % DG/SR modification end

  My guess was good: since this time, I found that this patch has major
pitfalls and break some usual LaTeX environments.

  So, remove it from your pst-node.tex file if ever you integrated it and
never use this wrong correction. You must wait that I -or somebody else-
found a better solution to the \psspan problem.

  Sorry for inconvenience, if ever. But in any case this patch was not sent
outside the list and not integrated in CTAN distribution, as I always prefer
to test changes in real situation for a certain time before to officially
release them...

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