Created
June 17, 2022 10:34
-
-
Save michal-h21/fbfd13d4783b80b2ba922cc286dee7e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% jats.4ht (2022-06-16-15:53), generated from tex4ht-jats.tex | |
% Copyright 2022 TeX Users Group | |
% | |
% This work may be distributed and/or modified under the | |
% conditions of the LaTeX Project Public License, either | |
% version 1.3c of this license or (at your option) any | |
% later version. The latest version of this license is in | |
% http://www.latex-project.org/lppl.txt | |
% and version 1.3c or later is part of all distributions | |
% of LaTeX version 2005/12/01 or later. | |
% | |
% This work has the LPPL maintenance status "maintained". | |
% | |
% The Current Maintainer of this work | |
% is the TeX4ht Project <http://tug.org/tex4ht>. | |
% | |
% If you modify this program, changing the | |
% version identification would be appreciated. | |
\immediate\write-1{version 2022-06-16-15:53} | |
\exit:ifnot{amsart,% | |
amsbook,% | |
amsproc,% | |
article,% | |
book,% | |
hyperref,% | |
latex,% | |
memoir,% | |
report,% | |
scrartcl,% | |
scrbook,% | |
scrreprt,% | |
tex4ht,% | |
url} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{tex4ht} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\special{t4ht.xml} | |
\Configure{VERSION}{\HCode{<?xml version="1.0" encoding="UTF-8"?>\Hnewline}} | |
% select JATS version | |
\NewConfigure{DtdVersion}{1} | |
\Configure{DtdVersion}{1.3} | |
\Configure{DOCTYPE}{\HCode{<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v\a:DtdVersion\space 20130915//EN" "http://jats.nlm.nih.gov/archiving/\a:DtdVersion/JATS-archivearticle1-mathml3.dtd">\Hnewline}} | |
% XML configuratins | |
\edef\html:xmlns{} | |
\NewConfigure{xmlns}[2]{\concat:config\html:xmlns{xmlns:#1="#2"\Hnewline}} | |
\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 xml:lang="\Get:Language">\Hnewline}}{\HCode{\Hnewline</article>}} | |
\Configure{@HEAD}{} | |
\Configure{HEAD}{\HCode{<front>}}{\HCode{</front>}} | |
% Add header structure | |
% Journal info in <journal-meta>. It needs to be provided fully from the user configuration | |
\NewConfigure{JournalMeta}{1} | |
% basic article meta can be reconstructed from \title and \author | |
% | |
% Title needs to be placed at the correct place by DOM filter | |
\Configure{TITLE}{\HCode{<article-title>}}{\HCode{</article-title>}} | |
\NewConfigure{ArticleMeta}{1} | |
\Configure{ArticleMeta}{ | |
\HCode{<article-meta>}% | |
% title from \title command is placed by make4ht DOM filter. If you want more complex title, | |
% use \Configure{TitleGroup} | |
\a:TitleGroup% | |
\JATS:Contributors% | |
\HCode{</article-meta>}% | |
} | |
% enable to configure contributors | |
\def\JATS:Contributors{} | |
\NewConfigure{Contributor}[1]{\concat:config\JATS:Contributors{#1}} | |
\NewConfigure{TitleGroup}{1} | |
% insert metas into document header | |
\Configure{@HEAD}{\a:JournalMeta} | |
\Configure{@HEAD}{\a:ArticleMeta} | |
\Configure{HtmlPar} | |
{\EndP\HCode{<!--l. \the\inputlineno-->% | |
<p \csname a:!P\endcsname>}} | |
{\EndP\HCode{<!--l. \the\inputlineno-->% | |
<p \csname a:!P\endcsname>}} | |
{\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} | |
\Configure{htf}{0}{+}{<italic}{}{}{}{}{>}{</italic>} | |
\Configure{htf}{4}{+}{<sc}{}{}{}{}{>}{</sc>} | |
\Configure{htf}{6}{+}{<underline}{}{}{}{}{>}{</underline>} | |
\Configure{mathml}{mml:} | |
\edef\math:type:inline{display="inline" } | |
\ifdefined\AtBeginDocument | |
\AtBeginDocument{ | |
\Configure{DviMathML}{% | |
\ifx\a:@math\math:type:inline% | |
\PushStack\math:types{inline-formula}% | |
\HCode{<inline-formula>}% | |
\else% | |
\HCode{<disp-formula>}% | |
\PushStack\math:types{disp-formula}% | |
\fi% | |
}{\PopStack\math:types\:temp\HCode{</\:temp>}}% | |
}% | |
\fi | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{latex} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{textit}{\Protect\HCode{<italic>}\NoFonts}{\EndNoFonts\Protect\Tg</italic>} | |
\Configure{textbf}{\Protect\HCode{<bold>}\NoFonts}{\EndNoFonts\Protect\Tg</bold>} | |
\Configure{textsc}{\Protect\HCode{<sc>}\NoFonts}{\EndNoFonts\Protect\Tg</sc>} | |
\Configure{textrm}{\Protect\HCode{<roman>}\NoFonts} | |
{\EndNoFonts\Protect\HCode{</roman>}} | |
\Configure{textup}{\Protect\HCode{<span class="textup">}\NoFonts} | |
{\EndNoFonts\Protect\HCode{</span>}} | |
\Configure{textsf}{\Protect\HCode{<sans-serif>}\NoFonts} | |
{\EndNoFonts\Protect\HCode{</sans-serif>}} | |
\Configure{textsl}{\Protect\HCode{<italic>}\NoFonts} | |
{\EndNoFonts\Protect\HCode{</italic>}} | |
\Configure{texttt}{\Protect\HCode{<monospace>}\NoFonts} | |
{\EndNoFonts\Protect\HCode{</monospace>}} | |
\Configure{emph}{\Protect\HCode{<italic>}\NoFonts} | |
{\EndNoFonts\Protect\HCode{</italic>}} | |
\Configure{underline} | |
{\HCode{<underline>}\:gobble} | |
{\HCode{</underline>}} | |
\Configure{textsuperscript} | |
{\HCode{<sup>}} | |
{\HCode{</sup>}} | |
\Configure{textsubscript} | |
{\HCode{<sub>}} | |
{\HCode{</sub>}} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{book} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\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{quote} | |
{}{} | |
{\ifvmode\IgnorePar\fi\EndP% | |
\HCode{<disp-quote>}} | |
{\IgnorePar\EndP\HCode{</disp-quote>}\ShowPar\ShowIndent} | |
\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{report} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\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{quote} | |
{}{} | |
{\ifvmode\IgnorePar\fi\EndP% | |
\HCode{<disp-quote>}} | |
{\IgnorePar\EndP\HCode{</disp-quote>}\ShowPar\ShowIndent} | |
\ConfigureEnv{abstract} | |
{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}\normalfont} | |
{\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}} | |
{\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{quote} | |
{}{} | |
{\ifvmode\IgnorePar\fi\EndP% | |
\HCode{<disp-quote>}} | |
{\IgnorePar\EndP\HCode{</disp-quote>}\ShowPar\ShowIndent} | |
\ConfigureEnv{abstract} | |
{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}\normalfont} | |
{\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{amsart} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\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}\normalfont} | |
{\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>}}% | |
\ConfigureEnv{quote} | |
{}{} | |
{\ifvmode\IgnorePar\fi\EndP% | |
\HCode{<disp-quote>}} | |
{\IgnorePar\EndP\HCode{</disp-quote>}\ShowPar\ShowIndent} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\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}} | |
{\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}\normalfont} | |
{\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>}}% | |
\ConfigureEnv{quote} | |
{}{} | |
{\ifvmode\IgnorePar\fi\EndP% | |
\HCode{<disp-quote>}} | |
{\IgnorePar\EndP\HCode{</disp-quote>}\ShowPar\ShowIndent} | |
\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 | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\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}\normalfont} | |
{\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>}}% | |
\ConfigureEnv{quote} | |
{}{} | |
{\ifvmode\IgnorePar\fi\EndP% | |
\HCode{<disp-quote>}} | |
{\IgnorePar\EndP\HCode{</disp-quote>}\ShowPar\ShowIndent} | |
\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 | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{url} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\Configure{url}% | |
{\tmp:toks{#1}\ExternalLink[\noexpand\the\tmp:toks]{}{}{\let\UrlBigBreaks\empty | |
\let\UrlBreaks\empty #1}\EndExternalLink} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\ConfigureHinput{hyperref} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput\empty\empty\empty\empty\empty\empty | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\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{quote} | |
{}{} | |
{\ifvmode\IgnorePar\fi\EndP% | |
\HCode{<disp-quote>}} | |
{\IgnorePar\EndP\HCode{</disp-quote>}\ShowPar\ShowIndent} | |
\ConfigureEnv{abstract} | |
{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}\normalfont} | |
{\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>}}% | |
\ConfigureEnv{quote} | |
{}{} | |
{\ifvmode\IgnorePar\fi\EndP% | |
\HCode{<disp-quote>}} | |
{\IgnorePar\EndP\HCode{</disp-quote>}\ShowPar\ShowIndent} | |
\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{quote} | |
{}{} | |
{\ifvmode\IgnorePar\fi\EndP% | |
\HCode{<disp-quote>}} | |
{\IgnorePar\EndP\HCode{</disp-quote>}\ShowPar\ShowIndent} | |
\ConfigureEnv{abstract} | |
{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}\normalfont} | |
{\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{quote} | |
{}{} | |
{\ifvmode\IgnorePar\fi\EndP% | |
\HCode{<disp-quote>}} | |
{\IgnorePar\EndP\HCode{</disp-quote>}\ShowPar\ShowIndent} | |
\ConfigureEnv{abstract} | |
{\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}\normalfont} | |
{\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 | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\endinput | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment