[pdftex] Bug in `pdftex.def' (page key)?

Andreas Matthias amat at kabsi.at
Wed Feb 12 14:03:25 CET 2003


Rolf Niepraschk wrote:

> Andreas Matthias wrote:
> ....
>> 
>> 
>> graphics (s!) loads pdftex.def, which checks if keyval.sty
>> is loaded. If not, pdftex.def can not implement the page
>> option, because it needs keyval. Graphicx (x!), which is
>> loaded later does not reload pdftex.def -- therefor no page option.
>> 
>> If you load \usepackage{keyval} before \usepackage{graphics}
>> then pdftex.def will implement the page option.
>> 
> 
> Ok. In this special case the problem is solved. But I can't be sure that
>  anyone loads `keyval' before `graphics' ;-(

Then reload pdftex.def:

\AtBeginDocument{%
  \usepackage{graphicx}
  \input{\Gin at driver}
}


Ciao
Andreas


More information about the pdftex mailing list