summaryrefslogtreecommitdiffstats
path: root/doc/implement
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-05-30 11:55:27 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-05-30 11:55:27 +0000
commit18deeb972d757eded4e66bbe27873a189198cc0c (patch)
treeb1a5826e47bdf3b895c45cf131d4c42699f78b48 /doc/implement
parent55a06022cf4edcf902bf93ad67c304bc74c6edf1 (diff)
downloadkrb5-18deeb972d757eded4e66bbe27873a189198cc0c.tar.gz
krb5-18deeb972d757eded4e66bbe27873a189198cc0c.tar.xz
krb5-18deeb972d757eded4e66bbe27873a189198cc0c.zip
play with index as well
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@961 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'doc/implement')
-rw-r--r--doc/implement/fixunder.sty14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/implement/fixunder.sty b/doc/implement/fixunder.sty
index fae8a59f96..30c006d7ef 100644
--- a/doc/implement/fixunder.sty
+++ b/doc/implement/fixunder.sty
@@ -1,6 +1,20 @@
%
% re-define _ to be normal, and to provide a reasonable underscore.
%
+\catcode`\_=12
+\def\cctwlunder{_}
+
\catcode`\_=\active
\def\_{_}
\def_{\leavevmode {\tt \char95}}
+%
+% fix up index commands to deal with active _
+% from LATEX.TEX:
+% LATEX VERSION 2.09 <4 Aug 1988>, Copyright (C) 1988 by Leslie Lamport
+
+\def\makeindex{\if@filesw \newwrite\@indexfile
+ \immediate\openout\@indexfile=\jobname.idx
+ \def\index{\let_=\cctwlunder\@bsphack\begingroup
+ \def\protect####1{\string####1\space}\@sanitize
+ \@wrindex\@indexfile}\typeout
+ {Writing index file \jobname.idx }\fi}