texlive[63633] Master/texmf-dist: jats \maketitle, tex4ht r1155

commits+karl at tug.org commits+karl at tug.org
Sat Jun 18 00:02:47 CEST 2022


Revision: 63633
          http://tug.org/svn/texlive?view=revision&revision=63633
Author:   karl
Date:     2022-06-18 00:02:46 +0200 (Sat, 18 Jun 2022)
Log Message:
-----------
jats \maketitle, tex4ht r1155

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1155

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/Makefile
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-06-17 21:49:51 UTC (rev 63632)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-06-17 22:02:46 UTC (rev 63633)
@@ -1,3 +1,7 @@
+2022-06-17  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-jats.tex (jats.4ht): basic \maketitle support.
+
 2022-06-16  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-jats.tex (jats.4ht): added support for the quote

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/Makefile
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/Makefile	2022-06-17 21:49:51 UTC (rev 63632)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/Makefile	2022-06-17 22:02:46 UTC (rev 63633)
@@ -381,6 +381,7 @@
 
 # 

 all: $(derived)
+	rm -f texput.log
 	texlua checklog.lua *.log
 
 $(tex4ht_4ht_derived): tex4ht-4ht.tex cond4ht.4ht $(common)

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex	2022-06-17 21:49:51 UTC (rev 63632)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex	2022-06-17 22:02:46 UTC (rev 63633)
@@ -157,6 +157,7 @@
 >>>
 
 \<ams art,proc,book\><<<
+|<latex maketitle|>
 |<latex numbered sections|>
 |<latex floats|>
 |<abstract|>
@@ -175,6 +176,7 @@
 
 \section{Shared class configurations}
 \<shared latex classes\><<<
+|<latex maketitle|>
 |<latex sections|>
 |<latex floats|>
 |<latex tables|>
@@ -460,6 +462,61 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Maketitle}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+JATS expects specific elements in the document metadata. We produce some custom
+elements, which are expected to be removed in the make4ht post-processing. Contents
+of maketitle should be moved to the metadata block and removed from the document 
+body.
+
+\<latex maketitle\><<<
+\Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP |<title for TITLE|>%
+    \HCode{<maketitle>}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</maketitle>}}
+   {\NoFonts\IgnorePar\HCode{<article-title>}\IgnorePar}
+   {\HCode{</article-title>}\IgnoreIndent\EndNoFonts}
+>>>
+
+This macro is used to print zeropaded days and months in the ISO date attribute
+
+\<latex maketitle\><<<
+\def\date:zeropad#1{\ifnum #1<10 0\fi#1}
+>>>
+
+
+\<latex maketitle\><<<
+\Configure{thanks author date and} 
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<contrib contrib-type="author"><name><string-name>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-name></name></contrib>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<date iso-8601-date="\the\year-\date:zeropad{\the\month}-\date:zeropad{\the\day}"><string-date>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-date></date>}}
+   {\HCode{</string-name></name></contrib><contrib contrib-type="author"><name><string-name>}}
+   {\HCode{}}
+
+\Configure{thank}
+{\HCode{<affref rid="\the\c at footnote">}} 
+{\HCode{</affref>}}
+{\HCode{<aff id="\the\c at footnote"><affmark>}}
+{\HCode{</affmark>}} {\HCode{</aff>}}
+>>>
+
+\<title for TITLE\><<<
+{\Configure{maketitle}{}{}{}{}%
+% \let\thanks|=\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
+\NoFonts\Tag{TITLE+}{\@title}\EndNoFonts}
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \section{Sections}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht	2022-06-17 21:49:51 UTC (rev 63632)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht	2022-06-17 22:02:46 UTC (rev 63633)
@@ -1,4 +1,4 @@
-% jats.4ht (2022-06-16-13:57), generated from tex4ht-jats.tex
+% jats.4ht (2022-06-17-14:46), generated from tex4ht-jats.tex
 % Copyright 2022 TeX Users Group
 %
 % This work may be distributed and/or modified under the
