summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-4ht.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex24
1 files changed, 16 insertions, 8 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index e5c61d58e4..753ebab863 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1165 2022-07-03 18:18:19Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1171 2022-07-05 21:29:31Z karl $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -13,10 +13,7 @@
\DrawOff
\def\writesixteen#1{\immediate\write1616{#1}}
-\writesixteen{----------Verify length of lines!!!!------------}
-\writesixteen{----------Verify length of lines!!!!------------}
-\writesixteen{----------Verify length of lines!!!!------------}
-\writesixteen{----------Verify length of lines!!!!------------}
+\writesixteen{----------Verify length of lines (4ht)------------}
\newif\ifalprotex \alprotexfalse
@@ -3482,7 +3479,7 @@ definitions.
\begingroup%
\let\index\:gobble%
\let\label\:gobble%
- \xdef\NR:Title{\a:newlabel{#2}}%
+ \protected@xdef\NR:Title{\a:newlabel{#2}}%
\endgroup%
\o:NR@@caption{#1}[{#2}]%
}
@@ -14405,12 +14402,20 @@ and it causes a loss of spaces in tex4ht.
\Section{Accents}
%%%%%%%%%%%%%%%%%%
-The following is for
+The following was for
\`'/n/candy/0/tex/teTeX/texmf/tex/latex/base/inputenc.sty'
and files like
\`'/n/candy/0/tex/teTeX/texmf/tex/latex/base/latin1.def'.
-\<latex accents\><<<
+But 2022 release of LaTeX don't need special handling of \`'\@tabacckcludge',
+the accents works even when we remove the following redefinitions.
+
+What is more serious is that these redefinitions of MakeUppercase and
+MakeLowercase don't change text case anymore, and it also causes
+compilation error for the \`'\chapter' command. So we need to
+disable it even if it was useful in some older documents.
+
+\<latex accents not used anymore\><<<
\let\:tabacckludge|=\@tabacckludge
\def\@tabacckludge#1{\csname #1\endcsname}
\long\def\:temp#1{\bgroup \let\@tabacckludge|=\:tabacckludge
@@ -14421,6 +14426,9 @@ and files like
\expandafter\HLet\csname MakeLowercase \endcsname|=\:temp
>>>
+The following is the reasoning why the previous lines were included in the
+first place:
+
\Verbatim
> Really, [latin1] redefines "=E1" as {\@tabacckludge'a}, and TeX4ht is