summaryrefslogtreecommitdiff
path: root/lib/texinfo.tex
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2004-04-25 11:28:05 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2004-04-25 11:28:05 +0000
commit9219afbca051c80dc64766758414850944c7e656 (patch)
tree472f6102c98b8dc78ba70e02fec15b8246bc4d2c /lib/texinfo.tex
parent9e53d2520484b6e5fe32b5c4418ae86230e75d48 (diff)
downloadautomake-9219afbca051c80dc64766758414850944c7e656.tar.gz
* lib/texinfo.tex: New upstream version.
Diffstat (limited to 'lib/texinfo.tex')
-rw-r--r--lib/texinfo.tex30
1 files changed, 28 insertions, 2 deletions
diff --git a/lib/texinfo.tex b/lib/texinfo.tex
index f502b9745..85993e8e7 100644
--- a/lib/texinfo.tex
+++ b/lib/texinfo.tex
@@ -3,7 +3,7 @@
% Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
%
-\def\texinfoversion{2004-04-13.06}
+\def\texinfoversion{2004-04-24.16}
%
% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
@@ -1952,6 +1952,14 @@ where each line of input produces a line of output.}
}$%
}
+% Laurent Siebenmann reports \Orb undefined with:
+% Textures 1.7.7 (preloaded format=plain 93.10.14) (68K) 16 APR 2004 02:38
+% so we'll define it if necessary.
+%
+\ifx\Orb\undefined
+\def\Orb{\mathhexbox20D}
+\fi
+
\message{page headings,}
@@ -3270,6 +3278,9 @@ width0pt\relax} \fi
\def\point{.}%
\def\print{-|}%
\def\result{=>}%
+ %
+ % Don't write macro names.
+ \emptyusermacros
}
\let\indexbackslash=0 %overridden during \printindex.
@@ -5725,11 +5736,26 @@ width0pt\relax} \fi
\expandafter\parsearg
\fi \next}
-% We mant to disable all macros during \shipout so that they are not
+% We want to disable all macros during \shipout so that they are not
% expanded by \write.
\def\turnoffmacros{\begingroup \def\do##1{\let\noexpand##1=\relax}%
\edef\next{\macrolist}\expandafter\endgroup\next}
+% For \indexnofonts, we need to get rid of all macros, leaving only the
+% arguments (if present). Of course this is not nearly correct, but it
+% is the best we can do for now. makeinfo does not expand macros in the
+% argument to @deffn, which ends up writing an index entry, and texindex
+% isn't prepared for an index sort entry that starts with \.
+%
+% Since macro invocations are followed by braces, we can just redefine them
+% to take a single TeX argument. The case of a macro invocation that
+% goes to end-of-line is not handled.
+%
+\def\emptyusermacros{\begingroup
+ \def\do##1{\let\noexpand##1=\noexpand\identity}%
+ \edef\next{\macrolist}\expandafter\endgroup\next}
+\def\identity#1{#1}
+
% @alias.
% We need some trickery to remove the optional spaces around the equal