[tex4ht] [bug #639] ltugboat.cls is incompatible with tex4ht

Michal Hoftich puszcza-hackers at gnu.org.ua
Sat Oct 12 23:50:32 CEST 2024


Follow-up Comment #2, bug #639 (project tex4ht):

I think we should add support for hooks. It seems we could use something
like:

\NewHookWithArguments{cmd/@sect/before}{8}
\NewReversedHookWithArguments{cmd/@sect/after}{8}
\NewHookWithArguments{cmd/@ssect/before}{5}
\NewReversedHookWithArguments{cmd/@ssect/after}{5}


And then use something like this in our redefinitions of \@sect and \@ssect:

\UseHookWithArguments{cmd/@sect/before}{8}{##1}{##2}{##3}{##4}{##5}{##6}{##7}{##8}%


I've added this code and it seems to suppress the error and also execute the
hooks.

    _______________________________________________________

Reply to this item at:

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

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



More information about the tex4ht mailing list.