Guenter Milde wrote: > a) Copy the definitions to our file but leave out the \@onlypreamble, of > course. > > b) Do the tests in the preamble, store the result in macros and write the > document later.
I tried most of these, but failed. Essentially, the attempt to load the package failed. Please feel free to take my patch as a start and try if you have more luck. One thing to consider is that chkconfigure.ltx is not a usual LaTeX document. It does not have a preamble and a body (i.e., no \documentclass and \begin{document}). AFAIU, \@onlypreamble gets activated by \documentclass and deactivated by \begin{document}. Here's a good explanation of how this all works: https://groups.google.com/group/comp.text.tex/msg/d814ee8e3287b90c?hl=de) Jürgen