summaryrefslogtreecommitdiff
path: root/support/make4ht/make4ht-htlatex.lua
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-01 03:01:47 +0000
committerNorbert Preining <norbert@preining.info>2021-10-01 03:01:47 +0000
commit569e4d488d3398f8ed12807dd67e2b301b7447d5 (patch)
treeb0649aad82d5811ce9251e770edd9a1c94b71f0f /support/make4ht/make4ht-htlatex.lua
parentc0e66330261a0098e8041d4cc1428666ef598c30 (diff)
CTAN sync 202110010301
Diffstat (limited to 'support/make4ht/make4ht-htlatex.lua')
-rw-r--r--support/make4ht/make4ht-htlatex.lua4
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}{"..