[pdftex] pgf and tikz

Geoff Russell geoff at austrics.com.au
Sat Apr 8 13:18:24 CEST 2006


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
\baselineskip=12pt
\hsize=6.3truein
\vsize=8.7truein
We are working on
\tikzpicture
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\endtikzpicture.
\bye

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.
**ttikz
(./ttikz.tex
(/home/TeXLive2005/texmf-dist/tex/plain/pgf/frontendlayer/tikz.tex

.... % similar stuff omitted.

(/home/TeXLive2005/texmf-dist/tex/plain/pgf/basiclayer/pgfcore.tex)
(/home/TeXLive2005/texmf-dist/tex/generic/pgf/basiclayer/pgfbaselayers.code.tex
Runaway definition?
#1->\expandafter
! Forbidden control sequence found while scanning definition of \pgfdeclarelayer.
<inserted text>
        }
        <to be read again>
                          \newbox
l.20   \expandafter\newbox
                          \csname pgf at layerbox@#1\endcsname%


Cheers,
Geoff Russell




More information about the pdftex mailing list