tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: "Anthony J. Bentley" <anthony@anjbe.name>
To: tech@mdocml.bsd.lv
Subject: Groff difference: punctuation following Lk
Date: Sat, 01 Apr 2017 03:29:52 -0600	[thread overview]
Message-ID: <80788.1491038992@cathet.us> (raw)

Hi,

Consider the following mdoc(7) source:

    .Lk https://www.example.com/ .

In mandoc(1), this gets rendered as:
    https://www.example.com/.

Doing the same with groff-1.22.3's nroff(1) yields:

    .: https://www.example.com/

It (unexpectedly, to me at least) treats the period as the text of the
link, rather than punctuation that trails the macro.

I guess mandoc's behavior is wrong, even though it makes more sense...

-- 
Anthony J. Bentley
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

             reply	other threads:[~2017-04-01  9:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-01  9:29 Anthony J. Bentley [this message]
2017-04-09 21:22 ` Ingo Schwarze
2017-04-09 21:47   ` Anthony J. Bentley
2017-04-10  0:49     ` Ingo Schwarze
2017-04-11 13:58       ` Ingo Schwarze
2017-04-12  4:17         ` Anthony J. Bentley

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=80788.1491038992@cathet.us \
    --to=anthony@anjbe.name \
    --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).