aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/headers.tex
diff options
context:
space:
mode:
authorGravatar marche <marche@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-12-02 15:46:21 +0000
committerGravatar marche <marche@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-12-02 15:46:21 +0000
commit7ff1810bafc981ee774c431e1c7f5b99d2700cd7 (patch)
treefc53e0a98767c2eeb9112b6747e561e3e4eec628 /doc/headers.tex
parent623b3b8f46c534e0dca1e13f02ff3440cd15bd6d (diff)
plus de pb avec referencemanual.sh
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8375 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'doc/headers.tex')
-rw-r--r--doc/headers.tex10
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