[tex4ht-commits] [SCM] tex4ht updated: r1395 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Wed Oct 18 22:38:31 CEST 2023
Author: michal_h21
Date: 2023-10-18 20:38:31 +0000 (Wed, 18 Oct 2023)
New Revision: 1395
Modified:
trunk/lit/ChangeLog
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
Log:
Added cprotect package support
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2023-10-16 13:06:26 UTC (rev 1394)
+++ trunk/lit/ChangeLog 2023-10-18 20:38:31 UTC (rev 1395)
@@ -1,3 +1,9 @@
+2023-10-18 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (cprotect.4ht): remove spurious characters from the
+ \cprotect command.
+ https://puszcza.gnu.org.ua/bugs/?246
+
2023-10-16 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (hyperref.4ht): declare the \Hy at PageAnchorSlide
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2023-10-16 13:06:26 UTC (rev 1394)
+++ trunk/lit/mktex4ht-cnf.tex 2023-10-18 20:38:31 UTC (rev 1395)
@@ -297,6 +297,7 @@
\AddFile{7}{awesomebox}
\AddFile{7}{transparent}
\AddFile{7}{changepage}
+\AddFile{7}{cprotect}
\AddFile{7}{alltt}
\AddFile{9}{lb}
\AddFile{7}{latin1}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2023-10-16 13:06:26 UTC (rev 1394)
+++ trunk/lit/tex4ht-4ht.tex 2023-10-18 20:38:31 UTC (rev 1395)
@@ -33170,6 +33170,32 @@
>>>
%%%%%%%%%%%%%%%%%%%%%%%
+\Section{cprotect.sty}
+%%%%%%%%%%%%%%%%%%%%%%%
+\<cprotect.4ht\><<<
+% cprotect.4ht (|version), generated from |jobname.tex
+% Copyright 2023 TeX Users Group
+|<TeX4ht license text|>
+|<cprotect shared config|>
+\Hinput{cprotect}
+\endinput
+
+>>> \AddFile{7}{cprotect}
+
+Cprotect package can protect commands and environments. It adds some
+special characters at the end of the protected content. Because
+of chatcode issues caused by redefinition of the hat character by TeX4ht,
+these characters were displayed verbatim in the document. This definition
+should fix the catcode issue and prevent this problem
+
+\<cprotect shared config\><<<
+{
+\catcode`\^=7
+\gdef\CPT at hat@hat at E@hat at hat@L{^^E^^L}
+}
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%
\Section{alltt.sty}
%%%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.