diff options
Diffstat (limited to 'doc/headers.tex')
-rw-r--r-- | doc/headers.tex | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/headers.tex b/doc/headers.tex index f5b337340..cccd277c3 100644 --- a/doc/headers.tex +++ b/doc/headers.tex @@ -23,7 +23,7 @@ \renewcommand{\contentsname}{% \protect\setheaders{Table of contents}Table of contents} \renewcommand{\bibname}{\protect\setheaders{Bibliography}% -\protect\addtocontents{sh}{BEGINBIBLIO=\thepage}% +\protect\RefManCutCommand{BEGINBIBLIO=\thepage}% \protect\addcontentsline{toc}{chapter}{Bibliography}Bibliography} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -45,7 +45,13 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Reference-Manual.sh is generated to cut the Postscript %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\@starttoc{sh} +%\@starttoc{sh} +\newwrite\RefManCut@out% +\immediate\openout\RefManCut@out\jobname.sh +\newcommand{\RefManCutCommand}[1]{% +\immediate\write\RefManCut@out{#1}} +\newcommand{\RefManCutClose}{% +\immediate\closeout\RefManCut@out} %%%%%%%%%%%%%%%%%%%%%%%%%%%% % Commands for indexes |