discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Kristaps Dzonsons <kristaps@bsd.lv>
To: "discuss@mdocml.bsd.lv" <discuss@mdocml.bsd.lv>
Subject: Re: Three small bugs? (Ud handling)
Date: Wed, 26 May 2010 12:41:34 +0200	[thread overview]
Message-ID: <4BFCFADE.1000900@bsd.lv> (raw)
In-Reply-To: <20100526085514.GF88504@acme.spoerlein.net>

> 3. Another nit is the .Ud macro, which is used a couple of times like
> this:
> 
> .Sh BUGS
> The
> .Nm
> utility is
> .Ud .
> 
> where the trailing punctuation is a) not required but should b) not
> break mandoc. The full stop in the source is quite handy, imho, so you
> know the sentence ends here.
> 
> Which other macros "silently" end a sentence (besides Ud and Bt)?

If you look carefully, groff actually discards information.  Try

  .Ud ) ;
  .Ud zootsuit

and note that the trailing words are silently discarded.

I've now configured `Ud' to throw away its arguments and warn about it. 
  It also marks itself as a sentence.  Note that `Bt' is now also fixed 
to do the same.  I also added the mdoc.7 bits for `Ud'.

I also fixed `Rv' and `Ex' to have an EOS marker, while I was at it.

Thanks again,

Kristaps
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

  parent reply	other threads:[~2010-05-26 10:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-26  8:55 Three small bugs? Ulrich Spörlein
2010-05-26  9:37 ` Three small bugs? (Second: Lb) Kristaps Dzonsons
2010-05-26 10:41 ` Kristaps Dzonsons [this message]
2010-05-26 14:13 ` Three small bugs? (TH and dates) 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=4BFCFADE.1000900@bsd.lv \
    --to=kristaps@bsd.lv \
    --cc=discuss@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).