diff options
author | Karl Berry <karl@freefriends.org> | 2022-09-16 21:34:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-09-16 21:34:20 +0000 |
commit | 78e79639162e72c8e359d5a6538dc819f39a268f (patch) | |
tree | d2003625e1a8a49113a002140387b509a6935182 /Master/texmf-dist/source | |
parent | 6e35a37ae644b460381ca941f295678270e56ad5 (diff) |
declare \unimathsetup, tex4ht r1195; handle ^ catcode change in (hyp)doc, tex4ht r1194
git-svn-id: svn://tug.org/texlive/trunk@64417 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 11 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 27 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-sty.tex | 6 |
3 files changed, 42 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 940b0380953..b016187e218 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,14 @@ +2022-09-16 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (unicode-math-hooks.4ht): declare the \unimathsetup + command. + + * tex4ht-sty.tex (tex4ht.sty): initialize the \SUPOn and \SUBOn + macros. + + * tex4ht-4ht (usepackage.4ht): disable TeX4ht redefinitions of the ^ + character at the loading of the doc and hypdoc packages. + 2022-09-14 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (usepackage.4ht, luatexja-hooks.4ht): prevent diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 4f4a5c6ba5a..c975e6e7c30 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/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} %%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-sty.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-sty.tex index 4e64265ba4b..c9193ba9400 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-sty.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-sty.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-sty.tex 1181 2022-08-04 17:27:58Z michal_h21 $ +% $Id: tex4ht-sty.tex 1194 2022-09-16 13:21:14Z michal_h21 $ % tex tex4ht-sty or ht tex tex4ht-sty % % Copyright 2009-2022 TeX Users Group @@ -8761,6 +8761,10 @@ TRY: Replace SUBOn with HSUBOn, SUBOff with HSUBOff, Ditto for SUP +\<record external sub-sup\><<< +\def\SUPOn{} +\def\SUBOn{} +>>> \<record external sub-sup\><<< \edef\SUPOff{% |