[pdftex] pgf and tikz
rhowlett at mail.usyd.edu.au
Sun Apr 9 02:53:52 CEST 2006
Geoff Russell wrote:
> Dear pdftexers,
> I just started reading the pgfmanual after seeing reference to it on
> this list.
> Unfortunately, the first example failed using pdftex (but works if I
> use LaTeX version and run pdflatex), so I'll keep reading:
> \input tikz.tex
> We are working on
> \draw (-1.5,0) -- (1.5,0);
> \draw (0,-1.5) -- (0,1.5);
> Output from TeXLive 2005 is:
> This is pdfeTeXk, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
> (format=pdftex 2006.3.17) 8 APR 2006 20:39
> entering extended mode
> %&-line parsing enabled.
> .... % similar stuff omitted.
> Runaway definition?
> ! Forbidden control sequence found while scanning definition of \pgfdeclarelayer.
> <inserted text>
> <to be read again>
> l.20 \expandafter\newbox
> \csname pgf at layerbox@#1\endcsname%
This was because \newbox is defined to be \outer in plain.
> Geoff Russell
> pdftex mailing list
> pdftex at tug.org
When I upgraded from the version of pgf that came with TeXLive2005
I was able to use pgf successfully with plain, and successfully
converted a few dozen diagrams from pstricks to tikz. The one problem
was that they haven't bothered to fix graphics inclusion for the
case that \pdfoutput=0 (so I could run pdftex OK, but tex followed
by dvips would not work on the same file).
I found it a bit more cumbersome than pstricks, in that each
diagram required more lines of code, but nevertheless it seemed
pretty good for my needs. One annoying feature is that it reads in
so many files that you get a screenful of messages that might
obscure important messages like overfull boxes.
More information about the pdftex