\documentclass[titlepage,letterpaper]{article}

\usepackage[text={6.7in,9.1in},centering]{geometry}

\input{defs}

%\marginparwidth0pt\oddsidemargin0pt\evensidemargin0pt\marginparsep0pt
%\topmargin0pt\advance\topmargin by-\headheight\advance\topmargin by-\headsep
%\textwidth6.7in\textheight9.1in
\columnsep0.25in

\newcommand{\smlmj}{110}
\newcommand{\smlmn}{79}

\author{
  Matthias Blume \\
  \texttt{matthias\char`\_blume@mac.com}\\[0.5em]
  John Reppy\\
  \texttt{jhr@cs.chicago.edu}}
\date{Revised: September 2015}

\title{
  \textbf{CM}\\
  The SML/NJ Compilation and Library Manager \\
  \textit{\small (for SML/NJ version \smlmj.\smlmn~and later)} \\
  User Manual
}

\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 3pt minus 2pt}

\begin{document}

\bibliographystyle{alpha}

%%%%%%%%%% FRONT MATTER %%%%%%%%%%

\maketitle

\phantom{.}
\vspace{\stretch{1}}
\thispagestyle{empty}
	
\noindent Copyright \copyright{}2015.  Fellowship of SML/NJ.  All rights reserved.
	
\vskip 12pt
\noindent This document was written with support from NSF grant CNS-0454136,
``CRI: Standard ML Software Infrastructure.''
	
\pagebreak

\tableofcontents

%%%%%%%%%% FRONT MATTER %%%%%%%%%%
\pagebreak

\input{01-intro}
\input{02-cm-model}
\input{03-naming}
\input{04-exports}
\input{05-usage}
\input{06-versions}
\input{07-classes}
\input{08-condcomp}
\input{09-access}
\input{10-pervenv}
\input{11-files}
\input{12-moretools}
\input{13-parallel}
\input{14-smlcmdline}
\input{15-scripts}
\input{16-dynlink}
\input{17-history}

%%%%%%%%%% BACK MATTER %%%%%%%%%%
\pagebreak

\bibliography{cm}

\pagebreak

\appendix

\input{A-syntax}
\input{B-cmsig}
\input{C-predef}
\input{D-envvar}
\input{E-classes}
\input{F-libraries}
\input{G-toolslib}
\input{H-changes}

\end{document}
