texlive[68712] Master/texmf-dist: enotez fixes, tex4ht r1400

commits+karl at tug.org commits+karl at tug.org
Tue Oct 31 20:32:18 CET 2023


Revision: 68712
          https://tug.org/svn/texlive?view=revision&revision=68712
Author:   karl
Date:     2023-10-31 20:32:18 +0100 (Tue, 31 Oct 2023)
Log Message:
-----------
enotez fixes, tex4ht r1400

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1400

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/enotez.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2023-10-31 19:21:04 UTC (rev 68711)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2023-10-31 19:32:18 UTC (rev 68712)
@@ -1,3 +1,10 @@
+2023-10-31  Michal Hoftich  <michal.h21 at 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 at gmail.com>
 
 	* tex4ht-docbook.tex (docbook.4ht): fixed support for accented

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2023-10-31 19:21:04 UTC (rev 68711)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2023-10-31 19:32:18 UTC (rev 68712)
@@ -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 @@
 \<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 @@
 \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
 >>>
 

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex	2023-10-31 19:21:04 UTC (rev 68711)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex	2023-10-31 19:32:18 UTC (rev 68712)
@@ -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 @@
 
 \<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{. }}
 >>>
 
 %%%%%%%%%%%%%%%%%%%%%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/enotez.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/enotez.4ht	2023-10-31 19:21:04 UTC (rev 68711)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/enotez.4ht	2023-10-31 19:32:18 UTC (rev 68712)
@@ -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}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2023-10-31 19:21:04 UTC (rev 68711)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2023-10-31 19:32:18 UTC (rev 68712)
@@ -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 @@
                 \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{. }}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   



More information about the tex-live-commits mailing list.