>>>>>> Here's a file that I ran with pdftex and with luatex: both worked. >>>>>> If this looks right, the code can be moved into texinfo.tex. >>>> >>>> \ifx\XeTeXrevision\thisisundefined >>>> \else >>>> \XeTeXinputencoding "bytes" >>>> \fi >>>> >>>> although I haven't been able to test this. >>> >>> I've tried the attached file. >>> Both pdfTeX and XeTeX, it works fine in my environment. >>> Thank you. >> >> I've noticed that XeTeX with texinfo.tex can not use @image. >> Here is a patch that I've tried to make. > > It seems that \XeTeXpdffile changes input encoding. > So I add ``\XeTeXinputencoding "bytes"''.
I mistook. \XeTeXpdffile does not change input encoding. It is unnecessary that adding ``\XeTeXinputencoding "bytes"''.