@@ -16,7 +16,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-06-16-13:57}
+\immediate\write-1{version 2022-06-17-14:46}
 
 \exit:ifnot{amsart,% 
 amsbook,% 
@@ -266,7 +266,39 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{book}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-    \Configure{section}
+    \Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+% \let\thanks\let \prOteCt \relax \Protect \csname acp:c\endcsname {18}\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
+\NoFonts\Tag{TITLE+}{\@title}\EndNoFonts}
+%
+    \HCode{<maketitle>}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</maketitle>}}
+   {\NoFonts\IgnorePar\HCode{<article-title>}\IgnorePar}
+   {\HCode{</article-title>}\IgnoreIndent\EndNoFonts}
+\def\date:zeropad#1{\ifnum #1<10 0\fi#1}
+\Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<contrib contrib-type="author"><name><string-name>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-name></name></contrib>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<date iso-8601-date="\the\year-\date:zeropad{\the\month}-\date:zeropad{\the\day}"><string-date>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-date></date>}}
+   {\HCode{</string-name></name></contrib><contrib contrib-type="author"><name><string-name>}}
+   {\HCode{}}
+
+\Configure{thank}
+{\HCode{<affref rid="\the\c at footnote">}}
+{\HCode{</affref>}}
+{\HCode{<aff id="\the\c at footnote"><affmark>}}
+{\HCode{</affmark>}} {\HCode{</aff>}}
+
+\Configure{section}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
    {\TitleMark\HCode{<title>}\space\HtmlParOff}
@@ -433,7 +465,39 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{report}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-    \Configure{section}
+    \Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+% \let\thanks\let \prOteCt \relax \Protect \csname acp:c\endcsname {18}\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
+\NoFonts\Tag{TITLE+}{\@title}\EndNoFonts}
+%
+    \HCode{<maketitle>}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</maketitle>}}
+   {\NoFonts\IgnorePar\HCode{<article-title>}\IgnorePar}
+   {\HCode{</article-title>}\IgnoreIndent\EndNoFonts}
+\def\date:zeropad#1{\ifnum #1<10 0\fi#1}
+\Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<contrib contrib-type="author"><name><string-name>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-name></name></contrib>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<date iso-8601-date="\the\year-\date:zeropad{\the\month}-\date:zeropad{\the\day}"><string-date>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-date></date>}}
+   {\HCode{</string-name></name></contrib><contrib contrib-type="author"><name><string-name>}}
+   {\HCode{}}
+
+\Configure{thank}
+{\HCode{<affref rid="\the\c at footnote">}}
+{\HCode{</affref>}}
+{\HCode{<aff id="\the\c at footnote"><affmark>}}
+{\HCode{</affmark>}} {\HCode{</aff>}}
+
+\Configure{section}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
    {\TitleMark\HCode{<title>}\space\HtmlParOff}
@@ -609,7 +673,39 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{article}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-    \Configure{section}
+    \Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+% \let\thanks\let \prOteCt \relax \Protect \csname acp:c\endcsname {18}\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
+\NoFonts\Tag{TITLE+}{\@title}\EndNoFonts}
+%
+    \HCode{<maketitle>}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</maketitle>}}
+   {\NoFonts\IgnorePar\HCode{<article-title>}\IgnorePar}
+   {\HCode{</article-title>}\IgnoreIndent\EndNoFonts}
+\def\date:zeropad#1{\ifnum #1<10 0\fi#1}
+\Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<contrib contrib-type="author"><name><string-name>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-name></name></contrib>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<date iso-8601-date="\the\year-\date:zeropad{\the\month}-\date:zeropad{\the\day}"><string-date>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-date></date>}}
+   {\HCode{</string-name></name></contrib><contrib contrib-type="author"><name><string-name>}}
+   {\HCode{}}
+
+\Configure{thank}
+{\HCode{<affref rid="\the\c at footnote">}}
+{\HCode{</affref>}}
+{\HCode{<aff id="\the\c at footnote"><affmark>}}
+{\HCode{</affmark>}} {\HCode{</aff>}}
+
+\Configure{section}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
    {\TitleMark\HCode{<title>}\space\HtmlParOff}
