[pstricks] pstricks.doc
Denis Girou
Denis.Girou at idris.fr
Wed Apr 30 21:51:36 CEST 2003
>>>>> "Alan.Ristow" == Alan Ristow <Alan.Ristow at ece.gatech.edu> writes:
Alan.Ristow> pstricks.doc has been a very useful document to me as I try to learn some
Alan.Ristow> of the finer points of pstricks. It would be so nice to have a typeset
Alan.Ristow> version; unfortunately, the document, as distributed, does not seem to run
Alan.Ristow> well. I was almost able to make it work like this:
Alan.Ristow> \documentclass{article}
Alan.Ristow> \usepackage{tvz-code}
Alan.Ristow> \begin{document}
Alan.Ristow> \input{pstricks.doc}
Alan.Ristow> \end{document}
Alan.Ristow> However, I first had to comment \input art11.sty out of tvz-code.sty and
Alan.Ristow> tvz-hax.sty, and replace instances of "\command" (where command = any
Alan.Ristow> command name) with \verb|\command|. At this point, it ran smoothly until
Alan.Ristow> it reached the first use of the macro environment (\begin{macro}) and I
Alan.Ristow> decided it would be wise to ask for advice.
Alan.Ristow> Is there a simple, reliable way to process pstricks.doc into a typeset dvi?
I take an eye tonight. In the obsolete/src subdirectory, you have to:
1/ install art11.sty from
CTAN:obsolete/macros/latex209/distribs/latex209.tar.gz
or create an empty file art11.sty in this subdirectory (this will have only
an effect on the formatting.)
2/ add the following lines in tvz-code.sty:
...
\newif\ifnestedmacro
% D.G. modification begin - Apr. 30, 2003
\newcount\macro at level
\macro at level=\z@
% D.G. modification end
\def\macro{%
...
3/ compile the file pst-code.tex
Of course, with strongly keeping in mind that this source code is from the
version 0.93a and out of date...
D.G.
More information about the PSTricks
mailing list