discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: "Dag-Erling Smørgrav" <des@des.no>
To: "Anthony J. Bentley" <anthony@anjbe.name>
Cc: discuss@mdocml.bsd.lv
Subject: Re: Dashes and strange markup
Date: Mon, 06 Mar 2017 17:52:54 +0100	[thread overview]
Message-ID: <86d1dupct5.fsf@desk.des.no> (raw)
In-Reply-To: <22192.1488812125@cathet.us> (Anthony J. Bentley's message of "Mon, 06 Mar 2017 07:55:25 -0700")

"Anthony J. Bentley" <anthony@anjbe.name> writes:
> Dag-Erling Smørgrav <des@des.no> writes:
> > The next issue is that I tried to replace .Nd with either \(en and
> > \(em, but the former is rendered as a single hyphen and the latter
> > as two hyphens, instead of actual en- or em-dashes.  Is that
> > intentional?
> \(en and \(em become en and em dashes in a Unicode locale. In an ASCII
> locale, they become one and two hyphens, respectively.

My locale is en_GB.UTF-8, but it turns out I was looking at the page
with two different versions of mandoc, and while the older version
(1.12.1) didn't format the dashes properly, the newer one does.

> > The third issue is that [...] I can't figure out how to suppress the
> > spaces, short of gluing everything together (like\(em\&this).
> I don't really understand the question here.

That's OK, it was meant exactly as you interpreted it :)

DES
-- 
Dag-Erling Smørgrav - des@des.no
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

  reply	other threads:[~2017-03-06 16:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-06 11:17 Dag-Erling Smørgrav
2017-03-06 14:55 ` Anthony J. Bentley
2017-03-06 16:52   ` Dag-Erling Smørgrav [this message]
2017-03-06 15:57 ` Ingo Schwarze
2017-03-06 16:39   ` Dag-Erling Smørgrav
2017-03-06 17:34     ` 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=86d1dupct5.fsf@desk.des.no \
    --to=des@des.no \
    --cc=anthony@anjbe.name \
    --cc=discuss@mdocml.bsd.lv \
    --subject='Re: Dashes and strange markup' \
    /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

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).