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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Apr 13 14:08:47 CEST 2022


Author: michal_h21
Date: 2022-04-13 12:08:47 +0000 (Wed, 13 Apr 2022)
New Revision: 1109

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Added support for the \ref* command

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-04-05 15:59:08 UTC (rev 1108)
+++ trunk/lit/ChangeLog	2022-04-13 12:08:47 UTC (rev 1109)
@@ -1,3 +1,8 @@
+2022-04-13  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (latex.4ht,nameref.4ht): added support for the
+	\ref* command.
+
 2022-04-05  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-ooffice.tex (ooffice.4ht): added option to produce inline

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-04-05 15:59:08 UTC (rev 1108)
+++ trunk/lit/tex4ht-4ht.tex	2022-04-13 12:08:47 UTC (rev 1109)
@@ -1492,7 +1492,7 @@
 \let\o:ref|=\:ref
 \def\::ref#1{{\:SUBOff\:SUPOff\xdef\RefArg{#1}}\expandafter\o:ref
                                                \expandafter{\RefArg}}
-\def\:ref{\Protect\::ref}
+\def\:ref{\@ifstar{\Protect\::ref}{\Protect\::ref}}
 \let\ref|=\:ref
 >>>
 
@@ -3533,12 +3533,12 @@
 }
 
 \let\T:ref=\::ref
-\def\::ref{\protect\T at ref}
+\def\::ref{\@ifstar{\protect\T at ref}{\protect\T at ref}}
 \def\T at ref#1{%
   \@safe at activestrue
   \let\::ref \T:ref
   \expandafter\@setref\csname r@#1\endcsname\@firstoffive{#1}%
-  \def\::ref{\protect\T at ref}%
+  \def\::ref{\@ifstar{\protect\T at ref}{\protect\T at ref}}
   \@safe at activesfalse
 }
 



More information about the tex4ht-commits mailing list.