From 99eab72295e4c5a578e06e10b8f4a99d61c52a1e Mon Sep 17 00:00:00 2001
From: karl <karl@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 5 Nov 1996 19:51:16 +0000
Subject: Call \normalturnoffactive for the sake of \write's that include a \.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13097 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/texinfo.tex | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

(limited to 'gcc/texinfo.tex')

diff --git a/gcc/texinfo.tex b/gcc/texinfo.tex
index e8375a310ac..880538e8130 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}%
-- 
cgit v1.2.1

