diff options
author | Norbert Preining <norbert@preining.info> | 2023-04-13 03:01:11 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-04-13 03:01:11 +0000 |
commit | c6d2f94d04f69bb5b2143ef62e7ab90bd3b60212 (patch) | |
tree | bddc530efd786986da5407c2e808a1d73c728ede /support | |
parent | 45c7bac9080d91b53c686e776fc6217d7f139b86 (diff) |
CTAN sync 202304130300
Diffstat (limited to 'support')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 7 | ||||
-rw-r--r-- | support/TeX4ht/source/mktex4ht-cnf.tex | 3 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 32 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-html4.tex | 13 |
4 files changed, 52 insertions, 3 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 1c44cdae8c..4f986254f2 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,10 @@ +2023-04-12 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (enotez.4ht), + * tex4ht-html4.tex (html4.4ht): added basic support for the Enotez + package. + https://tex.stackexchange.com/a/682624/2891 + 2023-04-10 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (longtable.4ht): fixed another \caption issue. diff --git a/support/TeX4ht/source/mktex4ht-cnf.tex b/support/TeX4ht/source/mktex4ht-cnf.tex index 7606228a29..ec8c527563 100644 --- a/support/TeX4ht/source/mktex4ht-cnf.tex +++ b/support/TeX4ht/source/mktex4ht-cnf.tex @@ -1,4 +1,4 @@ -% $Id: mktex4ht-cnf.tex 1317 2023-04-03 13:19:40Z michal_h21 $ +% $Id: mktex4ht-cnf.tex 1323 2023-04-12 14:01:16Z michal_h21 $ % Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex. % Read by tex4ht-cond4ht. % @@ -67,6 +67,7 @@ \AddFile{9}{footnotebackref} \AddFile{9}{footnotebackref-hooks} \AddFile{9}{pagenote} +\AddFile{9}{enotez} \AddFile{9}{floatrow} \AddFile{9}{makeidx} \AddFile{9}{splitidx} diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index ad61bdcdf2..051b6026df 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1322 2023-04-10 13:54:40Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1323 2023-04-12 14:01:16Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2023 TeX Users Group @@ -12752,6 +12752,36 @@ other packages (such as tablefootnote.sty) rely on them. >>> +%%%%%%%%%%%%%%%%%%%%%%%%%%% +\Section{enotez} +%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\<enotez.4ht\><<< +% enotez.4ht (|version), generated from |jobname.tex +% Copyright 2023 TeX Users Group +|<TeX4ht license text|> +|<enotez definitions|> +\Hinput{enotez} +\endinput +>>> \AddFile{9}{enotez} + + +\<enotez definitions\><<< +\NewConfigure{enotezmark}{2} +\NewConfigure{enotezback}{2} +% patch commands that print note numbers, so we can add links +\ExplSyntaxOn +% \:currentnoteid contains the note number +\protected\def\:tempa #1#2{\def\:currentnoteid{#1}\a:enotezmark\o:enotez_write_mark:nn:{#1}{#2}\b:enotezmark} +\HLet\enotez_write_mark:nn\:tempa + +\protected\def\:tempa#1{\def\:currentnoteid{#1}\a:enotezback\o:enotez_write_list_number:n:{#1}\b:enotezback} +\HLet\enotez_write_list_number:n\:tempa + +\ExplSyntaxOff +>>> + + %%%%%%%%%%%%%%%%%%%%%%%%%%%% \Section{floatrow.sty} %%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex index 1d03dcdcd9..d5e99670d7 100644 --- a/support/TeX4ht/source/tex4ht-html4.tex +++ b/support/TeX4ht/source/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 1320 2023-04-08 10:40:15Z michal_h21 $ +% $Id: tex4ht-html4.tex 1323 2023-04-12 14:01:16Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -5686,6 +5686,17 @@ Add links and backlinks to pagenotes >>> %%%%%%%%%%%%%%%%%%%%% +\subsection{enotez} +%%%%%%%%%%%%%%%%%%%%% + +Add links and backlinks to pagenotes with the Enotez package + +\<configure html4 enotez\><<< +\Configure{enotezmark}{\Link{enotez\:currentnoteid}{enotez-bk\:currentnoteid}}{\EndLink} +\Configure{enotezback}{\Link{enotez-bk\:currentnoteid}{enotez\:currentnoteid}\HCode{<sup>}}{\HCode{</sup>}\EndLink} +>>> + +%%%%%%%%%%%%%%%%%%%%% \subsection{Wrapfig} %%%%%%%%%%%%%%%%%%% |