diff options
Diffstat (limited to 'Master/texmf-dist/source')
4 files changed, 50 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index cea3d34c63a..139a88afada 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,18 @@ +2022-08-17 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-html4.tex (html4.4ht): save title used in titlepage in Koma + script classes to the xref file, so it is available in the <title> + element. + https://tex.stackexchange.com/q/654343/2891 + + * tex4ht-4ht.tex (babel-sty-hooks.4ht, graphics-hooks.4ht): fixed + support for the early^ option with Babel and Graphics packages. + https://tex.stackexchange.com/q/654236/2891 + + * tex4ht-mathml.tex (html-mml.4ht): test argument of \mathopen in + Amsmath equation. + https://tex.stackexchange.com/q/654236/2891 + 2022-08-11 Michal Hoftich <michal.h21@gmail.com> * tex4ht-html5.tex (html5.4ht): fixed support for the figure* diff --git a/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex b/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex index e5d729c4b35..fc72c842699 100644 --- a/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex +++ b/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex @@ -1,4 +1,4 @@ -% $Id: mktex4ht-cnf.tex 1157 2022-06-20 13:49:01Z michal_h21 $ +% $Id: mktex4ht-cnf.tex 1184 2022-08-17 11:45:35Z michal_h21 $ % Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex. % Read by tex4ht-cond4ht. % @@ -140,6 +140,7 @@ \AddFile{9}{scrjura} \AddFile{7}{natbib} \AddFile{5}{babel} +\AddFile{9}{babel-sty-hooks} \AddFile{7}{csquotes} \AddFile{7}{CJK} \AddFile{8}{arabicore} diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index c8533c2faf4..07e8f85b210 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 1181 2022-08-04 17:27:58Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1184 2022-08-17 11:45:35Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group @@ -23760,6 +23760,20 @@ environments to insert XML tags. \renewcommand{\mkenddispquote}[2]{#1\b:displayquote#2\c:displayquote} >>> +Handle circumflex catcodes when the \Verb|early^| option is used. + +\<add to usepackage\><<< +\Configure{PackageHooks}{babel.sty}{babel-sty-hooks.4ht} +>>> + +\<babel-sty-hooks.4ht\><<< +% babel-sty-hooks.4ht, generated from |jobname.tex +% Copyright 2022 TeX Users Group +|<TeX4ht license text|> +|<disable early sup|> +>>> +\AddFile{9}{babel-sty-hooks} + %%%%%%%%%%%%%%%%%%%%%% \Section{CJK} %%%%%%%%%%% @@ -26815,13 +26829,28 @@ dvips needs to be used instead \<graphics-hooks.4ht\><<< % graphics-hooks.4ht (|version), generated from |jobname.tex -% Copyright 2020 TeX Users Group +% Copyright 2020-2022 TeX Users Group |<TeX4ht license text|> \ifdefined\XeTeXversion \PassOptionsToPackage{dvips}{graphics} \fi +|<disable early sup|> >>> \AddFile{9}{graphics-hooks} +The \Verb|early^| option can break some packages that changes catcode of +circumflex too. We need to revert to the original definition for the package +processing, and then return to the TeX4ht definition after the package +is processed. + +\<disable early sup\><<< +\ifdefined\recall:sup +\recall:sup +\:AtEndOfPackage{ + \early:sup +} +\fi +>>> + %%%%%%%%%%%%%%%%%%%%%%% \SubSection{graphicx} %%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index ecb66c1b58f..9f504120829 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 1136 2022-05-22 18:03:36Z michal_h21 $ +% $Id: tex4ht-html4.tex 1185 2022-08-17 21:04:34Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -6226,7 +6226,7 @@ thanks author date and>>> \<scr title page\><<< \ConfigureEnv{titlepage} - {\bgroup + {\bgroup |<title for TITLE 3|>% \ifvmode \IgnorePar\fi \EndP \HCode{<div class="titlepage">}% \ConfigureEnv{center}{}{}{}{}} |