[tex4ht] [bug #508] Error after loading hyperref from a class file

Michal Hoftich puszcza-hackers at gnu.org.ua
Tue Apr 27 15:02:02 CEST 2021


Follow-up Comment #1, bug #508 (project tex4ht):

This is caused by the fact that TeX4ht is not active in the class file, and it
doesn't include hyperref-hooks.4ht file. It seems that it works when I move
code from hyperref-hooks.4ht to hyperref.4ht, so I will update the sources and
it should fix the issue. 

In the meantime, you can try the following bugclass.4ht file:

\@ifpackageloaded{nameref}{}
{%
   \let\sv:label\label
   \RequirePackage{nameref}%
   \let\label\sv:label
}
\endinput

This is the code from hyperref-hooks.4ht

    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?508>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



More information about the tex4ht mailing list.