groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leaders


From: Lennart Jablonka
Subject: Re: Leaders
Date: Sun, 3 Sep 2023 23:43:29 +0000

Quoth Peter Schaffter:
On Sat, Sep 02, 2023, Lennart Jablonka wrote:
The point is that the width of the line of periods is determined
by its position on the input line.  That is confusing, yet it
also doesn’t usually matter:  You seldom use tabs or leaders in
filled text.

Actually, no.  I discovered this issue trying to solve a problem
raised by Heinz-Jürgen Ortel, that long heading entries in the TOC
in mom do not get broken and overprint the leaders/pagenumbers.
The only way to solve this is to allow lines to break and tack
leaders onto the last line.  I do not think "you seldom use" is
justification for adopting an "it doesn't matter" attitude, at least
not in this case.

It’s not quite the only way.   You could do something like:

        .nr ts \n(.l \" or whatever
        \&\\$1\
        \l'\n(tsu-\n(.ku.'

I agree that the behavior of tabs and leaders isn’t great. I seem to remember having run into it before. An attitude of “it doesn’t matter at all” would be ill-advised.

What I intended to express is an explanation for how it could come to be that tabs and leaders behave in that way: It was possible because quite seldom someone wanted a tab or leader in filled text. Because long headings in a TOC are rare.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]