diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-02 03:04:13 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-02 03:04:13 +0000 |
commit | 2da66dea964ffa47d24f26081f2942a6e1ef1121 (patch) | |
tree | 74283568549892324b317485ab0a26dc23917afb /support/TeX4ht/source | |
parent | a9d0083bcc66de9ea863ed14cf8cde44e88e4355 (diff) |
CTAN sync 202311020304
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 7 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 7 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-html4.tex | 5 |
3 files changed, 16 insertions, 3 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 6c152f54e5..88ba404e8a 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,10 @@ +2023-10-31 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (enotez.4ht), + * tex4ht-html4.tex (html4.4ht): fixed missing and spurious space + around endnote mark. Don't show endnote mark in superscript. + https://tex.stackexchange.com/a/682624/2891 + 2023-10-27 Michal Hoftich <michal.h21@gmail.com> * tex4ht-docbook.tex (docbook.4ht): fixed support for accented diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 720483836c..631ba0523b 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1398 2023-10-25 20:40:50Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1400 2023-10-31 16:57:08Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2023 TeX Users Group @@ -12794,6 +12794,7 @@ other packages (such as tablefootnote.sty) rely on them. \<enotez definitions\><<< \NewConfigure{enotezmark}{2} \NewConfigure{enotezback}{2} +\NewConfigure{enmark}{2} % patch commands that print note numbers, so we can add links \ExplSyntaxOn % \:currentnoteid contains the note number @@ -12803,6 +12804,10 @@ other packages (such as tablefootnote.sty) rely on them. \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 +% enmark has issue with spurious space after note number, but space is missing after dot. +\cs_set:Npn \enmark #1 {\a:enmark#1\unskip\b:enmark} +\Configure{enmark}{}{.} + \ExplSyntaxOff >>> diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex index f3a61fa344..ee47d2c956 100644 --- a/support/TeX4ht/source/tex4ht-html4.tex +++ b/support/TeX4ht/source/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 1398 2023-10-25 20:40:50Z michal_h21 $ +% $Id: tex4ht-html4.tex 1400 2023-10-31 16:57:08Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -5682,7 +5682,8 @@ 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} +\Configure{enotezback}{\Link{enotez-bk\:currentnoteid}{enotez\:currentnoteid}}{\EndLink} +\Configure{enmark}{}{\HCode{. }} >>> %%%%%%%%%%%%%%%%%%%%% |