summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-10-19 03:01:07 +0000
committerNorbert Preining <norbert@preining.info>2023-10-19 03:01:07 +0000
commit05e4c0a34b97237b4cd2f3fb0d5cd03e73b8e55e (patch)
treefc7502cefdd6bcd7e39361b7b5cfe5b650eeba11 /support
parentf4a002c5b54c3f9678105cef89c2cd0b4f41577a (diff)
CTAN sync 202310190301
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog6
-rw-r--r--support/TeX4ht/source/mktex4ht-cnf.tex3
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex28
3 files changed, 35 insertions, 2 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index c19010df41..310051b589 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,9 @@
+2023-10-18 Michal Hoftich <michal.h21@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@gmail.com>
* tex4ht-4ht.tex (hyperref.4ht): declare the \Hy@PageAnchorSlide
diff --git a/support/TeX4ht/source/mktex4ht-cnf.tex b/support/TeX4ht/source/mktex4ht-cnf.tex
index 67c9ab6e13..77190a86fe 100644
--- a/support/TeX4ht/source/mktex4ht-cnf.tex
+++ b/support/TeX4ht/source/mktex4ht-cnf.tex
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1392 2023-10-16 09:25:25Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1395 2023-10-18 20:38:31Z michal_h21 $
% Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
% Read by tex4ht-cond4ht.
%
@@ -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}
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 53ca499d28..d9c2de66c3 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1394 2023-10-16 13:06:26Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1395 2023-10-18 20:38:31Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2023 TeX Users Group
@@ -33170,6 +33170,32 @@ format configuration.
>>>
%%%%%%%%%%%%%%%%%%%%%%%
+\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@hat@hat@E@hat@hat@L{^^E^^L}
+}
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%
\Section{alltt.sty}
%%%%%%%%%%%%%%%%%%%%%%%