aboutsummaryrefslogtreecommitdiff
path: root/gcc/texinfo.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@gnu.org>1996-11-05 19:51:16 +0000
committerKarl Berry <karl@gnu.org>1996-11-05 19:51:16 +0000
commite07048cd97c529c27c56e945a56bc67f91324550 (patch)
treeca466d8452527264e3b52918c1e4c21ffc9f7a5e /gcc/texinfo.tex
parent5c90448ca0dc7552aed25c24834cfe70da8e71bb (diff)
downloadgcc-e07048cd97c529c27c56e945a56bc67f91324550.zip
gcc-e07048cd97c529c27c56e945a56bc67f91324550.tar.gz
gcc-e07048cd97c529c27c56e945a56bc67f91324550.tar.bz2
Call \normalturnoffactive for the sake of \write's that include a \.
From-SVN: r13097
Diffstat (limited to 'gcc/texinfo.tex')
-rw-r--r--gcc/texinfo.tex11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/texinfo.tex b/gcc/texinfo.tex
index e8375a3..880538e 100644
--- a/gcc/texinfo.tex
+++ b/gcc/texinfo.tex
@@ -1,4 +1,5 @@
-%% TeX macros to handle texinfo files
+%% TeX macros to handle Texinfo files.
+%% $Id: texinfo.tex,v 2.186 1996/10/25 19:02:12 karl Exp $
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93,
% 94, 95, 1996 Free Software Foundation, Inc.
@@ -35,7 +36,7 @@
% This automatically updates the version number based on RCS.
\def\deftexinfoversion$#1: #2 ${\def\texinfoversion{#2}}
-\deftexinfoversion$Revision: 2.185 $
+\deftexinfoversion$Revision: 2.186 $
\message{Loading texinfo package [Version \texinfoversion]:}
% If in a .fmt file, print the version number
@@ -144,8 +145,10 @@
\ifodd\pageno \advance\hoffset by \bindingoffset
\else \advance\hoffset by -\bindingoffset\fi
{%
- \escapechar = `\\ % use backslash in output files.
- \indexdummies
+ \escapechar = `\\ % use backslash in output files.
+ \indexdummies % don't expand commands in the output.
+ \normalturnoffactive % \ in index entries must not stay \, e.g., if
+ % the page break happens to be in the middle of an example.
\shipout\vbox{%
{\let\hsize=\pagewidth \makeheadline}%
\pagebody{#1}%