[pdftex] \interlinepenalties

Ulrike Fischer news3 at nililand.de
Tue Feb 27 21:27:46 CET 2024


Am Tue, 27 Feb 2024 11:35:21 +0100 schrieb Ulrike Fischer:

> The etex manual decribes beside \clubpenalties also
> \interlinepenalties as a companion to \interlinepenalty. 
> 
> But up to now I wasn't able to make use of it. E.g. 
> 
> ~~~~
> \showboxbreadth\maxdimen\showboxdepth\maxdimen \tracingoutput=1
> 
> %\interlinepenalty 100
> \interlinepenalties 3 10 20 30 
> 
> \clubpenalties 3 66 77 88
> 
> a\break bb \break c \break d \break e
> 
> \bye
> ~~~~
> 
> gives penalties 66 77 88 and ignores the additional interline
> penalties. I tried also in luatex and xetex with the same result.
> 
> Is that suppose to work??

After some discussion and testing: It looks as if
\interlinepenalties is (differently to all the other settings) reset
by a \par:


\showboxbreadth\maxdimen\showboxdepth\maxdimen \tracingoutput=1

\clubpenalties 3 66 77 88

\interlinepenalties 3 10 20 30 

a\break b \break c \break d \break e %does not work

\interlinepenalties 3 10 20 30 %works
a\break b \break c \break d \break e

a\break b \break c \break d \break e %lost again

\bye

I don't think that this make much sense and it is certainly not
documented 

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the pdftex mailing list.