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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sun May 16 18:55:43 CEST 2021


Author: michal_h21
Date: 2021-05-16 16:55:43 +0000 (Sun, 16 May 2021)
New Revision: 937

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Added support for \label after \phantomsection

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-05-16 16:21:01 UTC (rev 936)
+++ trunk/lit/ChangeLog	2021-05-16 16:55:43 UTC (rev 937)
@@ -1,3 +1,9 @@
+2021-05-16  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (hyperref.4ht): added support for \label for
+	\phantomsection.
+	https://tex.stackexchange.com/a/597326/2891
+
 2021-05-16  Karl Berry  <karl at freefriends.org>
 
 	* bibtex2.tex (bibtex2.4ht),

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2021-05-16 16:21:01 UTC (rev 936)
+++ trunk/lit/tex4ht-4ht.tex	2021-05-16 16:55:43 UTC (rev 937)
@@ -5079,6 +5079,8 @@
  \Hy at GlobalStepCount\Hy at linkcounter
  \xdef\@currentHref{likesection.\the\Hy at linkcounter}%
  \Hy at raisedlink{\hyper at anchorstart{\@currentHref}\hyper at anchorend}%
+ \edef\@currentlabel{\the\Hy at linkcounter}%
+ \AnchorLabel%
 }
 >>>
 



More information about the tex4ht-commits mailing list.