[tex4ht-commits] [SCM] tex4ht updated: r1721 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Fri Jul 18 22:13:09 CEST 2025
Author: michal_h21
Date: 2025-07-18 20:13:09 +0000 (Fri, 18 Jul 2025)
New Revision: 1721
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
fixed support for \texorpdfstring in sectioning commands
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2025-07-17 19:28:10 UTC (rev 1720)
+++ trunk/lit/ChangeLog 2025-07-18 20:13:09 UTC (rev 1721)
@@ -1,3 +1,9 @@
+2025-07-18 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (hyperref.4ht): fixed support for \texorpdfstring
+ in sectioning commands.
+ https://tex.stackexchange.com/q/748073/2891
+
2025-07-17 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (etoc.4ht): added basic support for the Etoc
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2025-07-17 19:28:10 UTC (rev 1720)
+++ trunk/lit/tex4ht-4ht.tex 2025-07-18 20:13:09 UTC (rev 1721)
@@ -6203,6 +6203,13 @@
\def\Hy at appendixstring{appendix}
>>>
+This should add support for the \Verb+\texorpdfstring+ in sectioning commands. It should
+write the second argument to the TOC file, as with normal LaTeX.
+
+\<config hyperref\><<<
+\Configure{writetoc}{\def\texorpdfstring{\@secondoftwo}}
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%%%%
\SubSection{Forms}
%%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.