| 1 |
% amsart.4ht (2023-03-21-10:02), generated from tex4ht-4ht.tex |
| 2 |
% Copyright 1997-2009 Eitan M. Gurari |
| 3 |
% Copyright 2009-2023 TeX Users Group |
| 4 |
% |
| 5 |
% This work may be distributed and/or modified under the |
| 6 |
% conditions of the LaTeX Project Public License, either |
| 7 |
% version 1.3c of this license or (at your option) any |
| 8 |
% later version. The latest version of this license is in |
| 9 |
% http://www.latex-project.org/lppl.txt |
| 10 |
% and version 1.3c or later is part of all distributions |
| 11 |
% of LaTeX version 2005/12/01 or later. |
| 12 |
% |
| 13 |
% This work has the LPPL maintenance status "maintained". |
| 14 |
% |
| 15 |
% The Current Maintainer of this work |
| 16 |
% is the TeX4ht Project <http://tug.org/tex4ht>. |
| 17 |
% |
| 18 |
% If you modify this program, changing the |
| 19 |
% version identification would be appreciated. |
| 20 |
\immediate\write-1{version 2023-03-21-10:02} |
| 21 |
|
| 22 |
\pend:defII\@starttoc{\par} |
| 23 |
\append:def\quote{\par\@totalleftmargin\z@} |
| 24 |
\NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}% |
| 25 |
\c:def\cptC:{#3}\c:def\cptD:{#4}} |
| 26 |
\long\def\@makecaption#1#2{% |
| 27 |
{\cptA: \cap:ref{#1}% |
| 28 |
\if :#1:\else\cptB:\fi}{\cptC:{#2}\cptD:}} |
| 29 |
|
| 30 |
|
| 31 |
\pend:def\caption{\SkipRefstepAnchor} |
| 32 |
\long\def\c:theindex:#1#2#3#4#5#6#7#8#9{% |
| 33 |
\def\theindex{\SaveEverypar\ht:everypar{}#1% |
| 34 |
\def\idx:item{}% |
| 35 |
\def\endtheindex{\idx:item#2\RecallEverypar}% |
| 36 |
\def\item{\idx:item\def\idx:item{#4}\let\index\@gobble #3}% |
| 37 |
\def\subitem{\idx:item\def\idx:item{#6}\let\index\@gobble #5}% |
| 38 |
\def\subsubitem{\idx:item\def\idx:item{#8}\let\index\@gobble #7}}% |
| 39 |
\def\indexspace{\idx:item#9\let\idx:item\empty}} |
| 40 |
\def\warn:idx#1{% |
| 41 |
\expandafter\ifx \csname #1warn:idx\endcsname\relax |
| 42 |
\expandafter\global |
| 43 |
\expandafter\let \csname #1warn:idx\endcsname\def |
| 44 |
\writesixteen |
| 45 |
{---------------------------------------------------------}% |
| 46 |
\:warning{If not done so, the index is to be processed by |
| 47 |
^^J\space\space tex '\string\def\string\filename |
| 48 |
{{#1}{idx}{4dx}{ind}} \noexpand\input\space idxmake.4ht' |
| 49 |
^^J\space\space makeindex -o #1.ind #1.4dx |
| 50 |
^^Jinstead of |
| 51 |
^^J\space\space makeindex -o #1.ind #1.idx |
| 52 |
^^JOn some platforms, the quotation marks ' should be |
| 53 |
^^J replaced by double quotation marks " or eliminated. |
| 54 |
^^J--------------------------------------------------------- |
| 55 |
}% |
| 56 |
{\Configure{Needs}{File: #1.4idx}\Needs{}}% |
| 57 |
\fi} |
| 58 |
\ifOption{info}{\Log:Note{ |
| 59 |
A script of the form |
| 60 |
^^Jtex '\def\string\filename{{\%\%1}{idx}{4dx}{ind}} |
| 61 |
\string\input\space idxmake.4ht' |
| 62 |
^^Jmakeindex -o \%\%1.ind \%\%1.4dx |
| 63 |
^^Jin the env file, automatically calls to the revised makeindex |
| 64 |
^^Jcommand. An extra compilation of the source LaTeX file is required, |
| 65 |
^^Jto get the index correctly into the output.}}{} |
| 66 |
\def\ind:defs{\let\LNKidx\empty |
| 67 |
\def\LNK##1##2##3##4{\ifx\NewConfigure\:UnDef\else |
| 68 |
\def\LNK:number{##4}% |
| 69 |
\a:LNK[##1]{##2}{}\gHAdvance\:LNKno1 |
| 70 |
\def\:THIrd{##3}\ifx\:THIrd\empty |
| 71 |
\LNKidx{\ifx\c:LNK\empty\:LNKno\else \c:LNK\fi}\else |
| 72 |
\LNKidx{##3}\fi |
| 73 |
\global\let\LNKidx\empty |
| 74 |
\b:LNK |
| 75 |
\fi}% |
| 76 |
\def\:LNKno{0}} |
| 77 |
\NewConfigure{LNK}{3} |
| 78 |
\Configure{LNK}{\Link}{\EndLink}{} |
| 79 |
\def\yhbLNK#1{\expandafter\let\expandafter\LNKidx\csname |
| 80 |
#1\endcsname\LNK} |
| 81 |
|
| 82 |
\Configure{@begin}{theindex}{\ind:defs} |
| 83 |
|
| 84 |
|
| 85 |
\Configure{UndefinedSec}{likepart} |
| 86 |
\Configure{UndefinedSec}{likechapter} |
| 87 |
\Configure{UndefinedSec}{likesection} |
| 88 |
\Configure{UndefinedSec}{likesubsection} |
| 89 |
\let\no@section\section |
| 90 |
\Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth \else |
| 91 |
\thesection \fi}{#1} |
| 92 |
\let\no:section\section |
| 93 |
\def\section{\rdef:sec{section}} |
| 94 |
\let\no@subsection\subsection |
| 95 |
\Def:Section\subsection{\ifnum \c:secnumdepth>\c@secnumdepth \else |
| 96 |
\thesubsection \fi}{#1} |
| 97 |
\let\no:subsection\subsection |
| 98 |
\def\subsection{\rdef:sec{subsection}} |
| 99 |
\let\no@subsubsection\subsubsection |
| 100 |
\Def:Section\subsubsection{\ifnum \c:secnumdepth>\c@secnumdepth \else |
| 101 |
\thesubsubsection \fi}{#1} |
| 102 |
\let\no:subsubsection\subsubsection |
| 103 |
\def\subsubsection{\rdef:sec{subsubsection}} |
| 104 |
\let\no@paragraph\paragraph |
| 105 |
\Def:Section\paragraph{\ifnum \c:secnumdepth>\c@secnumdepth \else |
| 106 |
\theparagraph \fi}{#1} |
| 107 |
\let\no:paragraph\paragraph |
| 108 |
\def\paragraph{\rdef:sec{paragraph}} |
| 109 |
\let\no@subparagraph\subparagraph |
| 110 |
\Def:Section\subparagraph{\ifnum \c:secnumdepth>\c@secnumdepth \else |
| 111 |
\thesubparagraph \fi}{#1} |
| 112 |
\let\no:subparagraph\subparagraph |
| 113 |
\def\subparagraph{\rdef:sec{subparagraph}} |
| 114 |
|
| 115 |
\let\:setaddresses=\@setaddresses |
| 116 |
\def\@setaddresses{\bgroup |
| 117 |
\pend:def\addresses{% |
| 118 |
\let\:address=\address |
| 119 |
\def\address########1########2{% |
| 120 |
\@ifnotempty{########2}{% |
| 121 |
\def\:temp{########1}\ifx \:temp\empty |
| 122 |
\:address{}{\a:address\b:address########2\c:address}% |
| 123 |
\else |
| 124 |
\:address{\a:address |
| 125 |
########1}{\b:address########2\c:address}% |
| 126 |
\fi }}% |
| 127 |
\let\:curraddr=\curraddr |
| 128 |
\def\curraddr########1########2{% |
| 129 |
\@ifnotempty{########2}{\a:curraddr |
| 130 |
\:curraddr{########1}{\b:curraddr########2\c:curraddr}% |
| 131 |
}}% |
| 132 |
\let\:email=\email |
| 133 |
\def\email########1########2{% |
| 134 |
\@ifnotempty{########2}{\a:email |
| 135 |
\:email{########1}{\b:email########2\c:email}% |
| 136 |
}}% |
| 137 |
\let\:urladdr=\urladdr |
| 138 |
\def\urladdr########1########2{% |
| 139 |
\@ifnotempty{########2}{\a:urladdr |
| 140 |
\:urladdr{########1}{\b:urladdr########2\c:urladdr}% |
| 141 |
}}% |
| 142 |
% |
| 143 |
}% |
| 144 |
\a:addresses \:setaddresses \b:addresses\egroup } |
| 145 |
\NewConfigure{addresses}{2} |
| 146 |
\NewConfigure{address}{3} |
| 147 |
\NewConfigure{curraddr}{3} |
| 148 |
\NewConfigure{email}{3} |
| 149 |
\NewConfigure{urladdr}{3} |
| 150 |
\pend:def\@settranslators{\a:translators\bgroup |
| 151 |
\def\and{\unskip{ } \d:translators and~\c:translators\ignorespaces}% |
| 152 |
\def\andify{\nxandlist{\unskip, }{\unskip{} \and}{\unskip, \and}}% |
| 153 |
\pend:def\@translators{\c:translators}% |
| 154 |
\append:def\@translators{\d:translators}% |
| 155 |
} |
| 156 |
\append:def\@settranslators{\egroup\b:translators} |
| 157 |
\NewConfigure{translators}{4} |
| 158 |
\NewConfigure{maketitle}[4]{\c:def\a:mktl{#1}\c:def\b:mktl{#2}% |
| 159 |
\c:def\a:ttl{#3}\c:def\b:ttl{#4}} |
| 160 |
\append:def\@maketitle{\a:@maketitle\after:maketitle\b:@maketitle} |
| 161 |
\long\def\end:maketitle#1#2{\ifx #1\empty \else |
| 162 |
\expandafter\let\csname :\string #1\endcsname=#1 |
| 163 |
\let#1=\empty |
| 164 |
\append:def\after:maketitle{\expand:after{\let#1=}\csname |
| 165 |
:\string #1\endcsname#2}\fi} |
| 166 |
\NewConfigure{@maketitle}{2} |
| 167 |
\HRestore\thanks |
| 168 |
\let\@adminfootnotes\relax |
| 169 |
\def\:thanks#1{\par \a:thanks#1\@addpunct.\b:thanks} |
| 170 |
\NewConfigure{thanks author date and}[8]{% |
| 171 |
\c:def\a:thanks{#1}\c:def\b:thanks{#2}\c:def\a:author{#3}\c:def\b:author{#4}% |
| 172 |
\c:def\a:date{#5}\c:def\b:date{#6}\c:def\a:and{#7}\c:def\e:mktl{#8}} |
| 173 |
\NewConfigure{subjclass}{2} |
| 174 |
\NewConfigure{keywords}{2} |
| 175 |
\pend:def\@setabstracta{\ifvoid\abstractbox |
| 176 |
\else\a:setabstract \fi} |
| 177 |
\append:def\@setabstracta{\ifvoid\abstractbox |
| 178 |
\else\b:setabstract \fi} |
| 179 |
\NewConfigure{setabstract}{2} |
| 180 |
\pend:defI\@seccntformat{% |
| 181 |
\def\@secnumpunct{\ifnum \c:secnumdepth>0 |
| 182 |
\expandafter\ifx\csname the##1\endcsname\relax \else. \fi\fi}} |
| 183 |
|
| 184 |
\def\tableofcontents{% |
| 185 |
\ifx\contentsname\empty \else |
| 186 |
\ifx\contentsname\:UnDef \else |
| 187 |
% \Configure{toToc}{}{section}% |
| 188 |
% |
| 189 |
\section*{\contentsname}% |
| 190 |
% |
| 191 |
% |
| 192 |
% \Configure{toToc}{?}{section}% |
| 193 |
\fi\fi |
| 194 |
\:tableofcontents} |
| 195 |
|
| 196 |
\pend:def\@maketitle{% |
| 197 |
\pend:def\newpage{\IgnorePar}% |
| 198 |
\let\after:maketitle=\empty |
| 199 |
\ifx\@date\empty\else |
| 200 |
\end:maketitle\@date{\a:date\@setdate\b:date}\fi |
| 201 |
% |
| 202 |
\end:maketitle\@subjclass{\a:subjclass\@setsubjclass\b:subjclass}% |
| 203 |
\end:maketitle\@keywords{\a:keywords\@setkeywords\b:keywords}% |
| 204 |
\end:maketitle\@setthanks{\let\thanks=\:thanks\thankses}% |
| 205 |
} |
| 206 |
|
| 207 |
\let\o:maketitle:\maketitle |
| 208 |
\def\maketitle{\bgroup |
| 209 |
\gHAdvance\:mpNum by 1 |
| 210 |
\HAssign\minipageNum=\:mpNum \relax |
| 211 |
% |
| 212 |
\ifx \EndPicture\:UnDef |
| 213 |
\def\sec:typ{title}% |
| 214 |
% |
| 215 |
\pend:def\@author{\a:author}\append:def\@author{\b:author}% |
| 216 |
\def\and{\a:and} |
| 217 |
% |
| 218 |
% |
| 219 |
\fi |
| 220 |
\pic:gobble\a:mktl \o:maketitle: \pic:gobble\b:mktl |
| 221 |
\egroup \let\maketitle\empty} |
| 222 |
|
| 223 |
|
| 224 |
\ifx \deferred@thm@head\:UnDef\else |
| 225 |
\ifx \deferred@thm@head\:UnDef\else |
| 226 |
\expandafter\dth@everypar\expandafter{% |
| 227 |
\the\dth@everypar |
| 228 |
\edef\:temp{\the\ht:everypar}\ifx \:temp\empty |
| 229 |
\ht:everypar{\HtmlPar}\ShowPar |
| 230 |
\fi |
| 231 |
}% |
| 232 |
\def\deferred@thm@head#1{% |
| 233 |
\if@inlabel \indent \par \fi |
| 234 |
\if@nobreak |
| 235 |
\adjust@parskip@nobreak |
| 236 |
\else |
| 237 |
\addpenalty\@beginparpenalty |
| 238 |
\addvspace\@topsep |
| 239 |
\addvspace{-\parskip}% |
| 240 |
\fi |
| 241 |
\global\@inlabeltrue |
| 242 |
\ht:everypar\dth@everypar |
| 243 |
\let\sv:newtheorem=\b:newtheorem \let\b:newtheorem=\empty |
| 244 |
\item[\normalfont#1]% |
| 245 |
\let\b:newtheorem=\sv:newtheorem \b:newtheorem \ignorespaces |
| 246 |
} |
| 247 |
|
| 248 |
\fi |
| 249 |
\def\:temp#1{% |
| 250 |
\def\:temp{#1}% |
| 251 |
\edef\:temp{\expandafter\eorem:syle \meaning\:temp!*?: }% |
| 252 |
\expandafter\let\expandafter\@tmp:sv\csname th@\:temp\endcsname |
| 253 |
\def\:tempa##1{% |
| 254 |
\expandafter\append:def\csname th@##1\endcsname{% |
| 255 |
\expandafter\let\csname th@##1\endcsname=\@tmp:sv |
| 256 |
\let\thm:headnl=\thmheadnl |
| 257 |
\pend:def\thmheadnl{\let\thmheadnl\thm:headnl \b:newtheorem}% |
| 258 |
\append:def\thmheadnl{\expandafter |
| 259 |
\ht:everypar\expandafter{\the\ht:everypar |
| 260 |
\ht:everypar{\HtmlPar}}}}}% |
| 261 |
\expandafter\:tempa\expandafter{\:temp}% |
| 262 |
\let\sv:trivlist=\trivlist |
| 263 |
\def\trivlist{\let\trivlist\sv:trivlist \let\sv:trivlist\:unDef |
| 264 |
\a:newtheorem \trivlist}% |
| 265 |
\aftergroup\c:newtheorem |
| 266 |
\:thm{#1}} |
| 267 |
\HLet\@thm\:temp |
| 268 |
\HRestore\@endtheorem |
| 269 |
\bgroup |
| 270 |
\def\bgroup{\catcode`\\=0 \catcode`\t=11 } |
| 271 |
\catcode`\/=0 |
| 272 |
\catcode`\@=12 |
| 273 |
\catcode`\h=12 |
| 274 |
\catcode`\\=12 |
| 275 |
/catcode`/t=12 |
| 276 |
/edef~{/def/noexpand/eorem:syle##1\th@##2 !*?: {##2}} |
| 277 |
/bgroup |
| 278 |
\expandafter\egroup ~ |
| 279 |
\long\def\:temp[#1]{\par\a:proof |
| 280 |
\csname o:\string\proof :\endcsname[#1]\b:proof} |
| 281 |
\expandafter\HLet\csname \string\proof \endcsname=\:temp |
| 282 |
\append:def\endproof{\c:proof} |
| 283 |
\NewConfigure{proof}{3} |
| 284 |
|
| 285 |
\def\:tempc{\ifmmode \mathqed \else |
| 286 |
\leavevmode \a:qed\hbox {\qedsymbol}\b:qed\fi} |
| 287 |
\expandafter\HLet\csname qed \endcsname=\:tempc |
| 288 |
\NewConfigure{qed}{2} |
| 289 |
|
| 290 |
\fi |
| 291 |
|
| 292 |
\pend:def\@settitle{\a:ttl} |
| 293 |
\append:def\@settitle{\b:ttl\par} |
| 294 |
\pend:defI\@setauthors{\a:author \bgroup |
| 295 |
\def\andify{\nxandlist{\unskip, }{\unskip{} \and}{\unskip, \and}}% |
| 296 |
\def\@no@lnbk ########1[########2]{\a:newline}} |
| 297 |
\append:defI\@setauthors{\egroup \b:author\par} |
| 298 |
\let\no@part\part |
| 299 |
\Def:Section\part{\ifnum \c:secnumdepth>\c@secnumdepth \else |
| 300 |
\thepart \fi}{#1} |
| 301 |
\let\no:part\part |
| 302 |
\def\part{\rdef:sec{part}} |
| 303 |
|
| 304 |
\def\no@sect#1#2#3#4#5#6[#7]#8{% |
| 305 |
\edef\@toclevel{\ifnum#2=\@m 0\else\number#2\fi}% |
| 306 |
\ifnum #2>\c@secnumdepth \let\@secnumber\@empty |
| 307 |
\else \@xp\let\@xp\@secnumber\csname the#1\endcsname |
| 308 |
\refstepcounter{#1}\fi |
| 309 |
\let\@svsec\empty |
| 310 |
\let\@svsechd\empty |
| 311 |
\global\@nobreaktrue |
| 312 |
\@xsect{#5}} |
| 313 |
\let\@ssect=\relax |
| 314 |
|
| 315 |
|
| 316 |
\def\endtable{\end@float} |
| 317 |
\def\endfigure{\end@float} |
| 318 |
|
| 319 |
\def\:tableofcontents{\futurelet\:temp\:TOC} |
| 320 |
\def\Auto:ent#1{% |
| 321 |
\edef\auto:toc{\noexpand\:TableOfContents[\ifx \auto:toc\:UnDef |
| 322 |
#1\else \auto:toc \fi]} \auto:toc |
| 323 |
\global\let\auto:toc\:UnDef } |
| 324 |
|
| 325 |
\edef\:TOC{% |
| 326 |
\noexpand\ifx [\noexpand\:temp |
| 327 |
\noexpand\expandafter\noexpand\:TableOfContents |
| 328 |
\noexpand\else |
| 329 |
\noexpand\Auto:ent{\ifnum \c@tocdepth >\m@ne part,\fi |
| 330 |
\ifnum \c@tocdepth >\z@ section,\fi |
| 331 |
\ifnum \c@tocdepth >1 subsection,\fi |
| 332 |
\ifnum \c@tocdepth >2 subsubsection,\fi |
| 333 |
\ifnum \c@tocdepth >3 paragraph,\fi |
| 334 |
\ifnum \c@tocdepth >4 subparagraph,\fi |
| 335 |
UnDFexyz |
| 336 |
}\noexpand\fi} |
| 337 |
|
| 338 |
\NewConfigure{tableofcontents*}[1]{% |
| 339 |
\def\:tempa{#1}\ifx\empty\:tempa |
| 340 |
\ifx \au:StartSec\:UnDef \else \gdef\:StartSec{\au:StartSec}\fi |
| 341 |
\else |
| 342 |
\edef\auto:toc{#1}% |
| 343 |
\ifx \au:StartSec\:UnDef |
| 344 |
\let\au:StartSec\:StartSec |
| 345 |
\def\:StartSec{\:tableofcontents |
| 346 |
\global\let\auto:toc\:UnDef \global\let\:StartSec\au:StartSec\:StartSec}% |
| 347 |
\append:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}% |
| 348 |
\fi \fi |
| 349 |
} |
| 350 |
|
| 351 |
\Hinput{amsart} |
| 352 |
\endinput |
| 353 |
|