exit Instructions for converting 9 AMS preprints

The following examples show minimal workable configurations, without any attempt to improve the quality of the output. They all deal with features that are currently under development.

Assuming the script ht and the file cfg.cfg, the files below can be compiled with the commands (some need to invoke tex instead of latex):

199408-05-002.texInsert `\input cfg.cfg' after `\def\sgn{{\rm sgn}\,}'
199501-20-001.texInsert `\input cfg.cfg' after `\documentstyle...'
Replace
`2(l(a)-l(u)))' with `2(l(a)-l(u))'
Replace
`($n,k \in {\bf N})$' with `$(n,k \in {\bf N})$'
Replace
`$....$, and $S_{r+1}...$' with `$....\mbox{, and }S_{r+1}...$'
Replace
`$, for $r=1, \ldots , |S| \}' with `\mbox{, for }r=1, \ldots , |S| \}'
Replace (many)
`^{^' with `^{\BASE^', `_{_' with `_{\BASE_', and `\(^{' with `\(\BASE^{'
Add file 199501-20-001.cfg
\CheckSwitch{all} 
\def\BASE{{\HCode{}}} 
\CheckSwitch{} 
199504-05-007.texInsert `\input cfg.cfg' after `\documentstyle...'
Replace
`\Bigl\rceil \ldots \Bigl\rceil \Bigl\rceil \,.' with `\Bigr\rceil \ldots \Bigr\rceil \Bigr\rceil \,.'
Comment out
`\input{tables}' (the file is missing)
199504-05-008.texInsert `\input cfg.cfg' after `\documentstyle...'
Add file 199504-05-008.cfg
\CheckSwitch{mathml} 
\let\save=\maketitle 
\def\maketitle{% 
  \renewcommand{\opname}[1]{% 
     \Configure{mathop*}{*}{<mrow>}{</mrow>}% 
        {\Configure{mathop}{}{}{}{}} 
        \mathop{\fam0##1}}\save} 
\CheckSwitch{} 
199602-11-002.texInsert `\input cfg.cfg' before `%\nonumbers'
Replace
`$$ \qn-\qm \in [\del,\ 2 \del[' with `% $$ \qn-\qm \in \mathopen[\del,\ 2 \del\mathclose['
Add file 199602-11-002.cfg
\CheckSwitch{mathml} 
\def\d{{\,\rm d}} 
\CheckSwitch{} 
199612-05-001.texInsert `\input cfg.cfg' after `%END VANILLA.STY'
Add
`\endproclaim' after `{\sssB\hbox{\char4}}'
Replace
`$\gamma_i)' with `$(\gamma_i)'
Replace
`mod({}_\alpha M)' with `mod({\BASE}_\alpha M)'
Add file 199612-05-001.cfg
\CheckSwitch{all} 
\def\BASE{{\HCode{}}} 
\CheckSwitch{} 
199701-11-001.texInsert `\input cfg.cfg' before `%-------------MAIN TEXT'
Replace
`Im($z_1/2)<{\rm Im}(z'_i)$' with `Im$(z_1/2)<{\rm Im}(z'_i)$'
Add file 199701-11-001.cfg
\CheckSwitch{all} 
\def\H{{\cal H}} 
\CheckSwitch{html} 
\Configure{$$} 
  {\EndP\PicDisplay}{\EndPicDisplay}{} 
\CheckSwitch{voyager} 
\Configure{$$} 
  {\EndP\PicDisplay}{\EndPicDisplay}{} 
\CheckSwitch{mathml} 
   \def\nmid{\Configure{mathrel*}{*}% 
      {<mrow class="mathrel">}{</mrow>} 
      {\Configure{mathrel}{}{}{}{}}\mathrel 
        {\mathpalette\cncel\mid}} 
\CheckSwitch{} 
199810-11-001.texInsert `\input cfg.cfg' before `\def\A{{\bf A}}'
Replace
`\footnote{$^{#1)}$}{{' with `\footnote{$^{(#1)}$}{'
Add file 199810-11-001.cfg
\CheckSwitch{all} 
 \def\b{{\bf b}} 
 \def\c{{\bf c}} 
  \def\aa{a_1^2+a_2^2} 
\CheckSwitch{} 
testmath.texInsert `\input cfg.cfg'
Replace
`{((\lambda)}' with `{(\lambda)}'
Add file testmath.cfg
\CheckSwitch{early-mathml} 
\def\OPTIONS{ref-} 
\CheckSwitch{}