@@ -771,7 +867,39 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsart}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-    \Configure{section}
+    \Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+% \let\thanks\let \prOteCt \relax \Protect \csname acp:c\endcsname {18}\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
+\NoFonts\Tag{TITLE+}{\@title}\EndNoFonts}
+%
+    \HCode{<maketitle>}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</maketitle>}}
+   {\NoFonts\IgnorePar\HCode{<article-title>}\IgnorePar}
+   {\HCode{</article-title>}\IgnoreIndent\EndNoFonts}
+\def\date:zeropad#1{\ifnum #1<10 0\fi#1}
+\Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<contrib contrib-type="author"><name><string-name>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-name></name></contrib>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<date iso-8601-date="\the\year-\date:zeropad{\the\month}-\date:zeropad{\the\day}"><string-date>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-date></date>}}
+   {\HCode{</string-name></name></contrib><contrib contrib-type="author"><name><string-name>}}
+   {\HCode{}}
+
+\Configure{thank}
+{\HCode{<affref rid="\the\c at footnote">}}
+{\HCode{</affref>}}
+{\HCode{<aff id="\the\c at footnote"><affmark>}}
+{\HCode{</affmark>}} {\HCode{</aff>}}
+
+\Configure{section}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
    {\TitleMark\HCode{<title>}\space\HtmlParOff}
@@ -892,7 +1020,39 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsbook}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-    \Configure{section}
+    \Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+% \let\thanks\let \prOteCt \relax \Protect \csname acp:c\endcsname {18}\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
+\NoFonts\Tag{TITLE+}{\@title}\EndNoFonts}
+%
+    \HCode{<maketitle>}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</maketitle>}}
+   {\NoFonts\IgnorePar\HCode{<article-title>}\IgnorePar}
+   {\HCode{</article-title>}\IgnoreIndent\EndNoFonts}
+\def\date:zeropad#1{\ifnum #1<10 0\fi#1}
+\Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<contrib contrib-type="author"><name><string-name>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-name></name></contrib>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<date iso-8601-date="\the\year-\date:zeropad{\the\month}-\date:zeropad{\the\day}"><string-date>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-date></date>}}
+   {\HCode{</string-name></name></contrib><contrib contrib-type="author"><name><string-name>}}
+   {\HCode{}}
+
+\Configure{thank}
+{\HCode{<affref rid="\the\c at footnote">}}
+{\HCode{</affref>}}
+{\HCode{<aff id="\the\c at footnote"><affmark>}}
+{\HCode{</affmark>}} {\HCode{</aff>}}
+
+\Configure{section}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
    {\TitleMark\HCode{<title>}\space\HtmlParOff}
@@ -1032,7 +1192,39 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsproc}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-    \Configure{section}
+    \Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+% \let\thanks\let \prOteCt \relax \Protect \csname acp:c\endcsname {18}\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
+\NoFonts\Tag{TITLE+}{\@title}\EndNoFonts}
+%
+    \HCode{<maketitle>}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</maketitle>}}
+   {\NoFonts\IgnorePar\HCode{<article-title>}\IgnorePar}
+   {\HCode{</article-title>}\IgnoreIndent\EndNoFonts}
+\def\date:zeropad#1{\ifnum #1<10 0\fi#1}
+\Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<contrib contrib-type="author"><name><string-name>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-name></name></contrib>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<date iso-8601-date="\the\year-\date:zeropad{\the\month}-\date:zeropad{\the\day}"><string-date>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-date></date>}}
+   {\HCode{</string-name></name></contrib><contrib contrib-type="author"><name><string-name>}}
+   {\HCode{}}
+
+\Configure{thank}
+{\HCode{<affref rid="\the\c at footnote">}}
+{\HCode{</affref>}}
+{\HCode{<aff id="\the\c at footnote"><affmark>}}
+{\HCode{</affmark>}} {\HCode{</aff>}}
+
+\Configure{section}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
    {\TitleMark\HCode{<title>}\space\HtmlParOff}
@@ -1304,7 +1496,39 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{memoir}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-    \Configure{section}
+    \Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+% \let\thanks\let \prOteCt \relax \Protect \csname acp:c\endcsname {18}\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
+\NoFonts\Tag{TITLE+}{\@title}\EndNoFonts}
+%
+    \HCode{<maketitle>}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</maketitle>}}
+   {\NoFonts\IgnorePar\HCode{<article-title>}\IgnorePar}
+   {\HCode{</article-title>}\IgnoreIndent\EndNoFonts}
+\def\date:zeropad#1{\ifnum #1<10 0\fi#1}
+\Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<contrib contrib-type="author"><name><string-name>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-name></name></contrib>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<date iso-8601-date="\the\year-\date:zeropad{\the\month}-\date:zeropad{\the\day}"><string-date>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-date></date>}}
+   {\HCode{</string-name></name></contrib><contrib contrib-type="author"><name><string-name>}}
+   {\HCode{}}
+
+\Configure{thank}
+{\HCode{<affref rid="\the\c at footnote">}}
+{\HCode{</affref>}}
+{\HCode{<aff id="\the\c at footnote"><affmark>}}
+{\HCode{</affmark>}} {\HCode{</aff>}}
+
+\Configure{section}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
    {\TitleMark\HCode{<title>}\space\HtmlParOff}
