[Dev-luatex] show_node_list() of discretionary

Andreas Matthias andreas.matthias at gmail.com
Sun Jun 10 00:17:21 CEST 2012


In luatex, function show_node_list() displays the nodes of a discretionary
in a different order than pdftex. Is this intended? I'm especially
missing the number of nodes of the replacement (in the example: 2).


Example:

\showboxbreadth=\maxdimen
\showboxdepth=\maxdimen
\tracingonline=1
\newbox\mybox
\setbox\mybox=\hbox{\discretionary{aa}{bb}{cc}}
\showbox\mybox
\bye


Output of luatex:

.\discretionary replacing 
..\tenrm c
..\tenrm c
..\tenrm a
..\tenrm a
.|\tenrm b
.|\tenrm b


Output of pdftex:

.\discretionary replacing 2
..\tenrm a
..\tenrm a
.|\tenrm b
.|\tenrm b
.\tenrm c
.\tenrm c


Ciao
Andreas


More information about the dev-luatex mailing list