Follow-up Comment #4, bug #65954 (group groff):

[comment #3 comment #3:]
> On the email discussion list, onf posted a new proposal and a patch to
> implement it in neatroff (http://lists.gnu.org/r/groff/2025-01/msg00041.html)
> so that interested parties can try out the modified syntax in a working
> troff.

Thanks for copying it here. I've been thinking about it some more since then,
and the ability to restore previous value of `ad` in particular really
complicates retaining backwards compatibility. Thankfully groff doesn't have
`ad` modes pl, pr, pb, and k that neatroff has, so there seems to be a more
straightforward way:

Outside compatibility mode, `na` disables justification and `ad` without args
enables justification (i.e. `ad b`), with register `.j` being ignored. Nothing
changes in compatibility mode. Additionally, request `cl` is added with the
exact same behavior as included in the patch, i.e. args are l, c, r, and no
argument restores previous value. Alternatively, a new request could be added
(`adj` or `ju` or `just`?), which would do the exact same thing, so that `ad`
can retain its old functionality and we don't break people's documents.

I can make neatroff behave like this too for others to try, but only if anyone
else feels like it's a good idea; I feel like I tend to flood discussion with
rushed activity, so I'd rather get your opinions first.

~ onf


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65954>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to