> Thanks for preparing the test files. Experimenting, I found it wasn't > related to the character encoding problem, because removing the > \directlua code made no difference. > > I got it down to the following: > [...snip...] > > This discussion on the lualatex-dev mailing list suggested the problem > could be related to \newlinechar: > http://tug.org/pipermail/lualatex-dev/2011-November/001379.html > > I tried commenting out the use of \newlinechar in \scanmacro in > texinfo.tex, and this changed the results: both lines appeared from > the example above. > > The page http://tracker.luatex.org/view.php?id=733 reports this bug as > fixed, although according to > http://tug.org/pipermail/luatex/2015-March/005149.html, it wasn't > fixed in March 2015.
Thank you. I've reported it to LuaTeX tracker. http://tracker.luatex.org/view.php?id=962
