groff
[Top][All Lists]
Advanced

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

Re: Proposed: next-generation alignment and adjustment control


From: G. Branden Robinson
Subject: Re: Proposed: next-generation alignment and adjustment control
Date: Mon, 24 Jun 2024 02:04:50 -0500

[self-follow-up]

At 2024-06-23T19:13:27-0500, G. Branden Robinson wrote:
> Decisions still to be made:
[...]
> 3.  Whether to alter the behavior of the `ad` request, as the attached
>     patch contemplates.  Doing so accommodates man page authors' DWIM
>     intentions, at some risk to altering the formatting of documents
>     that follow `.ad c` or `.ad r` with `.ad`, expecting to restore
                                          ^^^^^
Sorry, thinko here.  I should have said `.na`.

>     left alignment instead of merely disabling adjustment.  It's not
>     clear to me how many such documents actually exist.  I don't think
>     I've ever seen one that I didn't write as a test case.

> Consider the following document.

I should have challenged the at this point to predict the output.  :)

> $ cat ATTIC/madness.roff
> .pl 1v
> .ll 9n
> abc def\p
> .na
> ghi jkl\p
> .ad l
> mno pqr\p
> .na
> stu vwx\p
> .ad
> yza bcd\p
> .ad l
> .ad b
> efg hij\p
> .na
> klm nop\p
> .ad c
> qrs tuv\p
> .na
> wxy zab\p
> .ad
> cde fgh\p
> .ad r
> ijk lmn\p
> .na
> opq rst\p
> .ad
> uvw xyz\p
> .ad b
> .ad 100
> ABC DEF\p

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

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