% -*- Mode:Text -*- 
% tt 10-13-94

 \makeatletter

 \def\maker#1#2{
	\def\majcapt{#1}\addtocontents{toc}{\vskip.5ex\noindent\tbf{#1}}
 \include{+#2}
}


%----------------------------------------------------------------
% redefine \tableofsheets so that it will not execute \@starttoc
 \def\tableofsheets#1{%		name of data sheet tocs
	\def\newsheet##1{%		#1=sheet caption
		\onecolumn
		\setcounter{sheetbasepage}{\value{page}}
		\multipagefalse
		\pagestyle{sheet}
		\def\mincapt{##1}
		\addtocontents{#1}{\vskip\z@\noindent\quad\ttt{##1}}
	}
	\def\sheetcomment##1{%		#1=sheet comment
		\addtocontents{#1}{\if @##1@\else\quad(##1)\fi}
	}
	\def\sheetgroup##1{%		#1=sheet-group caption
		\addtocontents{#1}{\vskip.5ex\noindent\tbf{##1}}
		\def\majcapt{##1}
	}
%        \@starttoc{#1}
 }

% now make the usal toc be the target table-of-sheets
\tableofsheets{toc}

%----------------------------------------------------------------
 \makeatother

% where to find the PS pages
\path{/projects/scan/ps}
