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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Mar 25 11:27:23 CET 2022


Author: michal_h21
Date: 2022-03-25 10:27:23 +0000 (Fri, 25 Mar 2022)
New Revision: 1099

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed issues with backref pagenumbers

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-03-24 22:18:43 UTC (rev 1098)
+++ trunk/lit/ChangeLog	2022-03-25 10:27:23 UTC (rev 1099)
@@ -1,3 +1,9 @@
+2021-03-25  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (biblatex.4ht): fixed issues with backref page
+	numbers.
+	https://github.com/michal-h21/make4ht/issues/58
+
 2021-03-24  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): use \detokenize to

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-03-24 22:18:43 UTC (rev 1098)
+++ trunk/lit/tex4ht-4ht.tex	2022-03-25 10:27:23 UTC (rev 1099)
@@ -2795,7 +2795,8 @@
     % insert link to the page
     \html:addr\Link-{}{|<haddr prefix|>\last:haddr}\EndLink%
     % save link to the .xref file
-    \Tag{)Q##1\thepage}{|<haddr prefix|>\last:haddr}%
+    % we need to use \protected at write to get correct page numbers in backrefs
+    \protected at write\:refout{}{\string\:CrossWord{)Q##1\thepage}{|<haddr prefix|>\last:haddr}{\folio}}
     % we need to save the link destination in .xref file
     % too, otherwise \Link command would issue warning
     \Tag{)Q|<haddr prefix|>\last:haddr}{\FileNumber}%



More information about the tex4ht-commits mailing list.