texlive[68346] Master/texmf-dist: \au:StartSec check, tex4ht r1372
commits+karl at tug.org
commits+karl at tug.org
Fri Sep 22 23:20:14 CEST 2023
Revision: 68346
https://tug.org/svn/texlive?view=revision&revision=68346
Author: karl
Date: 2023-09-22 23:20:14 +0200 (Fri, 22 Sep 2023)
Log Message:
-----------
\au:StartSec check, tex4ht r1372
Revision Links:
--------------
https://tug.org/svn/texlive?view=revision&revision=1372
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2023-09-22 20:50:52 UTC (rev 68345)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2023-09-22 21:20:14 UTC (rev 68346)
@@ -1,3 +1,8 @@
+2023-09-22 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-html4.tex (html4.4ht): test for the existence of
+ \au:StartSec command before we try to insert it to \tableofcontents.
+
2023-09-20 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-mathml.tex (mathml.4ht): added support for the \mathvariant
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2023-09-22 20:50:52 UTC (rev 68345)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2023-09-22 21:20:14 UTC (rev 68346)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1369 2023-09-12 12:36:05Z michal_h21 $
+% $Id: tex4ht-html4.tex 1372 2023-09-22 15:05:09Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -1055,7 +1055,12 @@
|<object tocs|>
\else
% This should prevent duplication of TOC when document is not split into subpages
- \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \pend:def\tableofcontents{%
+ \ifx \au:StartSec\:UnDef\else%
+ \gdef\:StartSec{\au:StartSec}%
+ \fi%
+ }%
+
\Log:Note{for automatic sectioning
pagination, use the command line option
`1', `2', `3', '4', '5', '6', or '7'}%
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2023-09-22 20:50:52 UTC (rev 68345)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2023-09-22 21:20:14 UTC (rev 68346)
@@ -1,4 +1,4 @@
-% html4.4ht (2023-09-12-13:42), generated from tex4ht-html4.tex
+% html4.4ht (2023-09-22-14:06), generated from tex4ht-html4.tex
% Copyright 2009-2023 TeX Users Group
% Copyright 1997-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2023-09-12-13:42}
+\immediate\write-1{version 2023-09-22-14:06}
\exit:ifnot{8859-6,%
CJK,%
@@ -5502,7 +5502,12 @@
\else
% This should prevent duplication of TOC when document is not split into subpages
- \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \pend:def\tableofcontents{%
+ \ifx \au:StartSec\:UnDef\else%
+ \gdef\:StartSec{\au:StartSec}%
+ \fi%
+ }%
+
\Log:Note{for automatic sectioning
pagination, use the command line option
`1', `2', `3', '4', '5', '6', or '7'}%
@@ -8203,7 +8208,12 @@
\else
% This should prevent duplication of TOC when document is not split into subpages
- \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \pend:def\tableofcontents{%
+ \ifx \au:StartSec\:UnDef\else%
+ \gdef\:StartSec{\au:StartSec}%
+ \fi%
+ }%
+
\Log:Note{for automatic sectioning
pagination, use the command line option
`1', `2', `3', '4', '5', '6', or '7'}%
@@ -10836,7 +10846,12 @@
\else
% This should prevent duplication of TOC when document is not split into subpages
- \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \pend:def\tableofcontents{%
+ \ifx \au:StartSec\:UnDef\else%
+ \gdef\:StartSec{\au:StartSec}%
+ \fi%
+ }%
+
\Log:Note{for automatic sectioning
pagination, use the command line option
`1', `2', `3', '4', '5', '6', or '7'}%
@@ -14116,7 +14131,12 @@
\else
% This should prevent duplication of TOC when document is not split into subpages
- \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \pend:def\tableofcontents{%
+ \ifx \au:StartSec\:UnDef\else%
+ \gdef\:StartSec{\au:StartSec}%
+ \fi%
+ }%
+
\Log:Note{for automatic sectioning
pagination, use the command line option
`1', `2', `3', '4', '5', '6', or '7'}%
@@ -16697,7 +16717,12 @@
\else
% This should prevent duplication of TOC when document is not split into subpages
- \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \pend:def\tableofcontents{%
+ \ifx \au:StartSec\:UnDef\else%
+ \gdef\:StartSec{\au:StartSec}%
+ \fi%
+ }%
+
\Log:Note{for automatic sectioning
pagination, use the command line option
`1', `2', `3', '4', '5', '6', or '7'}%
@@ -19326,7 +19351,12 @@
\else
% This should prevent duplication of TOC when document is not split into subpages
- \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \pend:def\tableofcontents{%
+ \ifx \au:StartSec\:UnDef\else%
+ \gdef\:StartSec{\au:StartSec}%
+ \fi%
+ }%
+
\Log:Note{for automatic sectioning
pagination, use the command line option
`1', `2', `3', '4', '5', '6', or '7'}%
@@ -23422,7 +23452,12 @@
\else
% This should prevent duplication of TOC when document is not split into subpages
- \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \pend:def\tableofcontents{%
+ \ifx \au:StartSec\:UnDef\else%
+ \gdef\:StartSec{\au:StartSec}%
+ \fi%
+ }%
+
\Log:Note{for automatic sectioning
pagination, use the command line option
`1', `2', `3', '4', '5', '6', or '7'}%
@@ -25912,7 +25947,12 @@
\else
% This should prevent duplication of TOC when document is not split into subpages
- \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \pend:def\tableofcontents{%
+ \ifx \au:StartSec\:UnDef\else%
+ \gdef\:StartSec{\au:StartSec}%
+ \fi%
+ }%
+
\Log:Note{for automatic sectioning
pagination, use the command line option
`1', `2', `3', '4', '5', '6', or '7'}%
@@ -28402,7 +28442,12 @@
\else
% This should prevent duplication of TOC when document is not split into subpages
- \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \pend:def\tableofcontents{%
+ \ifx \au:StartSec\:UnDef\else%
+ \gdef\:StartSec{\au:StartSec}%
+ \fi%
+ }%
+
\Log:Note{for automatic sectioning
pagination, use the command line option
`1', `2', `3', '4', '5', '6', or '7'}%
More information about the tex-live-commits
mailing list.