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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Mar 29 13:09:10 CEST 2022


Author: michal_h21
Date: 2022-03-29 11:09:10 +0000 (Tue, 29 Mar 2022)
New Revision: 1102

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
handle hash characters in \title

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-03-28 11:52:50 UTC (rev 1101)
+++ trunk/lit/ChangeLog	2022-03-29 11:09:10 UTC (rev 1102)
@@ -1,3 +1,8 @@
+2022-03-29  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4.4ht): handle \# character in \title.
+	https://tex.stackexchange.com/a/638821/2891
+
 2022-03-28  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-ooffice.tex (ooffice.4ht): don't use bold font for \textsf

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2022-03-28 11:52:50 UTC (rev 1101)
+++ trunk/lit/tex4ht-html4.tex	2022-03-29 11:09:10 UTC (rev 1102)
@@ -6328,6 +6328,8 @@
 \def\mbox{\hbox}%
 \def\gobble:font##1##2{##2}\:TITLE: \no:fonts
 \def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
 \Tag{TITLE+}{\@title}}
 >>>
 
@@ -6352,6 +6354,8 @@
 \def\mbox{\hbox}%
 \def\gobble:font##1##2{##2}\:TITLE: \no:fonts
 \def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
 \Tag{TITLE+}{\shorttitle}}
 >>>
 
@@ -6378,6 +6382,8 @@
 \let \bf=\empty
 \let \centering=\empty
 \def \ignorespaces##1\vskip##2//{##1}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
 \Tag{TITLE+}{\@title//}%
 }%
 >>>
@@ -6391,6 +6397,8 @@
 \def\mbox{\hbox}%
 \let\\\space \def\TeX{TeX}%
 \def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
 \Tag{TITLE+}{\@title}}%
 >>>
 
@@ -12566,6 +12574,7 @@
 \<env for titles\><<<
 \let\"=\:same \let\~=\:same \let\^=\:same
 \let\v=\:same \let\'=\:same \let\r=\:same
+\let\#=\:same 
 \PictureOff
 >>>
 



More information about the tex4ht-commits mailing list.