summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@gnu.org>1998-01-26 20:40:21 +0000
committerKarl Berry <karl@gnu.org>1998-01-26 20:40:21 +0000
commite94d73997a6de095622b8985ef54c3e2a66a8693 (patch)
treeb9754da2c8df7f1cc7ebc9cdb48251dd11fcff9d
parent7585dedefcd508de2a01c0de933334f1345676ca (diff)
downloadgunmake-e94d73997a6de095622b8985ef54c3e2a66a8693.tar.gz
(\tocentry): Don't \turnoffactive before
typesetting the arguments, it causes special characters to be printed incorrectly.
-rw-r--r--texinfo.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/texinfo.tex b/texinfo.tex
index c8b5f9f..f1d7d4f 100644
--- a/texinfo.tex
+++ b/texinfo.tex
@@ -3442,11 +3442,12 @@ width0pt\relax} \fi
% the index entries, but we want to suppress hyphenation here. (We
% can't do that in the \entry macro, since index entries might consist
% of hyphenated-identifiers-that-do-not-fit-on-a-line-and-nothing-else.)
-%
-% \turnoffactive is for the sake of @" used for umlauts.
\def\tocentry#1#2{\begingroup
\vskip 0pt plus1pt % allow a little stretch for the sake of nice page breaks
- \entry{\turnoffactive #1}{\turnoffactive #2}%
+ % Do not use \turnoffactive in these arguments. Since the toc is
+ % typeset in cmr, so characters such as _ would come out wrong; we
+ % have to do the usual translation tricks.
+ \entry{#1}{#2}%
\endgroup}
% Space between chapter (or whatever) number and the title.