@@ -1544,7 +1768,39 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{scrbook}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-    \Configure{section}
+    \Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+% \let\thanks\let \prOteCt \relax \Protect \csname acp:c\endcsname {18}\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
+\NoFonts\Tag{TITLE+}{\@title}\EndNoFonts}
+%
+    \HCode{<maketitle>}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</maketitle>}}
+   {\NoFonts\IgnorePar\HCode{<article-title>}\IgnorePar}
+   {\HCode{</article-title>}\IgnoreIndent\EndNoFonts}
+\def\date:zeropad#1{\ifnum #1<10 0\fi#1}
+\Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<contrib contrib-type="author"><name><string-name>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-name></name></contrib>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<date iso-8601-date="\the\year-\date:zeropad{\the\month}-\date:zeropad{\the\day}"><string-date>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-date></date>}}
+   {\HCode{</string-name></name></contrib><contrib contrib-type="author"><name><string-name>}}
+   {\HCode{}}
+
+\Configure{thank}
+{\HCode{<affref rid="\the\c at footnote">}}
+{\HCode{</affref>}}
+{\HCode{<aff id="\the\c at footnote"><affmark>}}
+{\HCode{</affmark>}} {\HCode{</aff>}}
+
+\Configure{section}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
    {\TitleMark\HCode{<title>}\space\HtmlParOff}
@@ -1711,7 +1967,39 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{scrartcl}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-    \Configure{section}
+    \Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+% \let\thanks\let \prOteCt \relax \Protect \csname acp:c\endcsname {18}\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
+\NoFonts\Tag{TITLE+}{\@title}\EndNoFonts}
+%
+    \HCode{<maketitle>}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</maketitle>}}
+   {\NoFonts\IgnorePar\HCode{<article-title>}\IgnorePar}
+   {\HCode{</article-title>}\IgnoreIndent\EndNoFonts}
+\def\date:zeropad#1{\ifnum #1<10 0\fi#1}
+\Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<contrib contrib-type="author"><name><string-name>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-name></name></contrib>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<date iso-8601-date="\the\year-\date:zeropad{\the\month}-\date:zeropad{\the\day}"><string-date>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-date></date>}}
+   {\HCode{</string-name></name></contrib><contrib contrib-type="author"><name><string-name>}}
+   {\HCode{}}
+
+\Configure{thank}
+{\HCode{<affref rid="\the\c at footnote">}}
+{\HCode{</affref>}}
+{\HCode{<aff id="\the\c at footnote"><affmark>}}
+{\HCode{</affmark>}} {\HCode{</aff>}}
+
+\Configure{section}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
    {\TitleMark\HCode{<title>}\space\HtmlParOff}
@@ -1859,7 +2147,39 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{scrreprt}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-    \Configure{section}
+    \Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+% \let\thanks\let \prOteCt \relax \Protect \csname acp:c\endcsname {18}\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\:hashintitle{\protect\symbol{35}}
+\let\#\:hashintitle
+\NoFonts\Tag{TITLE+}{\@title}\EndNoFonts}
+%
+    \HCode{<maketitle>}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</maketitle>}}
+   {\NoFonts\IgnorePar\HCode{<article-title>}\IgnorePar}
+   {\HCode{</article-title>}\IgnoreIndent\EndNoFonts}
+\def\date:zeropad#1{\ifnum #1<10 0\fi#1}
+\Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</aff>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<contrib contrib-type="author"><name><string-name>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-name></name></contrib>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<date iso-8601-date="\the\year-\date:zeropad{\the\month}-\date:zeropad{\the\day}"><string-date>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</string-date></date>}}
+   {\HCode{</string-name></name></contrib><contrib contrib-type="author"><name><string-name>}}
+   {\HCode{}}
+
+\Configure{thank}
+{\HCode{<affref rid="\the\c at footnote">}}
+{\HCode{</affref>}}
+{\HCode{<aff id="\the\c at footnote"><affmark>}}
+{\HCode{</affmark>}} {\HCode{</aff>}}
+
+\Configure{section}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
    {\TitleMark\HCode{<title>}\space\HtmlParOff}



More information about the tex-live-commits mailing list.