% -*- Mode:Text -*- 
\documentstyle{book}

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

% \inputfilename is like \jobname, but is the file currently being read
\makeatletter
\def\@input#1{\openin1 #1\def\currentinputfile{#1} \ifeof1 \typeout
  {No file #1.}\else\closein1 \relax\@@input #1 \fi}
\makeatother
 \def\drip#1{}
 \def\inputfilename{\edef\CS{\expandafter\string\csname\currentinputfile\endcsname}\expandafter\drip\CS}

\def\runninghead{\relax
	{\em STEP Technical Reference}\par
	{\tt\sourcepath/\inputfilename}\par
	DRAFT, \today}

\input notecomm
\input cam8spec

\begin{document}

\addcontentsline{toc}{part}{\protect\numberline{1}{Theory}}

\input toctest.toc


\end{document}


