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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sun Mar 19 14:09:24 CET 2023


Author: michal_h21
Date: 2023-03-19 13:09:23 +0000 (Sun, 19 Mar 2023)
New Revision: 1308

Modified:
   trunk/lit/ChangeLog
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
Log:
Fixed interaction between Nameref and Memoir

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-03-15 13:39:09 UTC (rev 1307)
+++ trunk/lit/ChangeLog	2023-03-19 13:09:23 UTC (rev 1308)
@@ -1,3 +1,9 @@
+2023-03-19  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (memhfixc.4ht): fixed interaction between Memoir
+	and Nameref.
+	https://github.com/michal-h21/make4ht/issues/74
+
 2023-03-15  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex(amsart.4ht, amsart.4ht, amsbook.4ht,

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2023-03-15 13:39:09 UTC (rev 1307)
+++ trunk/lit/mktex4ht-cnf.tex	2023-03-19 13:09:23 UTC (rev 1308)
@@ -87,6 +87,7 @@
 \AddFile{8}{abstract}
 \AddFile{8}{verse}
 \AddFile{8}{mempatch}
+\AddFile{8}{memhfixc}
 \AddFile{9}{revtex4}
 \AddFile{9}{aps}
 \AddFile{9}{revsymb}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2023-03-15 13:39:09 UTC (rev 1307)
+++ trunk/lit/tex4ht-4ht.tex	2023-03-19 13:09:23 UTC (rev 1308)
@@ -16360,6 +16360,31 @@
 >>>
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{memhfixc}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<memhfixc.4ht\><<<
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
+% memhfixc.4ht (|version), generated from |jobname.tex 
+% Copyright 2023 TeX Users Group
+|<TeX4ht copyright|>
+|<memhfixc nameref|>
+\Hinput{memhfixc}
+\endinput
+>>>        \AddFile{8}{memhfixc}
+
+Memoir redefines the nameref command in a way that it prints ref number instead
+of the desired title. This should fix that, and in addition it should fix the
+titleref command.
+
+\<memhfixc nameref\><<<
+\@ifpackageloaded{nameref}{
+\HLet\@mem at titlerefnolink\@namerefstar
+\HLet\@mem at titleref\T at nameref
+}{}
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \Chapter{revtex}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 



More information about the tex4ht-commits mailing list.