From 2da66dea964ffa47d24f26081f2942a6e1ef1121 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 2 Nov 2023 03:04:13 +0000 Subject: CTAN sync 202311020304 --- support/TeX4ht/source/ChangeLog | 7 +++++++ support/TeX4ht/source/tex4ht-4ht.tex | 7 ++++++- support/TeX4ht/source/tex4ht-html4.tex | 5 +++-- 3 files changed, 16 insertions(+), 3 deletions(-) (limited to 'support') 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 + + * 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 * 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. \<<< \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{enotezmark}{\Link{enotez\:currentnoteid}{enotez-bk\:currentnoteid}}{\EndLink} -\Configure{enotezback}{\Link{enotez-bk\:currentnoteid}{enotez\:currentnoteid}\HCode{}}{\HCode{}\EndLink} +\Configure{enotezback}{\Link{enotez-bk\:currentnoteid}{enotez\:currentnoteid}}{\EndLink} +\Configure{enmark}{}{\HCode{. }} >>> %%%%%%%%%%%%%%%%%%%%% -- cgit v1.2.3