[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
luatex disobeys `@allowcodebreaks false`
From: |
Werner LEMBERG |
Subject: |
luatex disobeys `@allowcodebreaks false` |
Date: |
Mon, 19 Dec 2022 08:46:56 +0000 (UTC) |
[texinfo.tex 2022-12-17.18]
[LuaTeX, Version 1.15.0 (TeX Live 2022) Development id: 7509]
Consider this input file `luatex.texi`.
```
\input texinfo
@afivepaper
@set txicodequoteundirected
@set txicodequotebacktick
@allowcodebreaks false
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
This is a long-long-long-word and another @code{Long-Long-Long-Word}.
@bye
```
Attached are images for
```
texi2pdf luatex.texi
PDFTEX=luatex texi2pdf luatex.texi
```
As can be seen, luatex ignores `@allowcodebreaks false`.
If I insert
```
@tracingall
@tracingonline0
```
and compare pdfTeX with LuaTeX, I see the following in the logfile:
```
@setcodequotes ->@let `@codequoteleft @let '@codequoteright
{@let}
{changing `=macro:->`}
-{into `=macro:->@ifusingtt {@ifflagclear {txic@ETC.}
+{into `=macro:->@ifusingtt {@ifflagclear {txicod@ETC.}
{@let}
{changing '=macro:->'}
-{into '=macro:->@ifusingtt {@ifflagclear {txic@ETC.}
+{into '=macro:->@ifusingtt {@ifflagclear {txicod@ETC.}
{@catcode}
-{reassigning @catcode45=13}
{@catcode}
-{reassigning @catcode95=13}
{@iffalse: (level 1) entered on line 12}
{false}
{@else: @iffalse (level 1) entered on line 12}
```
I'm not sure whether this is due to slightly different logging output
of `luatex` or due to a real code difference (either in the macro code
or in LuaTeX itself).
Werner
- luatex disobeys `@allowcodebreaks false`,
Werner LEMBERG <=