[tex4ht] hyperref loaded in document class

Denis Bitouzé dbitouze at wanadoo.fr
Tue Oct 2 13:28:44 CEST 2012


Le mardi 02/10/12 à 13h14,
Denis Bitouzé <dbitouze at wanadoo.fr> a écrit :

> Do you know a workaround?

I answer myself: it is enough to replace:

  \RequirePackage{hyperref}

by:

  \AtBeginDocument{\RequirePackage{hyperref}}

I tested \AtEndOfClass which was unsuccessful. But I didn't try
\AtBeginDocument because executed near the end of the \begin{document}
code, so I believed it was forbidden at a so late stage).

I hope this trick has no side effect...

Sorry for the noise.
-- 
Denis



More information about the tex4ht mailing list