[tex-live] error in supp-pdf.mkii again?

Taco Hoekwater taco at elvenkind.com
Thu Mar 11 09:13:46 CET 2010


Norbert Preining wrote:
> Hi all,
> 
> there is again something fishy going on with supp-pdf.mkii: The following
> simple test document fails:
> 
> \documentclass{article}
> \usepackage{graphicx}
> \newcommand{\undefined}{\textbf{undefined}}
> \begin{document}
> This is an \undefined\ command.
> \end{document}
> 
> with
> (/usr/share/texmf/tex/context/base/supp-pdf.mkii
> ! Undefined control sequence.
> l.17   \writestatus
>                    {loading}{ConTeXt Support Macros / PDF}
> 
> 
> I assume it comes from supp-pdf.mkii testing
> 	\ifx\writestatus\undefined
> 
> But \undefined is a completely valid TeX command. Mind that I am
> even using \newcommand here. 


Well, let's say it is a perfectly valid command that you shouldn't
be defining. In non-etex mode, the only way to test for the existence
of a control sequence is by comparing it to an undefined one, and
Hans chose \undefined, and I don't think using a more bizarre one will
actually solve anything.

Best wishes,
Taco


More information about the tex-live mailing list