linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
To: "Thaddeus H. Black" <thb@debian.org>
Cc: "Alejandro Colomar (man-pages)" <alx.manpages@gmail.com>,
	Michael Kerrisk <mtk.manpages@gmail.com>,
	linux-man@vger.kernel.org
Subject: Re: [PATCH 3/3] Use subsections instead of sections
Date: Mon, 13 Sep 2021 04:49:49 +1000	[thread overview]
Message-ID: <20210912184948.2v5v2vumqy4hxap3@localhost.localdomain> (raw)
In-Reply-To: <YT4bOyqm87Do3SMG@b-tk.org>

[-- Attachment #1: Type: text/plain, Size: 1288 bytes --]

At 2021-09-12T15:22:35+0000, Thaddeus H. Black wrote:
> On Sun, Sep 12, 2021 at 04:56:21PM +0200, Alejandro Colomar
> (man-pages) wrote:
> > I'm a bit worried that this might be overcomplicating it, and maybe
> > a hypothetical .SSS macro would be useful here (or another
> > solution).  Do you have any thoughts about it?
> > 
> > That hypothetical macro would behave like .TP + .B + .RS (as shown
> > above; and that .RS would only end at a following .SSS/.SS/.SH)
> 
> It is not important to me that my .SSS macro be used, but for
> reference here it is:
> 
> .de1 SSS
> .  if !r SSS_SN_ORIG .nr SSS_SN_ORIG \\n[SN]
> .  nr SN (2 * \\n[SSS_SN_ORIG])
> .  SS \&\\$*
> .  nr SN (\\n[SSS_SN_ORIG])
> ..

Oh, I definitely like this better than my own straw-man proposal.  It's
much cleaner.

I still question the need for this depth of organization in a man page,
but I could see the aboev becoming a nestable `SN` sub*-sectioning macro
much more straightforwardly than a TP/B/RS-based solution.

Of course, this one only indents the section heading itself, not the
paragraphs the follow, so some RS/RE tomfoolery would likely still be
required.

Good to see you, Thaddeus--I definitely remember you from Debian mailing
list days.  :)

Regards,
Branden

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-09-12 18:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06 11:40 [PATCH] filename.7: new manual page Thaddeus H. Black
2021-09-06 14:21 ` Alejandro Colomar (man-pages)
2021-09-06 16:59   ` G. Branden Robinson
2021-09-06 21:47     ` Alejandro Colomar (man-pages)
2021-09-08  3:54       ` G. Branden Robinson
2021-09-08 14:56   ` Thaddeus H. Black
2021-09-08 15:45     ` Alejandro Colomar (man-pages)
2021-09-09  2:15       ` Thaddeus H. Black
2021-09-09  2:45         ` Thaddeus H. Black
2021-09-09  7:24         ` [PATCH 1/3] Remove unnecessary .P after .S[HS] Alejandro Colomar
2021-09-09  7:24         ` [PATCH 2/3] Fix indentation of paragraph, which continues talking about \0 Alejandro Colomar
2021-09-09  7:24         ` [PATCH 3/3] Use subsections instead of sections Alejandro Colomar
2021-09-09  7:28           ` [PATCH] .P -> .PP Alejandro Colomar
2021-09-12 14:20           ` [PATCH 3/3] Use subsections instead of sections Thaddeus H. Black
2021-09-12 14:49             ` Alejandro Colomar (man-pages)
2021-09-12 14:56               ` Alejandro Colomar (man-pages)
2021-09-12 15:22                 ` Thaddeus H. Black
2021-09-12 18:49                   ` G. Branden Robinson [this message]
2021-09-12 18:12                 ` G. Branden Robinson
2021-09-12 22:39                   ` Alejandro Colomar (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210912184948.2v5v2vumqy4hxap3@localhost.localdomain \
    --to=g.branden.robinson@gmail.com \
    --cc=alx.manpages@gmail.com \
    --cc=linux-man@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    --cc=thb@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).