From: Jan Stary <hans@stare.cz>
To: discuss@mandoc.bsd.lv
Subject: Re: [Suggestion]: Document that the Er macro can be used as a width.
Date: Mon, 27 Sep 2021 10:32:07 +0200 [thread overview]
Message-ID: <YVGBh2rRnyy+f8OE@www.stare.cz> (raw)
In-Reply-To: <20210927015110.d5u7teqwxmnjr3mu@BlackBox>
On Sep 27 11:51:10, dev@sgregoratto.me wrote:
> I'm currently rewriting the Illumos manpages in mdoc, and I realised
> from looking at the OpenBSD manuals, that the error list is set up as
> such:
>
> .Bl -tag -width Er
> .It Bq Er ENOTTY
> ...
>
> This is a really neat feature that I think deserved to be documented.
> AFAIK only Ds gets this treatment. Apparently it resolves to 17n from
> looking at mdoc_validate.c:/^macro2len/.
mdoc(7) says
The most popular is the imaginary macro Ds,
which resolves to 6n.
--
To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv
next prev parent reply other threads:[~2021-09-27 8:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-27 1:51 Stephen Gregoratto
2021-09-27 8:32 ` Jan Stary [this message]
2021-09-28 16:03 ` Ingo Schwarze
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=YVGBh2rRnyy+f8OE@www.stare.cz \
--to=hans@stare.cz \
--cc=discuss@mandoc.bsd.lv \
/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).