On Mon, Dec 19, 2022 at 11:35:24AM +0000, Werner LEMBERG wrote: > The problem is that for LuaTeX it is not sufficient setting > `\hyphenchar` to -1 to disable hyphenation at explicitly inserted `-` > characters... > > The simplest solution is probably to change in this code > > ``` > \ifallowcodebreaks > \let-\codedash > \let_\codeunder > \else > \let-\normaldash <--- > \let_\realunder <--- > \fi > ``` > > the two marked lines so that they use macros that decorate '-' with > `\penalty 10000` to really prevent a line break at this point. See > below for something that works for me.
Thanks for report and fix. I've committed your change and uploaded the latest texinfo.tex to ftp.gnu.org.