bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XeTeX encoding problem


From: Gavin Smith
Subject: Re: XeTeX encoding problem
Date: Sun, 20 Mar 2016 19:43:49 +0000

On 20 March 2016 at 15:20, Masamichi HOSODA <address@hidden> wrote:
>> 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.
>

Thanks for working on this. I'd like to avoid going back to the way it
was done before if possible because this means that all the
definitions of the Unicode characters are run through every time a
macro is used. The following patch seems to give good results:

Index: doc/texinfo.tex
===================================================================
--- doc/texinfo.tex     (revision 7047)
+++ doc/texinfo.tex     (working copy)
@@ -7823,7 +7823,9 @@
   % backslash to get it printed correctly.
   % FIXME: This may not be needed.
   address@hidden \catcode`\\=\active \escapechar=`\@
+  \passthroughcharstrue
   \edef\temp{\noexpand\scanmacro{#1}}%
+  \passthroughcharsfalse
   \temp
   \egroup
 }

===================

but I want to understand what the point of the \edef was in the first
place, and what the point was of changing the catcode of backslash,
and test whether this is still necessary. Hopefully I'll get to this
soon.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]