> I've noticed an issue of texinfo.tex ver. 2016-03-06.18.
> It can not compile the attached texi file.
>
[snip...]
>
> All the following engines fail.
> LuaTeX 0.89.2
> XeTeX 0.99992
> XeTeX 0.99995
> pdfTeX 1.40.16
>
> With texinfo.tex ver. 2016-03-05.11, they work fine.
Here is a patch that fixes the issue.
ChangeLog:
Fix Unicode character in @copying
2016-03-XX Masamichi Hosoda <[email protected]>
* doc/texinfo.tex: Fix Unicode character in @copying.
(\scanctxt): Add using \setcharscatcodeothernonglobal.
(\nativeunicodecharscatcodeothernonglobal):
Revert to 2015-03-15.
(\setcharscatcodeothernonglobal):
Revert to 2015-03-15.
--- texinfo.tex.org 2016-03-08 22:46:15.850782600 +0900
+++ texinfo.tex 2016-03-20 23:42:05.382585100 +0900
@@ -7896,6 +7896,7 @@
\catcode`\|=\other
\catcode`\~=\other
\passthroughcharstrue
+ \ifx\declaredencoding\ascii \else \setcharscatcodeothernonglobal \fi
}
\def\scanargctxt{% used for copying and captions, not macros.
@@ -10912,6 +10913,22 @@
\unicodechardefs
}
+% Native Unicode (XeTeX and LuaTeX) catcode other non global definitions
+\def\nativeunicodecharscatcodeothernonglobal{%
+ \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterNativeOther
+ \unicodechardefs
+}
+
+% Catcode (non-ASCII or native Unicode) are set to \other (non-global
+% assignments).
+\def\setcharscatcodeothernonglobal{%
+ \iftxiusebytewiseio
+ \setnonasciicharscatcodenonglobal\other
+ \else
+ \nativeunicodecharscatcodeothernonglobal
+ \fi
+}
+
% US-ASCII character definitions.
\def\asciichardefs{% nothing need be done
\relax