tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Ingo Schwarze <schwarze@usta.de>
To: tech@mdocml.bsd.lv
Subject: Re: mdocml: First, make `Pp' (next to `Sm') be allowed as the first element
Date: Wed, 22 Dec 2010 00:33:38 +0100	[thread overview]
Message-ID: <20101221233338.GB9705@iris.usta.de> (raw)
In-Reply-To: <201012160025.oBG0PZeE023827@krisdoz.my.domain>

Hi Kristaps,

kristaps@mdocml.bsd.lv wrote on Wed, Dec 15, 2010 at 07:25:35PM -0500:

> Log Message:
> -----------
> First, make `Pp' (next to `Sm') be allowed as the first element of a
> `Bl' (before any `It' have been invoked).  Next, have the existence of
> either macro raise a warning, as it's technically not legal according to
> mdoc.7.

Hmm, i agree it is good that Pp does not throw FATAL at this point,
and it is good that Pp throws a WARNING here, but Sm is just fine.
How else would you switch to Sm mode just for the It?
That's a real use case!

Note that it looks like Lp is missing, too.

> Second, delete any `Pp' as the first element of a `Bl' (i.e., before an
> `It') ONLY when -compact has not been specified.  This matches with the
> latest version of groff.  This deletion happens prior to the above
> check, so double-warnings will not be issued.

That one sounds good.

Yours,
  Ingo
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

       reply	other threads:[~2010-12-21 23:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201012160025.oBG0PZeE023827@krisdoz.my.domain>
2010-12-21 23:33 ` Ingo Schwarze [this message]
2010-12-22  0:43   ` Ingo Schwarze
2010-12-22 11:44     ` Kristaps Dzonsons

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=20101221233338.GB9705@iris.usta.de \
    --to=schwarze@usta.de \
    --cc=tech@mdocml.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).