% -*- Mode:Text -*- 
% PROGRAMMABLE MATTER (DOE proposal, 1992)

\documentstyle{book}

\input pack10.sty
\input packchapter.sty
\input sorspath

% \inputfilename is like \jobname, but is the file currently being read

\proofbox{{\em Programmable Matter (1992 DOE proposal)}\par
	  {\tt\sourcepath/\inputfilename}\par
	  \today}

% ========================================================================
% The file actbib.aux will contain statistics of citation usage, namely,
% -- bibitems that are cited in the text but missing in the bibliography
%    are listed as		-1	<item name>
% -- bibitems that are cited in the text and appear in the bibliogrphy
%    are listed as		<item#> <item name>
% -- bibitems that are not cited do not appear at all
% To remove duplicates and sort the actbib file, do (from UNIX)
%	sort -u -n -o target_file actbib.aux

% \citex is redefined to output citation name and number to actbib.aux

 \newwrite\actbib \immediate\openout\actbib=actbib.aux

 \makeatletter
\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
  \def\@citea{}\@cite{\@for\@citeb:=#2\do
    {\@citea\def\@citea{,\penalty\@m\ }\@ifundefined
       {b@\@citeb}{{\bf ?}\@warning
       {Citation `\@citeb' on page \thepage \space undefined}}%
\hbox{\csname b@\@citeb\endcsname}%
{\def\space{ }\@ifundefined{b@\@citeb}%
{\edef\@dummy{\write\actbib{-0\space\@citeb}}}%
{\edef\@dummy{\write\actbib{\csname b@\@citeb\endcsname\space\@citeb}}}%
\@dummy}%
}}{#1}}
 \makeatother
% ========================================================================

 \input psfig
 \input notecomm

 \newcommand{\cam}{{\sc cam}}
 \newcommand{\Cam}{{\sc Cam}}
 \newcommand{\cm}{{\sc cm}}
 \newcommand{\ccp}{{\sc ccp}}
 \newcommand{\ccps}{{\sc ccp}s}
 \newcommand{\CCP}{conveyor-collision process}
 \newcommand{\CCPs}{conveyor-collision processes}
 \newcommand{\cpu}{{\sc cpu}}
 \newcommand{\darpa}{{\sc darpa}}
 \newcommand{\doe}{{\sc doe}}
 \newcommand{\prom}{{\sc prom}}
 \newcommand{\dram}{{\sc dram}}
 \newcommand{\sram}{{\sc sram}}
 \newcommand{\vlsi}{{\sc vlsi}}
 \newcommand{\hpp}{{\sc hpp}}
 \newcommand{\fhp}{{\sc fhp}}
 \newcommand{\tm}[1]{{Tech.\ Memo MIT/LCS/TM-#1}, MIT Lab.\ for Comp.\ Sci.}
 \newcommand{\tr}[1]{{Tech.\ Rep.\ MIT/LCS/TM-#1}, MIT Lab.\ for Comp.\ Sci.}


 \begin{document}

  \include{_title}
  \pagenumbering{roman}
  \include{_toc}
  \pagenumbering{arabic}

 \include{_intro}
 \include{_back}
 \include{_lab}
% \include{_plan}

 \include{_cam8}
 \include{_bib}
% \include{_bio}
% \include{_fac}

%========================================================================

 \end{document}
