groff
[Top][All Lists]
Advanced

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

[groff] [PATCH] new requests to case-transform string register values


From: G. Branden Robinson
Subject: [groff] [PATCH] new requests to case-transform string register values
Date: Thu, 4 Jul 2019 01:52:42 +1000
User-agent: NeoMutt/20180716

A recurring theme in my man page clean-up work has been my violent
antipathy for shouting capitals in their texts.  While I don't _like_
being shouted at for reasons other than true emergency, the real problem
with the capitalization convention in man pages is that it happens at
the input source, destroying information (case distinctions) that is
unrecoverable by the typesetting system later.

Here is the last time we discussed the issue:
https://lists.gnu.org/archive/html/groff/2018-12/msg00141.html

The consensus seemed to be that pushing case-transformation
functionality down into language would be worth trying.

So, here's an implementation.  Comments welcome.

I expect some bikeshedding on the names of the requests.  I'm not wedded
to the ones I have; my main criterion is:

* The new request names should collate adjacently in the existing
  request namespace.  E.g., "stringup" and "stringdn" are a much better
  pair than "upstring" and "dnstring".  If someone is looking for one of
  them, it's not going to be long before they wonder what/where the
  other one is.

Regards,
Branden

Attachment: st.diff
Description: Text Data

Attachment: signature.asc
Description: PGP signature


reply via email to

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