Chapter 61
amsppt.sty

   61.1 Captions
   61.2 Lists (Rosters
   61.3 Bibliography
   61.4 Sectioning
   61.5 Everypar
   61.6 Footnotes
   61.7 Top Matter
   61.8 EndDocument

<..if not amsppt.sty..>
 \expandafter\ifx \csname amsppt.sty\endcsname\relax
 -_-_-

<..recall amsppt.sty..>
 <.if not amsppt.sty.> \else
    \ifx  \plainend\:UnDef \else
       \let\sv:end=\end  \let\end=\plainend
    \fi
    \let\sv:logo=\logo@  \let\logo@=\empty
 \fi
 -_-_-

<..amsppt.4ht..>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % amsppt.4ht                            2014-07-12-22:36 %
 % Copyright (C) 1997--2009       Eitan M. Gurari         %
 <.TeX4ht copyright.>
 \HRestore\footnote
 \append:def\EndPreamble{\let\logo@=\sv:logo \let\sv:logo=\empty}
 <.set amsppt.sty.>
 <.top matter of amsppt.sty.>
 <.everypar in amsppt.sty.>
 <.hfonts for amsppt.sty.>
 <.sectioning in amsppt.sty.>
 <.footnotes in amsppt.sty.>
 <.bib in amsppt.sty.>
 <.roster in amsppt.sty.>
 <.captions in amsppt.sty.>
 <.enddocument in amsppt.sty.>
 <.config amsppt + vanilla shared.>
 \Hinput{amsppt}
 \endinput
 -_-_-

In older files the ams-logo is printer at the first page, possibly before \endmatters. This can be a problem if the \EndPreamble stuff is pushed to the second page.

<..set amsppt.sty..>
 \append:def\block{\ifx \EndPicture\:UnDef \:block
   \pend:def\endblock{\end:block} \fi}
 \NewConfigure{block}{2}
 -_-_-