From 1417d1d93b1bdd5268317dff2794b796a50a9403 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 29 Jun 2007 20:20:49 +0000 Subject: [PATCH] update from texinfo --- build-aux/texinfo.tex | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/build-aux/texinfo.tex b/build-aux/texinfo.tex index b4e5ac83d..fab8a9c2e 100644 --- a/build-aux/texinfo.tex +++ b/build-aux/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{2007-06-24.14} +\def\texinfoversion{2007-06-29.13} % % Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, @@ -11,7 +11,7 @@ % % This texinfo.tex file is free software; you can redistribute it and/or % modify it under the terms of the GNU General Public License as -% published by the Free Software Foundation; either version 2, or (at +% published by the Free Software Foundation; either version 3, or (at % your option) any later version. % % This texinfo.tex file is distributed in the hope that it will be @@ -6332,6 +6332,10 @@ end % all characters are catcode 10, 11 or 12, except \ which is active % (as in normal texinfo). It is necessary to change the definition of \. +% Non-ASCII encodings make 8-bit characters active, so un-activate +% them to avoid their expansion. Must do this non-globally, to +% confine the change to the current group. + % It's necessary to have hard CRs when the macro is executed. This is % done by making ^^M (\endlinechar) catcode 12 when reading the macro % body, and then making it the \newlinechar in \scanmacro. @@ -6346,6 +6350,7 @@ end \catcode`\_=\other \catcode`\|=\other \catcode`\~=\other + \ifx\declaredencoding\ascii \else \setnonasciicharscatcodenonglobal\other \fi } \def\scanargctxt{% @@ -7483,6 +7488,14 @@ should work if nowhere else does.} \repeat } +\def\setnonasciicharscatcodenonglobal#1{% + \count255=128 + \loop\ifnum\count255<256 + \catcode\count255=#1 + \advance\count255 by 1 + \repeat +} + % @documentencoding sets the definition of non-ASCII characters % according to the specified encoding. % -- 2.11.0