From 97a50891a87d07d3cc327188a2b00b5c11e3c309 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Wed, 20 Oct 2021 03:02:56 +0000
Subject: CTAN sync 202110200302

---
 support/TeX4ht/source/tex4ht-4ht.tex | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

(limited to 'support/TeX4ht/source/tex4ht-4ht.tex')

diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index a7621ecb95..e751b79b5d 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 991 2021-10-10 18:03:42Z michal_h21 $
+% $Id: tex4ht-4ht.tex 998 2021-10-19 15:53:25Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2021 TeX Users Group    
@@ -11596,7 +11596,7 @@ may lead to errors when for example \''\%' is used. The use of detokenize should
 prevent this issue.
 
 \<caption addtocontents\><<<
- \renewcommand*\caption@@@addcontentsline[5]{%
+ \renewcommand*\caption@@@addcontentsline[4]{%
    \def\temp{#1}\def\tempa{toc}\ifx \temp\tempa\else%
    \gHAdvance\TitleCount  1%
    \fi%
@@ -16993,6 +16993,7 @@ See report at screnggu.tex
 |<scr old fonts|>
 \input article.4ht
 |<scr artcl, reprt, book|>
+|<scr artcl subtitle|>
 \Hinput{scrartcl}
 \endinput
 >>>        \AddFile{9}{scrartcl}
@@ -17035,6 +17036,7 @@ See report at screnggu.tex
       \pend:def\@dedication{\a:dedication}%
       \append:def\@dedication{\b:dedication}%
    \fi
+   |<scr def subtitle|>
 }
 \NewConfigure{dedication}{2}
 >>>
@@ -17053,10 +17055,28 @@ See report at screnggu.tex
    \pend:def\@author{\a:author}\append:def\@author{\b:author}%
    \pend:def\@date{\a:date}\append:def\@date{\b:date}%
    \def\and{\a:and}
+   |<scr def subtitle|>
 }
 \NewConfigure{dedication}{2}
 >>>
 
+Support for subtitles:
+
+\<scr artcl, reprt, book\><<<
+\NewConfigure{subtitle}{2}
+>>>
+
+\<scr artcl subtitle\><<<
+\pend:def\maketitle{%
+  |<scr def subtitle|>
+}
+>>>
+
+\<scr def subtitle\><<<
+  \pend:def\@subtitle{\a:subtitle}
+  \append:def\@subtitle{\b:subtitle}
+>>>
+
 %%%%%%%%%%%%%%%%%%
 \Section{TOC}
 %%%%%%%%%%%%%%%%%%%
@@ -17122,7 +17142,7 @@ UnDFexyz}%
 }
 >>>
 
-%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%
 \Section{other}
 %%%%%%%%%%%%%%%%%%%
 
-- 
cgit v1.2.3

