[tex4ht-commits] [SCM] tex4ht updated: r1400 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Oct 31 17:57:09 CET 2023


Author: michal_h21
Date: 2023-10-31 16:57:08 +0000 (Tue, 31 Oct 2023)
New Revision: 1400

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
Log:
fixed spacing issues in enotez

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-10-27 10:48:56 UTC (rev 1399)
+++ trunk/lit/ChangeLog	2023-10-31 16:57:08 UTC (rev 1400)
@@ -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/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2023-10-27 10:48:56 UTC (rev 1399)
+++ trunk/lit/tex4ht-4ht.tex	2023-10-31 16:57:08 UTC (rev 1400)
@@ -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/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2023-10-27 10:48:56 UTC (rev 1399)
+++ trunk/lit/tex4ht-html4.tex	2023-10-31 16:57:08 UTC (rev 1400)
@@ -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{. }}
 >>>
 
 %%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.