6.5 AMS Art, Proc, Book

  6.5.1 amsart
  6.5.2 amsproc
  6.5.3 amsdtx
  6.5.4 amsbook
  6.5.5 Divisions
  6.5.6 Tocs at Cut Points

6.5.1 amsart

<..configure html4 amsart..>
 <.ams art,proc,book.>
 <.ams art,proc.>
 <.ams art.>
-_-_-

<..ams art,proc,book..>+
 <.ams maketitle.>
 <.makeketitle config 4.0t.>
 <.thebib config.>
-_-_-

<..makeketitle config 4.0t..>
 <.config captions.>
-_-_-

<..ams art,proc,book..>+
 \ifx \deferred@thm@head\:UnDef\else
    <.shared ams thm/cls.>
    <.ams 2000 art + book + proc.>
 \fi
-_-_-

<..ams 2000 art + book + proc..>
 \Configure{qed}
      {\HCode{<span class="qed">}} {\HCode{</span>}}
 \Css{.qed {width:2ex; float:right; text-align:right;}}
-_-_-

<..shared ams thm/cls..>
 \Configure{proof}
    {\ifvmode \IgnorePar \fi \EndP
        \HCode{<div class="proof">}\par\ShowPar
        \HCode{<span class="head">}\IgnorePar}
    {\HCode{</span>}\ShowPar}
    {\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
-_-_-

6.5.2 amsproc

<..configure html4 amsproc..>
 <.ams art,proc,book.>
 <.ams proc,book.>
 <.ams art,proc.>
-_-_-

6.5.3 amsdtx

<..configure html4 amsdtx..>
 <.amsdtx maketitle.>
-_-_-

6.5.4 amsbook

<..configure html4 amsbook..>
 <.ams art,proc,book.>
 <.ams proc,book.>
 <.ams book.>
-_-_-

6.5.5 Divisions

<..ams art,proc,book..>+
 <.ams art,proc,book div.>
 <.ams art,proc,book toc.>  should appear before TocAt
 <.ams options 1, 2, 3.>
-_-_-

<..ams art,proc,book div..>+
 \ConfigureMark{part}
    {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
     \else
        \HCode{<span class="titlemark">}\@ifundefined{partname}{}{%
           \ignorespaces\partname\space}%
           \@seccntformat{part}%
        \HCode{</span>}\fi }
 \Configure{part}{}{}
    {\ifvmode \IgnorePar\fi \EndP\IgnorePar
     \HCode{<h1 class="partHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
    {\HCode{</h1>}\HtmlParOn \IgnoreIndent \par}
 \Configure{partTITLE+}{\thepart\space#1}
-_-_-

<..ams book..>+
 \Configure{likepart}{}{}
    {\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
    {\HCode{</h1>}\IgnoreIndent}
 \Configure{likepartTITLE+}{#1}
-_-_-

<..ams art,proc,book div..>+
 \ConfigureMark{section}
    {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
     \else
        \HCode{<span class="titlemark">}\@ifundefined{sectionname}{}{%
           \ignorespaces\sectionname\space}%
           \@seccntformat{section}%
        \HCode{</span>}\fi }
 <.section TITLE+.>
 \Configure{section}{}{}
    {\ifvmode \IgnorePar\fi \EndP\IgnorePar
     \HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
    {\HCode{</h3>}\HtmlParOn \IgnoreIndent \ShowPar\par}
-_-_-

<..section TITLE+..>
 \Configure{sectionTITLE+}{\ifnum \c:secnumdepth>\c@secnumdepth
       \ifnum \c@secnumdepth > 0
       \thesection\space
     \fi\fi #1}
-_-_-

<..subsection TITLE+..>
 \Configure{subsectionTITLE+}{\ifnum \c:secnumdepth>\c@secnumdepth
       \ifnum \c@secnumdepth > 0
       \thesubsection\space
     \fi\fi #1}
-_-_-

<..subsubsection TITLE+..>
 \Configure{subsubsectionTITLE+}{\ifnum \c:secnumdepth>\c@secnumdepth
       \ifnum \c@secnumdepth > 0
       \thesubsubsection\space
     \fi\fi #1}
-_-_-

<..ams art..>+
 \Css{.sectionHead{text-align:center;}}
-_-_-

<..ams proc,book..>+
 \Configure{paragraph}{}{}
   {\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\bf}
   {\endgroup\HCode{</span>}\IgnorePar}
 \ConfigureMark{subparagraph}{\thesubparagraph}
 \Css{.paragraphHead  { margin-top:2em; font-weight: bold;}}
-_-_-

<..ams art..>+
 \Configure{paragraph}{}{}
   {\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}}
   {.\HCode{</span>}\IgnorePar}
 \ConfigureMark{subparagraph}{}
-_-_-

<..ams proc,book..>+
 \Configure{subparagraph}{}{}
   {\ShowPar\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
    \TitleMark\space}
   {\endgroup\HCode{</span>}\IgnorePar}
 \Css{.subparagraphHead { font-weight: bold;}}
-_-_-

<..ams art..>+
 \Configure{subparagraph}{}{}
   {\ShowPar\noindent\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup
    \TitleMark\space}
   {.\endgroup\HCode{</span>}\IgnorePar}
-_-_-

<..ams book..>+
 \ConfigureMark{chapter}
    {\HCode{<span class="titlemark">}\chaptername
     \ \thechapter\HCode{</span>}}
 \Configure{chapter}{}{}
    {\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}%
      \TitleMark{\HCode{<br />}}}
    {\HCode{</h2>}\IgnoreIndent\par}
 \Configure{chapterTITLE+}{\thechapter\space#1}
-_-_-

<..ams book..>+
 \ConfigureMark{appendix}{\HCode{<span class="titlemark">}%
    \appendixname \ \thechapter\HCode{</span>}}
 \Configure{appendix}{}{}
    {\IgnorePar\EndP\HCode{<h2 class="appendixHead"\a:LRdir>}%
     \TitleMark{\HCode{<br />}}}
    {\HCode{</h2>}\IgnoreIndent}
 \Configure{appendixTITLE+}{\thechapter\space#1}
 \Configure{likechapter}{}{}
    {\IgnorePar\EndP\HCode{<h2 class="likechapterHead"\a:LRdir>}}
    {\HCode{</h2>}\IgnoreIndent}
 \Configure{likechapterTITLE+}{#1}
-_-_-

<..ams art,proc..>+
 \Configure{endsection}
      {part}
 \Configure{endsubsection}
    {section,part}
 \Configure{endsubsubsection}
    {subsection,section,part}
 \Configure{endparagraph}
    {subsubsection,subsection,section,part}
-_-_-

<..ams book..>+
 \Configure{endpart}{likepart}
 \Configure{endlikepart}{endpart}
 \Configure{endchapter}{likechapter,appendix,part,likepart}
 \Configure{endlikechapter}{chapter,appendix,part,likepart}
 \Configure{endappendix}{chapter,likechapter,part,likepart}
 \Configure{endsection}
    {chapter,likechapter,appendix,part,likepart}
 \Configure{endsubsection}
    {section,chapter,likechapter,appendix,part,likepart}
 \Configure{endsubsubsection}
    {subsection,section,chapter,likechapter,appendix,part,likepart}
 \Configure{endparagraph}
    {subsubsection,subsection,section,chapter,likechapter,%
     appendix,part,likepart}
-_-_-

6.5.6 Tocs at Cut Points

<..ams art,proc..>+
 \:CheckOption{1}     \if:Option
   <.toc article,report options 1.>
 \fi
-_-_-

<..ams book..>+
 \:CheckOption{1}     \if:Option
    <.toc book options 1.>
 \fi
-_-_-