summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-4ht.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex27
1 files changed, 26 insertions, 1 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 4f4a5c6ba5..c975e6e7c3 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1193 2022-09-14 14:21:16Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1195 2022-09-16 20:06:02Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -4301,6 +4301,7 @@ document.
\@ifpackageloaded{fontspec}{}
{\RequirePackage{fontspec}} % it is loaded by unicode-math
\NewDocumentCommand \setmathfont { O{} m O{} }{}
+\NewDocumentCommand \unimathsetup {m} {}
\catcode`\:=11\makeatletter
\endinput
>>> \AddFile{9}{unicode-math-hooks}
@@ -17552,11 +17553,21 @@ unnumberedsubsubsec%
% Copyright (C) |CopyYear.1997. Eitan M. Gurari %
|<TeX4ht copyright|>
+
+
|<doc.sty|>
\Hinput{doc}
\endinput
>>> \AddFile{9}{doc}
+We have issue with catcode of the hat character, so we need to turn off
+TeX4ht code for this character when the package is processed.
+
+\<add to usepackage\><<<
+\AddToHook{package/doc/before}{\SUPOff}
+\AddToHook{package/doc/after}{\SUPOn}
+>>>
+
\<doc.sty\><<<
\:CheckOption{no^} \if:Option \else
\catcode`\^^M|=13 \def\hat:A#1^^M{\egroup} \catcode`\^^M|=5 %
@@ -17628,6 +17639,20 @@ unnumberedsubsubsec%
>>>
%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{hypdoc.sty}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+We don't need configuration file for the hypdoc package, but we need
+to fix catcode issues with the hat character.
+
+
+\<add to usepackage\><<<
+\AddToHook{package/hypdoc/before}{\SUPOff}
+\AddToHook{package/hypdoc/after}{\SUPOn}
+>>>
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{holtxdoc.sty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%