summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-10-31 19:32:18 +0000
committerKarl Berry <karl@freefriends.org>2023-10-31 19:32:18 +0000
commitb620971e35db6bc6a6fb7d4059d1dc61e2c37e02 (patch)
treeb26c46ace017783d2ac325ba3b555f8642189654 /Master/texmf-dist
parentd388742c5ba316e8a7ad81c7f428ed75937c849e (diff)
enotez fixes, tex4ht r1400
git-svn-id: svn://tug.org/texlive/trunk@68712 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog7
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex7
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex5
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/enotez.4ht9
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html4.4ht7
5 files changed, 27 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 6c152f54e57..88ba404e8ab 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 720483836c0..631ba0523b8 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 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/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
index f3a61fa3449..ee47d2c956a 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 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{. }}
>>>
%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/generic/tex4ht/enotez.4ht b/Master/texmf-dist/tex/generic/tex4ht/enotez.4ht
index 80b3d7bc252..21d10cf9a83 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/enotez.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/enotez.4ht
@@ -1,4 +1,4 @@
-% enotez.4ht (2023-04-12-10:30), generated from tex4ht-4ht.tex
+% enotez.4ht (2023-10-31-12:28), generated from tex4ht-4ht.tex
% Copyright 2023 TeX Users Group
%
% This work may be distributed and/or modified under the
@@ -16,10 +16,11 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2023-04-12-10:30}
+\immediate\write-1{version 2023-10-31-12:28}
\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
@@ -29,6 +30,10 @@
\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
\Hinput{enotez}
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
index a7c066d6bb1..b8f0a49440c 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
@@ -1,4 +1,4 @@
-% html4.4ht (2023-10-25-13:45), generated from tex4ht-html4.tex
+% html4.4ht (2023-10-31-12:28), generated from tex4ht-html4.tex
% Copyright 2009-2023 TeX Users Group
% Copyright 1997-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2023-10-25-13:45}
+\immediate\write-1{version 2023-10-31-12:28}
\exit:ifnot{8859-6,%
CJK,%
@@ -31111,7 +31111,8 @@ description">}%
\ConfigureHinput{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{. }}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%