summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-06-15 22:04:15 +0000
committerKarl Berry <karl@freefriends.org>2022-06-15 22:04:15 +0000
commit1450aaeb56e55b10277c049dafc83ad0d32f9c65 (patch)
treeeac6d17c4a0d0cb3acf5860a072bc36494724df8 /Master/texmf-dist/tex
parenta8b67ed6b0c729ae02fbb319aa71f52614e06e60 (diff)
jats enhancements, tex4ht r1150-1153
git-svn-id: svn://tug.org/texlive/trunk@63608 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/jats.4ht1476
1 files changed, 1447 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/jats.4ht b/Master/texmf-dist/tex/generic/tex4ht/jats.4ht
index c70312eb703..6f4ef3f6110 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-10-15:41), generated from tex4ht-jats.tex
+% jats.4ht (2022-06-15-13:42), generated from tex4ht-jats.tex
% Copyright 2022 TeX Users Group
%
% This work may be distributed and/or modified under the
@@ -16,12 +16,20 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-06-10-15:41}
+\immediate\write-1{version 2022-06-15-13:42}
-\exit:ifnot{article,%
+\exit:ifnot{amsart,%
+amsbook,%
+amsproc,%
+article,%
book,%
hyperref,%
latex,%
+memoir,%
+report,%
+scrartcl,%
+scrbook,%
+scrreprt,%
tex4ht,%
url}
@@ -44,7 +52,7 @@ url}
\Configure{xmlns}{xlink}{http://www.w3.org/1999/xlink}
\Configure{xmlns}{mml}{http://www.w3.org/1998/Math/MathML}
-\Configure{HTML}{\HCode{<article dtd-version="\a:DtdVersion" \html:xmlns>\Hnewline}}{\HCode{\Hnewline</article>}}
+\Configure{HTML}{\HCode{<article dtd-version="\a:DtdVersion" \html:xmlns xml:lang="\Get:Language">\Hnewline}}{\HCode{\Hnewline</article>}}
\Configure{@HEAD}{}
\Configure{HEAD}{\HCode{<front>}}{\HCode{</front>}}
% Add header structure
@@ -80,6 +88,108 @@ url}
{\Tg</p>}%
{\Tg</p>}%
+\def\Declare:Language#1#2{%
+\expandafter\gdef\csname rfclang#1\endcsname{#2}%
+}
+\def\Get:Language{%
+\ifx\bbl@main@language\@undefined en-US%
+\else%
+\expandafter\ifdefined\csname rfclang\bbl@main@language\endcsname \csname rfclang\bbl@main@language\endcsname\fi%
+\fi%
+}
+
+\Declare:Language{UKenglish}{en}
+\Declare:Language{USenglish}{en}
+\Declare:Language{latex}{en}
+\Declare:Language{acadian}{fr}
+\Declare:Language{albanian}{sq}
+\Declare:Language{american}{en}
+\Declare:Language{amharic}{am}
+\Declare:Language{arabic}{ar}
+\Declare:Language{armenian}{hy}
+\Declare:Language{australian}{en}
+\Declare:Language{austrian}{de}
+\Declare:Language{basque}{eu}
+\Declare:Language{bengali}{bn}
+\Declare:Language{brazilian}{pt}
+\Declare:Language{brazil}{pt}
+\Declare:Language{breton}{br}
+\Declare:Language{british}{en}
+\Declare:Language{bulgarian}{bg}
+\Declare:Language{canadian}{en}
+\Declare:Language{canadien}{fr}
+\Declare:Language{catalan}{ca}
+\Declare:Language{croatian}{hr}
+\Declare:Language{czech}{cs}
+\Declare:Language{danish}{da}
+\Declare:Language{divehi}{dv}
+\Declare:Language{dutch}{nl}
+\Declare:Language{english}{en}
+\Declare:Language{esperanto}{eo}
+\Declare:Language{estonian}{et}
+\Declare:Language{finnish}{f\/i}
+\Declare:Language{francais}{fr}
+\Declare:Language{french}{fr}
+\Declare:Language{galician}{gl}
+\Declare:Language{germanb}{de}
+\Declare:Language{german}{de}
+\Declare:Language{greek}{el}
+\Declare:Language{hebrew}{he}
+\Declare:Language{hindi}{hi}
+\Declare:Language{hungarian}{hu}
+\Declare:Language{icelandic}{is}
+\Declare:Language{interlingua}{ia}
+\Declare:Language{irish}{ga}
+\Declare:Language{italian}{it}
+\Declare:Language{kannada}{kn}
+\Declare:Language{khmer}{km}
+\Declare:Language{korean}{ko}
+\Declare:Language{lao}{lo}
+\Declare:Language{latin}{la}
+\Declare:Language{latvian}{lv}
+\Declare:Language{lithuanian}{lt}
+\Declare:Language{lowersorbian}{dsb}
+\Declare:Language{magyar}{hu}
+\Declare:Language{malayalam}{ml}
+\Declare:Language{marathi}{mr}
+\Declare:Language{naustrian}{de}
+\Declare:Language{newzealand}{en}
+\Declare:Language{ngerman}{de}
+\Declare:Language{norsk}{no}
+\Declare:Language{norwegiannynorsk}{nn}
+\Declare:Language{nynorsk}{no}
+\Declare:Language{occitan}{oc}
+\Declare:Language{oldchurchslavonic}{cu}
+\Declare:Language{persian}{fa}
+\Declare:Language{polish}{pl}
+\Declare:Language{polutonikogreek}{el}
+\Declare:Language{portuges}{pt}
+\Declare:Language{portuguese}{pt}
+\Declare:Language{romanian}{ro}
+\Declare:Language{romansh}{rm}
+\Declare:Language{russian}{ru}
+\Declare:Language{samin}{se}
+\Declare:Language{sanskrit}{sa}
+\Declare:Language{scottish}{gd}
+\Declare:Language{serbian}{sr}
+\Declare:Language{serbo-croatian}{sh}
+\Declare:Language{slovak}{sk}
+\Declare:Language{slovene}{sl}
+\Declare:Language{slovenian}{sl}
+\Declare:Language{spanish}{es}
+\Declare:Language{swedish}{sv}
+\Declare:Language{tamil}{ta}
+\Declare:Language{telugu}{te}
+\Declare:Language{thai}{th}
+\Declare:Language{tibetan}{bo}
+\Declare:Language{turkish}{tr}
+\Declare:Language{turkmen}{tk}
+\Declare:Language{ukrainian}{uk}
+\Declare:Language{uppersorbian}{hsb}
+\Declare:Language{urdu}{ur}
+\Declare:Language{vietnamese}{vi}
+\Declare:Language{welsh}{cy}
+
\Configure{Link}{xref}{rid=}{id=}{\empty}
\LinkCommand\ExternalLink{ext-link,xlink:href,id}
@@ -156,22 +266,140 @@ url}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{book}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \Configure{chapter}
+ \Configure{section}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
{\TitleMark\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
-\ConfigureMark{chapter}
- {\if@mainmatter
- \HCode{<label>}\chaptername\ \thechapter\HCode{</label>}\fi}
+\ConfigureMark{section}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
-\Configure{likechapter}
+
+\Configure{subsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsubsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{paragraph}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
{\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{likesection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{likesubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{likesubsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{likeparagraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+
+\Configure{float}
+ {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+ {\IgnorePar\EndP\HCode{<fig>}}
+ {\ifvmode \IgnorePar \fi\EndP
+ \HCode{</fig>}\csname par\endcsname\ShowPar}
+
+\ConfigureEnv{figure}
+{\IgnorePar\EndP\HCode{<fig>\Hnewline}%
+ \bgroup \Configure{float}{\ShowPar}{}{}%
+ }
+ {\egroup
+ \IgnorePar\EndP\HCode{</fig>}\par}
+ {}{}
+
+
+\Configure{caption}{\IgnorePar\EndP\HCode{<label>}}
+ {: } {\HCode{</label><caption>}\noindent\ShowPar}
+ {\HCode{</caption>}\HCode{<!--tex4ht:label?:
+ \cur:th\:currentlabel\space-->}%
+}
+
+\ConfigureEnv{table}
+ {\ifvmode \IgnorePar\fi \EndP \HCode{<table-wrap position="float">}
+ \Configure{float}{}{}{}{}
+ }
+ {\ifvmode \IgnorePar\fi \EndP \HCode{</table-wrap>}\par\ShowPar}
+ {}{}
+
+\ConfigureEnv{tabular}
+ {\Configure{noalign}%
+{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\PushStack\Col:Marg\AllColMargins
+}
+{\PopStack\Col:Marg\AllColMargins\ShowPar
+\Configure{noalign}{}{}%
+%
+\ShowPar
+%
+}{}{}
+
+\Configure{footnotemark}{\bgroup\NoFonts\HCode{<fn symbol="}\Configure{textsuperscript}{}{}}{\HCode{">}\EndNoFonts\egroup}
+% suppress footnote number in footnotext, it was already used in footnotemark
+\Configure{footnotetext}{\NoFonts\ShowPar\setbox0=\vbox\bgroup}
+{\egroup\EndNoFonts\SaveEndP\par\ShowPar\normalsize}% force new paragraph and normal font size
+{\EndP\RecallEndP\HCode{</fn>}}%
+
+
+
+\Configure{chapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{chapter}
+ {\if@mainmatter
+ \HCode{<label>}\chaptername\ \thechapter\HCode{</label>}\fi}
+
+
\Configure{appendix}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
@@ -181,8 +409,25 @@ url}
\ConfigureMark{appendix}{\HCode{<label>}%
\appendixname\ \thechapter\HCode{</label>}}
+\Configure{likechapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\Configure{section}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{report}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \Configure{section}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
{\TitleMark\HCode{<title>}\space\HtmlParOff}
@@ -194,30 +439,190 @@ url}
\HCode{<label>}\@seccntformat{section}%
\HCode{</label>}\fi }
-\Configure{likesection}
+
+\Configure{subsection}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
- {\HCode{<title>}\space\HtmlParOff}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
-\Configure{subsection}
+\ConfigureMark{subsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsubsection}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
{\TitleMark\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
-\ConfigureMark{subsection}
+\ConfigureMark{subsubsection}
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
\else
\HCode{<label>}\@seccntformat{section}%
\HCode{</label>}\fi }
+
+\Configure{paragraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+\Configure{likesection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
\Configure{likesubsection}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
{\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likesubsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{likeparagraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+
+\Configure{float}
+ {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+ {\IgnorePar\EndP\HCode{<fig>}}
+ {\ifvmode \IgnorePar \fi\EndP
+ \HCode{</fig>}\csname par\endcsname\ShowPar}
+
+\ConfigureEnv{figure}
+{\IgnorePar\EndP\HCode{<fig>\Hnewline}%
+ \bgroup \Configure{float}{\ShowPar}{}{}%
+ }
+ {\egroup
+ \IgnorePar\EndP\HCode{</fig>}\par}
+ {}{}
+
+
+\Configure{caption}{\IgnorePar\EndP\HCode{<label>}}
+ {: } {\HCode{</label><caption>}\noindent\ShowPar}
+ {\HCode{</caption>}\HCode{<!--tex4ht:label?:
+ \cur:th\:currentlabel\space-->}%
+}
+
+\ConfigureEnv{table}
+ {\ifvmode \IgnorePar\fi \EndP \HCode{<table-wrap position="float">}
+ \Configure{float}{}{}{}{}
+ }
+ {\ifvmode \IgnorePar\fi \EndP \HCode{</table-wrap>}\par\ShowPar}
+ {}{}
+
+\ConfigureEnv{tabular}
+ {\Configure{noalign}%
+{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\PushStack\Col:Marg\AllColMargins
+}
+{\PopStack\Col:Marg\AllColMargins\ShowPar
+\Configure{noalign}{}{}%
+%
+\ShowPar
+%
+}{}{}
+
+\Configure{footnotemark}{\bgroup\NoFonts\HCode{<fn symbol="}\Configure{textsuperscript}{}{}}{\HCode{">}\EndNoFonts\egroup}
+% suppress footnote number in footnotext, it was already used in footnotemark
+\Configure{footnotetext}{\NoFonts\ShowPar\setbox0=\vbox\bgroup}
+{\egroup\EndNoFonts\SaveEndP\par\ShowPar\normalsize}% force new paragraph and normal font size
+{\EndP\RecallEndP\HCode{</fn>}}%
+
+
+
+\ConfigureEnv{abstract}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
+
+\Configure{abstracttitle}{\ifvmode\IgnorePar\fi\EndP\HCode{<label>}\HtmlParOff\NoFonts}
+ {\HCode{</label>}\EndNoFonts\HtmlParOn\par}
+
+
+
+\Configure{chapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{chapter}
+ {\if@mainmatter
+ \HCode{<label>}\chaptername\ \thechapter\HCode{</label>}\fi}
+
+
+\Configure{appendix}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{appendix}{\HCode{<label>}%
+ \appendixname\ \thechapter\HCode{</label>}}
+
+\Configure{likechapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{article}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \Configure{section}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{section}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
\Configure{subsubsection}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
@@ -230,18 +635,31 @@ url}
\HCode{<label>}\@seccntformat{section}%
\HCode{</label>}\fi }
-\Configure{likesubsubsection}
+
+\Configure{paragraph}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
{\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
-\Configure{paragraph}
+
+\Configure{likesection}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
{\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likesubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{likesubsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
\Configure{likeparagraph}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
@@ -250,17 +668,92 @@ url}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{float}
+ {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+ {\IgnorePar\EndP\HCode{<fig>}}
+ {\ifvmode \IgnorePar \fi\EndP
+ \HCode{</fig>}\csname par\endcsname\ShowPar}
+
+\ConfigureEnv{figure}
+{\IgnorePar\EndP\HCode{<fig>\Hnewline}%
+ \bgroup \Configure{float}{\ShowPar}{}{}%
+ }
+ {\egroup
+ \IgnorePar\EndP\HCode{</fig>}\par}
+ {}{}
+
+
+\Configure{caption}{\IgnorePar\EndP\HCode{<label>}}
+ {: } {\HCode{</label><caption>}\noindent\ShowPar}
+ {\HCode{</caption>}\HCode{<!--tex4ht:label?:
+ \cur:th\:currentlabel\space-->}%
+}
+
+\ConfigureEnv{table}
+ {\ifvmode \IgnorePar\fi \EndP \HCode{<table-wrap position="float">}
+ \Configure{float}{}{}{}{}
+ }
+ {\ifvmode \IgnorePar\fi \EndP \HCode{</table-wrap>}\par\ShowPar}
+ {}{}
+
+\ConfigureEnv{tabular}
+ {\Configure{noalign}%
+{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\PushStack\Col:Marg\AllColMargins
+}
+{\PopStack\Col:Marg\AllColMargins\ShowPar
+\Configure{noalign}{}{}%
+%
+\ShowPar
+%
+}{}{}
+
+\Configure{footnotemark}{\bgroup\NoFonts\HCode{<fn symbol="}\Configure{textsuperscript}{}{}}{\HCode{">}\EndNoFonts\egroup}
+% suppress footnote number in footnotext, it was already used in footnotemark
+\Configure{footnotetext}{\NoFonts\ShowPar\setbox0=\vbox\bgroup}
+{\egroup\EndNoFonts\SaveEndP\par\ShowPar\normalsize}% force new paragraph and normal font size
+{\EndP\RecallEndP\HCode{</fn>}}%
+
+
+
+\ConfigureEnv{abstract}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
+
+\Configure{abstracttitle}{\ifvmode\IgnorePar\fi\EndP\HCode{<label>}\HtmlParOff\NoFonts}
+ {\HCode{</label>}\EndNoFonts\HtmlParOn\par}
+
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \ConfigureHinput{article}
+ \ConfigureHinput{amsart}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\Configure{section}
+ \Configure{section}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
{\TitleMark\HCode{<title>}\space\HtmlParOff}
@@ -272,30 +765,135 @@ url}
\HCode{<label>}\@seccntformat{section}%
\HCode{</label>}\fi }
-\Configure{likesection}
+
+\Configure{subsection}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
- {\HCode{<title>}\space\HtmlParOff}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
-\Configure{subsection}
+\ConfigureMark{subsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsubsection}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
{\TitleMark\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
-\ConfigureMark{subsection}
+\ConfigureMark{subsubsection}
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
\else
\HCode{<label>}\@seccntformat{section}%
\HCode{</label>}\fi }
-\Configure{likesubsection}
+
+\Configure{paragraph}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
{\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+\Configure{float}
+ {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+ {\IgnorePar\EndP\HCode{<fig>}}
+ {\ifvmode \IgnorePar \fi\EndP
+ \HCode{</fig>}\csname par\endcsname\ShowPar}
+
+\ConfigureEnv{figure}
+{\IgnorePar\EndP\HCode{<fig>\Hnewline}%
+ \bgroup \Configure{float}{\ShowPar}{}{}%
+ }
+ {\egroup
+ \IgnorePar\EndP\HCode{</fig>}\par}
+ {}{}
+
+
+\Configure{caption}{\IgnorePar\EndP\HCode{<label>}}
+ {: } {\HCode{</label><caption>}\noindent\ShowPar}
+ {\HCode{</caption>}\HCode{<!--tex4ht:label?:
+ \cur:th\:currentlabel\space-->}%
+}
+
+\ConfigureEnv{abstract}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
+
+\Configure{abstracttitle}{\ifvmode\IgnorePar\fi\EndP\HCode{<label>}\HtmlParOff\NoFonts}
+ {\HCode{</label>}\EndNoFonts\HtmlParOn\par}
+
+\ConfigureEnv{table}
+ {\ifvmode \IgnorePar\fi \EndP \HCode{<table-wrap position="float">}
+ \Configure{float}{}{}{}{}
+ }
+ {\ifvmode \IgnorePar\fi \EndP \HCode{</table-wrap>}\par\ShowPar}
+ {}{}
+
+\ConfigureEnv{tabular}
+ {\Configure{noalign}%
+{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\PushStack\Col:Marg\AllColMargins
+}
+{\PopStack\Col:Marg\AllColMargins\ShowPar
+\Configure{noalign}{}{}%
+%
+\ShowPar
+%
+}{}{}
+
+\Configure{footnotemark}{\bgroup\NoFonts\HCode{<fn symbol="}\Configure{textsuperscript}{}{}}{\HCode{">}\EndNoFonts\egroup}
+% suppress footnote number in footnotext, it was already used in footnotemark
+\Configure{footnotetext}{\NoFonts\ShowPar\setbox0=\vbox\bgroup}
+{\egroup\EndNoFonts\SaveEndP\par\ShowPar\normalsize}% force new paragraph and normal font size
+{\EndP\RecallEndP\HCode{</fn>}}%
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{amsbook}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \Configure{section}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{section}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
\Configure{subsubsection}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
@@ -308,50 +906,234 @@ url}
\HCode{<label>}\@seccntformat{section}%
\HCode{</label>}\fi }
-\Configure{likesubsubsection}
+
+\Configure{paragraph}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
{\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
-\Configure{paragraph}
+
+
+\Configure{float}
+ {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+ {\IgnorePar\EndP\HCode{<fig>}}
+ {\ifvmode \IgnorePar \fi\EndP
+ \HCode{</fig>}\csname par\endcsname\ShowPar}
+
+\ConfigureEnv{figure}
+{\IgnorePar\EndP\HCode{<fig>\Hnewline}%
+ \bgroup \Configure{float}{\ShowPar}{}{}%
+ }
+ {\egroup
+ \IgnorePar\EndP\HCode{</fig>}\par}
+ {}{}
+
+
+\Configure{caption}{\IgnorePar\EndP\HCode{<label>}}
+ {: } {\HCode{</label><caption>}\noindent\ShowPar}
+ {\HCode{</caption>}\HCode{<!--tex4ht:label?:
+ \cur:th\:currentlabel\space-->}%
+}
+
+\ConfigureEnv{abstract}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
+
+\Configure{abstracttitle}{\ifvmode\IgnorePar\fi\EndP\HCode{<label>}\HtmlParOff\NoFonts}
+ {\HCode{</label>}\EndNoFonts\HtmlParOn\par}
+
+\ConfigureEnv{table}
+ {\ifvmode \IgnorePar\fi \EndP \HCode{<table-wrap position="float">}
+ \Configure{float}{}{}{}{}
+ }
+ {\ifvmode \IgnorePar\fi \EndP \HCode{</table-wrap>}\par\ShowPar}
+ {}{}
+
+\ConfigureEnv{tabular}
+ {\Configure{noalign}%
+{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\PushStack\Col:Marg\AllColMargins
+}
+{\PopStack\Col:Marg\AllColMargins\ShowPar
+\Configure{noalign}{}{}%
+%
+\ShowPar
+%
+}{}{}
+
+\Configure{footnotemark}{\bgroup\NoFonts\HCode{<fn symbol="}\Configure{textsuperscript}{}{}}{\HCode{">}\EndNoFonts\egroup}
+% suppress footnote number in footnotext, it was already used in footnotemark
+\Configure{footnotetext}{\NoFonts\ShowPar\setbox0=\vbox\bgroup}
+{\egroup\EndNoFonts\SaveEndP\par\ShowPar\normalsize}% force new paragraph and normal font size
+{\EndP\RecallEndP\HCode{</fn>}}%
+
+
+\Configure{chapter}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
- {\HCode{<title>}\space\HtmlParOff}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
+\ConfigureMark{chapter}
+ {\if@mainmatter
+ \HCode{<label>}\chaptername\ \thechapter\HCode{</label>}\fi}
-\Configure{likeparagraph}
+
+\Configure{appendix}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
- {\HCode{<title>}\space\HtmlParOff}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
{\HCode{</title>}\HtmlParOn \ShowPar\par}
+\ConfigureMark{appendix}{\HCode{<label>}%
+ \appendixname\ \thechapter\HCode{</label>}}
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{amsproc}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \Configure{section}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{section}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\ConfigureMark{subsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+\Configure{subsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\ConfigureMark{subsubsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+\Configure{paragraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{float}
+ {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+ {\IgnorePar\EndP\HCode{<fig>}}
+ {\ifvmode \IgnorePar \fi\EndP
+ \HCode{</fig>}\csname par\endcsname\ShowPar}
+\ConfigureEnv{figure}
+{\IgnorePar\EndP\HCode{<fig>\Hnewline}%
+ \bgroup \Configure{float}{\ShowPar}{}{}%
+ }
+ {\egroup
+ \IgnorePar\EndP\HCode{</fig>}\par}
+ {}{}
+\Configure{caption}{\IgnorePar\EndP\HCode{<label>}}
+ {: } {\HCode{</label><caption>}\noindent\ShowPar}
+ {\HCode{</caption>}\HCode{<!--tex4ht:label?:
+ \cur:th\:currentlabel\space-->}%
+}
+\ConfigureEnv{abstract}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
+\Configure{abstracttitle}{\ifvmode\IgnorePar\fi\EndP\HCode{<label>}\HtmlParOff\NoFonts}
+ {\HCode{</label>}\EndNoFonts\HtmlParOn\par}
+\ConfigureEnv{table}
+ {\ifvmode \IgnorePar\fi \EndP \HCode{<table-wrap position="float">}
+ \Configure{float}{}{}{}{}
+ }
+ {\ifvmode \IgnorePar\fi \EndP \HCode{</table-wrap>}\par\ShowPar}
+ {}{}
+
+\ConfigureEnv{tabular}
+ {\Configure{noalign}%
+{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\PushStack\Col:Marg\AllColMargins
+}
+{\PopStack\Col:Marg\AllColMargins\ShowPar
+\Configure{noalign}{}{}%
+%
+\ShowPar
+%
+}{}{}
+
+\Configure{footnotemark}{\bgroup\NoFonts\HCode{<fn symbol="}\Configure{textsuperscript}{}{}}{\HCode{">}\EndNoFonts\egroup}
+% suppress footnote number in footnotext, it was already used in footnotemark
+\Configure{footnotetext}{\NoFonts\ShowPar\setbox0=\vbox\bgroup}
+{\egroup\EndNoFonts\SaveEndP\par\ShowPar\normalsize}% force new paragraph and normal font size
+{\EndP\RecallEndP\HCode{</fn>}}%
+
+
+\Configure{chapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{chapter}
+ {\if@mainmatter
+ \HCode{<label>}\chaptername\ \thechapter\HCode{</label>}\fi}
+
+
+\Configure{appendix}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{appendix}{\HCode{<label>}%
+ \appendixname\ \thechapter\HCode{</label>}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
@@ -483,76 +1265,712 @@ url}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{memoir}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \Configure{section}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{section}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsubsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{paragraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+\Configure{likesection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{likesubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{likesubsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{likeparagraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+
+\Configure{float}
+ {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+ {\IgnorePar\EndP\HCode{<fig>}}
+ {\ifvmode \IgnorePar \fi\EndP
+ \HCode{</fig>}\csname par\endcsname\ShowPar}
+
+\ConfigureEnv{figure}
+{\IgnorePar\EndP\HCode{<fig>\Hnewline}%
+ \bgroup \Configure{float}{\ShowPar}{}{}%
+ }
+ {\egroup
+ \IgnorePar\EndP\HCode{</fig>}\par}
+ {}{}
+
+
+\Configure{caption}{\IgnorePar\EndP\HCode{<label>}}
+ {: } {\HCode{</label><caption>}\noindent\ShowPar}
+ {\HCode{</caption>}\HCode{<!--tex4ht:label?:
+ \cur:th\:currentlabel\space-->}%
+}
+
+\ConfigureEnv{table}
+ {\ifvmode \IgnorePar\fi \EndP \HCode{<table-wrap position="float">}
+ \Configure{float}{}{}{}{}
+ }
+ {\ifvmode \IgnorePar\fi \EndP \HCode{</table-wrap>}\par\ShowPar}
+ {}{}
+
+\ConfigureEnv{tabular}
+ {\Configure{noalign}%
+{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\PushStack\Col:Marg\AllColMargins
+}
+{\PopStack\Col:Marg\AllColMargins\ShowPar
+\Configure{noalign}{}{}%
+%
+\ShowPar
+%
+}{}{}
+
+\Configure{footnotemark}{\bgroup\NoFonts\HCode{<fn symbol="}\Configure{textsuperscript}{}{}}{\HCode{">}\EndNoFonts\egroup}
+% suppress footnote number in footnotext, it was already used in footnotemark
+\Configure{footnotetext}{\NoFonts\ShowPar\setbox0=\vbox\bgroup}
+{\egroup\EndNoFonts\SaveEndP\par\ShowPar\normalsize}% force new paragraph and normal font size
+{\EndP\RecallEndP\HCode{</fn>}}%
+
+
+\ConfigureEnv{abstract}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
+
+\Configure{abstracttitle}{\ifvmode\IgnorePar\fi\EndP\HCode{<label>}\HtmlParOff\NoFonts}
+ {\HCode{</label>}\EndNoFonts\HtmlParOn\par}
+
+
+\Configure{chapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{chapter}
+ {\if@mainmatter
+ \HCode{<label>}\chaptername\ \thechapter\HCode{</label>}\fi}
+
+
+\Configure{appendix}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{appendix}{\HCode{<label>}%
+ \appendixname\ \thechapter\HCode{</label>}}
+
+\Configure{likechapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{scrbook}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \Configure{section}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{section}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsubsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{paragraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likesection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likesubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likesubsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likeparagraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{float}
+ {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+ {\IgnorePar\EndP\HCode{<fig>}}
+ {\ifvmode \IgnorePar \fi\EndP
+ \HCode{</fig>}\csname par\endcsname\ShowPar}
+\ConfigureEnv{figure}
+{\IgnorePar\EndP\HCode{<fig>\Hnewline}%
+ \bgroup \Configure{float}{\ShowPar}{}{}%
+ }
+ {\egroup
+ \IgnorePar\EndP\HCode{</fig>}\par}
+ {}{}
+\Configure{caption}{\IgnorePar\EndP\HCode{<label>}}
+ {: } {\HCode{</label><caption>}\noindent\ShowPar}
+ {\HCode{</caption>}\HCode{<!--tex4ht:label?:
+ \cur:th\:currentlabel\space-->}%
+}
+\ConfigureEnv{table}
+ {\ifvmode \IgnorePar\fi \EndP \HCode{<table-wrap position="float">}
+ \Configure{float}{}{}{}{}
+ }
+ {\ifvmode \IgnorePar\fi \EndP \HCode{</table-wrap>}\par\ShowPar}
+ {}{}
+
+\ConfigureEnv{tabular}
+ {\Configure{noalign}%
+{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\PushStack\Col:Marg\AllColMargins
+}
+{\PopStack\Col:Marg\AllColMargins\ShowPar
+\Configure{noalign}{}{}%
+%
+\ShowPar
+%
+}{}{}
+\Configure{footnotemark}{\bgroup\NoFonts\HCode{<fn symbol="}\Configure{textsuperscript}{}{}}{\HCode{">}\EndNoFonts\egroup}
+% suppress footnote number in footnotext, it was already used in footnotemark
+\Configure{footnotetext}{\NoFonts\ShowPar\setbox0=\vbox\bgroup}
+{\egroup\EndNoFonts\SaveEndP\par\ShowPar\normalsize}% force new paragraph and normal font size
+{\EndP\RecallEndP\HCode{</fn>}}%
+\Configure{chapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\ConfigureMark{chapter}
+ {\if@mainmatter
+ \HCode{<label>}\chaptername\ \thechapter\HCode{</label>}\fi}
+\Configure{appendix}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\ConfigureMark{appendix}{\HCode{<label>}%
+ \appendixname\ \thechapter\HCode{</label>}}
+\Configure{likechapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{scrartcl}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \Configure{section}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\ConfigureMark{section}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+\Configure{subsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\ConfigureMark{subsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+\Configure{subsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\ConfigureMark{subsubsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+\Configure{paragraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likesection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likesubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likesubsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likeparagraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{float}
+ {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+ {\IgnorePar\EndP\HCode{<fig>}}
+ {\ifvmode \IgnorePar \fi\EndP
+ \HCode{</fig>}\csname par\endcsname\ShowPar}
+\ConfigureEnv{figure}
+{\IgnorePar\EndP\HCode{<fig>\Hnewline}%
+ \bgroup \Configure{float}{\ShowPar}{}{}%
+ }
+ {\egroup
+ \IgnorePar\EndP\HCode{</fig>}\par}
+ {}{}
+\Configure{caption}{\IgnorePar\EndP\HCode{<label>}}
+ {: } {\HCode{</label><caption>}\noindent\ShowPar}
+ {\HCode{</caption>}\HCode{<!--tex4ht:label?:
+ \cur:th\:currentlabel\space-->}%
+}
+\ConfigureEnv{table}
+ {\ifvmode \IgnorePar\fi \EndP \HCode{<table-wrap position="float">}
+ \Configure{float}{}{}{}{}
+ }
+ {\ifvmode \IgnorePar\fi \EndP \HCode{</table-wrap>}\par\ShowPar}
+ {}{}
+
+\ConfigureEnv{tabular}
+ {\Configure{noalign}%
+{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\PushStack\Col:Marg\AllColMargins
+}
+{\PopStack\Col:Marg\AllColMargins\ShowPar
+\Configure{noalign}{}{}%
+%
+\ShowPar
+%
+}{}{}
+\Configure{footnotemark}{\bgroup\NoFonts\HCode{<fn symbol="}\Configure{textsuperscript}{}{}}{\HCode{">}\EndNoFonts\egroup}
+% suppress footnote number in footnotext, it was already used in footnotemark
+\Configure{footnotetext}{\NoFonts\ShowPar\setbox0=\vbox\bgroup}
+{\egroup\EndNoFonts\SaveEndP\par\ShowPar\normalsize}% force new paragraph and normal font size
+{\EndP\RecallEndP\HCode{</fn>}}%
+\ConfigureEnv{abstract}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
+\Configure{abstracttitle}{\ifvmode\IgnorePar\fi\EndP\HCode{<label>}\HtmlParOff\NoFonts}
+ {\HCode{</label>}\EndNoFonts\HtmlParOn\par}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{scrreprt}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \Configure{section}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{section}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{subsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsubsection}
+ {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
+ \else
+ \HCode{<label>}\@seccntformat{section}%
+ \HCode{</label>}\fi }
+
+
+\Configure{paragraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+\Configure{likesection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{likesubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likesubsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{likeparagraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\Configure{float}
+ {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+ {\IgnorePar\EndP\HCode{<fig>}}
+ {\ifvmode \IgnorePar \fi\EndP
+ \HCode{</fig>}\csname par\endcsname\ShowPar}
+\ConfigureEnv{figure}
+{\IgnorePar\EndP\HCode{<fig>\Hnewline}%
+ \bgroup \Configure{float}{\ShowPar}{}{}%
+ }
+ {\egroup
+ \IgnorePar\EndP\HCode{</fig>}\par}
+ {}{}
+\Configure{caption}{\IgnorePar\EndP\HCode{<label>}}
+ {: } {\HCode{</label><caption>}\noindent\ShowPar}
+ {\HCode{</caption>}\HCode{<!--tex4ht:label?:
+ \cur:th\:currentlabel\space-->}%
+}
+
+\ConfigureEnv{table}
+ {\ifvmode \IgnorePar\fi \EndP \HCode{<table-wrap position="float">}
+ \Configure{float}{}{}{}{}
+ }
+ {\ifvmode \IgnorePar\fi \EndP \HCode{</table-wrap>}\par\ShowPar}
+ {}{}
+
+\ConfigureEnv{tabular}
+ {\Configure{noalign}%
+{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+\IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\PushStack\Col:Marg\AllColMargins
+}
+{\PopStack\Col:Marg\AllColMargins\ShowPar
+\Configure{noalign}{}{}%
+%
+\ShowPar
+%
+}{}{}
+
+\Configure{footnotemark}{\bgroup\NoFonts\HCode{<fn symbol="}\Configure{textsuperscript}{}{}}{\HCode{">}\EndNoFonts\egroup}
+% suppress footnote number in footnotext, it was already used in footnotemark
+\Configure{footnotetext}{\NoFonts\ShowPar\setbox0=\vbox\bgroup}
+{\egroup\EndNoFonts\SaveEndP\par\ShowPar\normalsize}% force new paragraph and normal font size
+{\EndP\RecallEndP\HCode{</fn>}}%
+\ConfigureEnv{abstract}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
+\Configure{abstracttitle}{\ifvmode\IgnorePar\fi\EndP\HCode{<label>}\HtmlParOff\NoFonts}
+ {\HCode{</label>}\EndNoFonts\HtmlParOn\par}
+
+
+
+\Configure{chapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+\ConfigureMark{chapter}
+ {\if@mainmatter
+ \HCode{<label>}\chaptername\ \thechapter\HCode{</label>}\fi}
+
+
+\Configure{appendix}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\TitleMark\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{appendix}{\HCode{<label>}%
+ \appendixname\ \thechapter\HCode{</label>}}
+
+\Configure{likechapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+ {\HCode{<title>}\space\HtmlParOff}
+ {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%