Call \normalturnoffactive for the sake of \write's that include a \.
authorKarl Berry <karl@gnu.org>
Tue, 5 Nov 1996 19:51:16 +0000 (19:51 +0000)
committerKarl Berry <karl@gnu.org>
Tue, 5 Nov 1996 19:51:16 +0000 (19:51 +0000)
texinfo.tex

index 7d62f26f703f0ed27244957487168926b41d7261..ca59280991708c6c1dd298f6dab95c8a4557bcd7 100644 (file)
@@ -1,4 +1,5 @@
-%% TeX macros to handle texinfo files
+%% TeX macros to handle Texinfo files.
+%% $Id$
 
 %  Copyright (C) 1985, 86, 88, 90, 91, 92, 93,
 %                94, 95, 1996 Free Software Foundation, Inc.
   \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}%