[pdftex] pgf and tikz

Jim Diamond Jim.Diamond at acadiau.ca
Sat Apr 8 23:01:28 CEST 2006

On Sat, Apr  8, 2006 at 17:45 (-0300), Jim Diamond wrote:

> Just another data point on the plain TeX and pgf issue: it doesn't
> seem to like miniltx very much.

> A file that starts with

> \input miniltx
> \input tikz.tex

> causes the following whinage:

> % pdftex _TZ_10520-jdiamond-nb-acadiau-ca.tex
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> (./_TZ_10520.tex
> (/usr/share/texmf/tex/plain/graphics/miniltx.tex)
> (/home/zsd/tex/pgf-1.01/plain/pgf/frontendlayer/tikz.tex
> (/usr/share/texmf/tex/generic/xkeyval/xkeyval.tex
> (/usr/share/texmf/tex/generic/xkeyval/keyval.tex)
> Runaway definition?
> #1->\expandafter 
> ! Forbidden control sequence found while scanning definition of \XKV at define@boo
> lkey.
> <inserted text> 
>                 }
> <to be read again> 
>                    \newif 
> l.340   \expandafter\newif
>                           \csname if\XKV at header#1\endcsname

> That is the following \def in xkeyval.tex:

> \def\XKV at define@boolkey#1{%
>   \expandafter\newif\csname if\XKV at header#1\endcsname       % <- line 340
>   \expandafter\edef\csname\XKV at header#1\endcsname##1%
>     {\noexpand\XKV at setbool{\XKV at header#1}{##1}}%
>   \@ifnextchar[{\XKV at d@fine at boolkey{#1}}{}%
> }

(Sorry about the lengthy quoting, but in case it is relevant to some
TeX wizard I'll leave it in.)

Inspired by a TeX message I saw earlier today to be like Hercule
Poirot, I discovered that if I comment out


in miniltx.tex, then everything seems to work fine.

I don't know the full ramifications of commenting this out, can anyone
give an informed opinion?



More information about the pdftex mailing list