%% Macros used in the table of contents
%%
\catcode`+\active\def+{\phantom0}%
\def\tocalx#1#2{\def\a{#1\relax}\noindent
\halign to\hsize{\a##\hfil\tabskip=0ptplus1fill&##\hfil\tabskip=1em&\hfil##\tabskip=0pt\cr#2}}%
\def\tocalxp#1#2#3{\def\a{#1\relax}\noindent
\halign to\hsize{\a##\hfil\tabskip=0ptplus1fill&##\hfil\tabskip=1em&\hfil\tpgref{#2##}\tabskip=0pt\cr#3}}%
\def\tocalxpr#1#2#3{\def\a{#1\relax}\noindent
\halign to\hsize{\a##\hfil\tabskip=0ptplus1fill&\hfil##\tabskip=1em&\hfil\tpgref{#2##}\tabskip=0pt\cr#3}}%
\def\tocbxp#1#2#3{\def\a{#1\relax}\noindent
\halign to\hsize{\a##\hfil\tabskip=0ptplus1fill&##\hfil\tabskip=0.5em&\hfil##\tabskip=1em&\hfil\tpgref{#2##}\tabskip=0pt\cr#3}}%
\def\toccxp#1#2#3{\def\a{#1\relax}\noindent
\halign to\hsize{\a##\hfil\tabskip=0ptplus1fill&%
\tabskip=0pt\hfil##&##\hfil\tabskip=0.5em&##\hfil\tabskip=1em&%
\hfil\tpgref{#2##}\tabskip=0pt\cr#3}}%
\def\tocdxp#1#2{\def\a{#1\relax}\noindent
\halign to\hsize{\a##\hfil\tabskip=0ptplus1fill&%
\hbox to7\digitwidth{##\hss}\tabskip=1em&\hfil\tpgref{=##=}\tabskip=0pt\cr#2}}%
\def\parta#1{\noindent\hskip4\parindent{#1}\par\medskip}%
\def\bx#1.{\hbox to1.7\digitwidth{\relax#1.\hfil}}%
%