distributor patches to man pages' character mappings (was: Inconsistent TC Section Title Indentation in mm?)

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Message-ID <20251207082816.zfdtcgwxjs7mrpfo@illithid>
At 2025-12-07T09:10:27+0100, Alexis (surryhill) wrote:
> my fallback groff is the stable version 1.23.0 with the
> only following added man.local and mdoc.local in site-tmac:
> https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/gr/groff/site.tmac

[Abraham Simpson shakes fist at cloud]

groff_man_style(7):

Notes
       Some tips on composing and troubleshooting your man pages follow.
...
       • When and how should I use quotation marks?
...
         Obtaining directional single quotation marks is more of a
         challenge.  Historically, man pages used ` and ' exclusively
         for them.  However, in recent years, some distributors of groff
         have chosen to override the meanings of these characters in man
         pages, remapping them to their Unicode Basic Latin code points.
         Unfortunately, ` and ' are the only reliable means of obtaining
         directional single quotation marks in AT&T troff; in that
         implementation, often no special character escape sequences
         exist to obtain them.  Further, AT&T troff’s special character
         identifiers, like its font names, were device‐specific.  To
         achieve quotation portably in man pages rendered both by AT&T
         and more modern troffs, consider adding a preamble to your page
         after the TH call as follows.

                .ie \n(.g \{\
                .  ds oq \[oq]\"
                .  ds cq \[cq]\"
                .\}
                .el \{\
                .  ds oq `\"
                .  ds cq '\"
                .\}

         You must then use the \* escape sequence to interpolate the
         quotation mark strings.

                The command
                .RB \*(oq "while !\& git pull; do sleep 10; done" \*(cq
                retries an update from the repository until it succeeds.

         If this procedure seems complex, petition your distributor to
         revert their remapping of the ` and ' characters.

Regards,
Branden
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmk1OqAACgkQ0Z6cfXEm
bc5h1A/+MI55N6tLdH0uQVJvn9VlWkTqhYtB8Bolhpc0EXXYrSiv0aZRkR4abkby
BM3E1F+2lOgJiESqAi/p1hcrnoBy53Sdj05kIOI5B2sxu8DEmBIKc7u1w2Z0Y2Ks
3xvVUJ0JA10og8zWl/5IWfVfukxOedJYEqZaY8nt5shfPG/DXDmpVXp1vzYbhxmY
ewsF5epd2bdxTGEo+hYex3eEhCK44cWNUxpHcNZND9TL0IpSXTAruY5ae84VTRS9
2qUVDuGSyi52KG/AwwNWKiAlQE5/ELDBNvTaopTIJqyfQ2GeXCnh6CIc0cRG3Qtx
PJ9hWjsmVkqhDRf5EP3eMhzfKGnJMcNzCXekk3X4UHkqmHDw+t9XWI4IiKCB9Fr/
PbB9UJxkf2TP1nncQot9nr9EOm15A4yNLzX9BsI5pjdsFC7gT0ED4ovOwPBQ42ne
D2o+N/8X4/Cfg6h/k1Idgi68wtoOkTeXxGDRfnWhNXDL/X3LhBQPnkZmdjuNhlJl
ijYpygSs+q1ok8rsCwcFzOWTnntYCeDehKhUBGw2NDbprwIZz3HmrDWsvgqrradP
Tzfkp+LCQdEsUOh5fJ66tATbjsV9e4vXr72kgn04kt6peuZ62uJRAF9+9OetD5UT
VHFGLddpzXa46oNGps2T+UJqUG35/D42gxdgzgCZMZlpa1i3/KQ=
=1Ylb
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.