summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-07 16:04:04 -0800
committerKarl Berry <karl@freefriends.org>2016-01-07 16:04:04 -0800
commit313ed2a5dc120d5879bbb0c7191c50c9913e59bf (patch)
tree6da1cf1e2599e9cde619b95ee279f4b48b0b4d06 /build-aux
parent9f11fc580230d2962c4357efcb9a82f9968fbe4b (diff)
downloadgnulib-313ed2a5dc120d5879bbb0c7191c50c9913e59bf.tar.gz
update from texinfo
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/texinfo.tex13
1 files changed, 11 insertions, 2 deletions
diff --git a/build-aux/texinfo.tex b/build-aux/texinfo.tex
index 16f116b21c..0dfc10f2ea 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{2016-01-04.21}
+\def\texinfoversion{2016-01-07.22}
%
% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -9432,7 +9432,8 @@ directory should work if nowhere else does.}
% otherwise the encoding support is completely broken.
\ifx\XeTeXrevision\thisisundefined
\else
-\XeTeXinputencoding "bytes"
+\XeTeXdefaultencoding "bytes" % For subsequent files to be read
+\XeTeXinputencoding "bytes" % Effective in texinfo.tex only
\fi
\ifx\luatexversion\thisisundefined
@@ -9477,6 +9478,14 @@ callback.register("process_input_buffer", convert_line)
%
\def\documentencoding{\parseargusing\filenamecatcodes\documentencodingzzz}
\def\documentencodingzzz#1{%
+ % Get input by bytes instead of by UTF-8 codepoints for XeTeX,
+ % otherwise the encoding support is completely broken.
+ % This settings is for the document root file.
+ \ifx\XeTeXrevision\thisisundefined
+ \else
+ \XeTeXinputencoding "bytes"
+ \fi
+ %
% Encoding being declared for the document.
\def\declaredencoding{\csname #1.enc\endcsname}%
%