diff options
Diffstat (limited to 'support/make4ht/make4ht-htlatex.lua')
-rw-r--r-- | support/make4ht/make4ht-htlatex.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/make4ht/make4ht-htlatex.lua b/support/make4ht/make4ht-htlatex.lua index f141070406..033b25b632 100644 --- a/support/make4ht/make4ht-htlatex.lua +++ b/support/make4ht/make4ht-htlatex.lua @@ -43,8 +43,8 @@ Make.testlogfile = testlogfile Make.latex_command = "${htlatex} --interaction=${interaction} ${latex_par} '\\makeatletter".. "\\def\\HCode{\\futurelet\\HCode\\HChar}\\def\\HChar{\\ifx\"\\HCode".. "\\def\\HCode\"##1\"{\\Link##1}\\expandafter\\HCode\\else".. -"\\expandafter\\Link\\fi}\\def\\Link#1.a.b.c.{\\g@addto@macro".. -"\\@documentclasshook{\\RequirePackage[#1,html]{tex4ht}${packages}}".. +"\\expandafter\\Link\\fi}\\def\\Link#1.a.b.c.{\\AddToHook".. +"{class/before}{\\RequirePackage[#1,html]{tex4ht}${packages}}".. "\\let\\HCode\\documentstyle\\def\\documentstyle{\\let\\documentstyle".. "\\HCode\\expandafter\\def\\csname tex4ht\\endcsname{#1,html}\\def".. "\\HCode####1{\\documentstyle[tex4ht,}\\@ifnextchar[{\\HCode}{".. |