diff options
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 4 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/Makefile | 1 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/jats.4ht | 344 |
4 files changed, 394 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 2bbda119db9..61b2b32ca1e 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,7 @@ +2022-06-17 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-jats.tex (jats.4ht): basic \maketitle support. + 2022-06-16 Michal Hoftich <michal.h21@gmail.com> * tex4ht-jats.tex (jats.4ht): added support for the quote diff --git a/Master/texmf-dist/source/generic/tex4ht/Makefile b/Master/texmf-dist/source/generic/tex4ht/Makefile index 322ad08061e..ca129d9aeb5 100644 --- a/Master/texmf-dist/source/generic/tex4ht/Makefile +++ b/Master/texmf-dist/source/generic/tex4ht/Makefile @@ -381,6 +381,7 @@ endif # all: $(derived) + rm -f texput.log texlua checklog.lua *.log $(tex4ht_4ht_derived): tex4ht-4ht.tex cond4ht.4ht $(common) diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex index 1b54ba70969..2b37c33e2b7 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex @@ -157,6 +157,7 @@ Configurations that are shared only for article and report >>> \<ams art,proc,book\><<< +|<latex maketitle|> |<latex numbered sections|> |<latex floats|> |<abstract|> @@ -175,6 +176,7 @@ Configurations that are shared only for article and report \section{Shared class configurations} \<shared latex classes\><<< +|<latex maketitle|> |<latex sections|> |<latex floats|> |<latex tables|> @@ -460,6 +462,61 @@ about font name and size is lost. %%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\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@footnote">}} +{\HCode{</affref>}} +{\HCode{<aff id="\the\c@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} %%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/tex/generic/tex4ht/jats.4ht b/Master/texmf-dist/tex/generic/tex4ht/jats.4ht index 4d92662c1dc..8f771641cef 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/jats.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/jats.4ht @@ -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 @@ url} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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@footnote">}} +{\HCode{</affref>}} +{\HCode{<aff id="\the\c@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 @@ url} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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@footnote">}} +{\HCode{</affref>}} +{\HCode{<aff id="\the\c@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 @@ url} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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@footnote">}} +{\HCode{</affref>}} +{\HCode{<aff id="\the\c@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 @@ url} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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@footnote">}} +{\HCode{</affref>}} +{\HCode{<aff id="\the\c@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 @@ url} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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@footnote">}} +{\HCode{</affref>}} +{\HCode{<aff id="\the\c@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 @@ url} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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@footnote">}} +{\HCode{</affref>}} +{\HCode{<aff id="\the\c@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 @@ url} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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@footnote">}} +{\HCode{</affref>}} +{\HCode{<aff id="\the\c@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 @@ url} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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@footnote">}} +{\HCode{</affref>}} +{\HCode{<aff id="\the\c@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 @@ url} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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@footnote">}} +{\HCode{</affref>}} +{\HCode{<aff id="\the\c@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 @@ url} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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@footnote">}} +{\HCode{</affref>}} +{\HCode{<aff id="\the\c@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} |