\documentclass[letterpaper,12pt,oneside]{book}  
% this is all set to print out as either oneside or twoside depending on the flag above

%\setlength{\topmargin}{1in}
%\setlength{\leftmargin}{1.5in}
%\setlength{\rightmargin}{1in}
%\setlength{\oddsidemargin}{0in}
%\setlength{\evensidemargin}{0in}
%\setlength{\textwidth}{6.0in}
%\setlength{\textheight}{8.5in}

\oddsidemargin 0in
\evensidemargin 0in
\topmargin 0in
\textwidth 6.5in
\textheight 8.5in

%\usepackage[letterpaper]{geometry}
%\geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}


\setlength{\headheight}{0in}
\setlength{\headsep}{0.4in}
\setlength{\marginparsep}{0in}
\setlength{\marginparwidth}{0in}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{3}
\usepackage{verbatim}
\usepackage{graphicx}
\usepackage{color}

\renewcommand{\baselinestretch}{2}
%\usepackage{amsmath}  
\usepackage{/home/paciorek/scf/latex/paciorek-hei,times,graphics,lineno}  % paciorek-hei?
\input{/home/paciorek/scf/latex/paciorekMacros}
%\pagenumbering{arabic}  

% Steps to create ps file from lyx docs
%export ch{1-6}.lyx to latex from within lyx.
%Run perl main.pl 
%This will convert ch{1-6}.tex to ch{1-6}a.tex, doing some formatting stuff, then it will latex main.tex
%The result should be main.dvi
%Run dvips main to create main.ps

%\includeonly{ch5a}

\begin{document}  
\pagenumbering{arabic}
\include{title}
 \setcounter{page}{2}
\tableofcontents
%\addtocounter{page}{2}
\pagewiselinenumbers
\addcontentsline{toc}{chapter}{Abstract}
%\begin{raggedright}
\include{absa}  
% make sure initial mention of PM is not changed to PM2.5

 %\listoftables
 %\listoffigures

% put \pagenumbering{arabic} at start of ch1a.tex, otherwise, last page in list of figs will be page 1

% at beginning of ch1
%\chapter{Introduction}
% \pagenumbering{arabic}

\include{introa} % \include{ch1} ???
\include{aimsa} % \include{ch2} ???  
\include{esta} % \include{ch2} ???  
\include{goesAlgoa} % \include{ch2} ???  
\include{ehpa} % \include{ch2} ???  
\include{bcsa} % \include{ch2} ???  
\include{misrAnala} % \include{ch2} ???  
\include{buffera} % \include{ch2} ???  
\include{disca} % \include{ch2} ???  

\addcontentsline{toc}{chapter}{Acknowledgments}
\include{ack}  % acknowledgements

\bibliographystyle{/home/paciorek/scf/latex/paciorek-hei}
\addcontentsline{toc}{chapter}{References}
\bibliography{/home/paciorek/scf/bibfiles/abbrev.stat,/home/paciorek/scf/bibfiles/abbrev.other,/home/paciorek/scf/bibfiles/spatfit,/home/paciorek/scf/bibfiles/spatstat,/home/paciorek/scf/bibfiles/statgeneral,/home/paciorek/scf/bibfiles/paciorek,/home/paciorek/scf/bibfiles/ml,/home/paciorek/scf/bibfiles/thesis,/home/paciorek/scf/bibfiles/env}

% at beginning of appendix tex
\addcontentsline{toc}{chapter}{Appendices}
%\appendix % put this at beginning of first appendix file or here
\include{dataa}
\renewcommand{\theequation}{B\arabic{equation}}
\include{appEsta}
\setcounter{equation}{0}
\renewcommand{\theequation}{C\arabic{equation}}
\include{appBcsa}
\include{appBuffCode}

\addcontentsline{toc}{chapter}{About the Authors}
\include{about} 
\addcontentsline{toc}{chapter}{Other Publications}
\include{otherPubs}
\addcontentsline{toc}{chapter}{Abbreviations}
\include{abbrevs} 
\renewcommand{\thetable}{\arabic{table}}
\renewcommand{\thefigure}{\arabic{figure}}

\addcontentsline{toc}{chapter}{Tables}
\renewcommand{\baselinestretch}{1.5}
\include{tabs} % \include{ch2} ??? 
% need new page between each figure 
\addcontentsline{toc}{chapter}{Figures}
\include{figs} % \include{ch2} ???  

%\end{raggedright}

\end{document} 












