discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Jason McIntyre <jmc@kerhand.co.uk>
To: discuss@mdocml.bsd.lv
Subject: more spacing badness
Date: Fri, 10 Sep 2010 22:14:10 +0100	[thread overview]
Message-ID: <20100910211434.GA17432@bramka.kerhand.co.uk> (raw)

from vi(1):

     ex [-FRrSsv] [-c cmd] [-t tag] [-w size] [file ...]
     vi [-eFRrS] [-c cmd] [-t tag] [-w size] [file ...]
     view [-eFrS] [-c cmd] [-t tag] [-w size] [file ...]

i wanted to format those nicely (in my opinion anyway) so i tried to put
a double space between "vi" and its args. current code does this:

	.Nm vi
	.Op Fl eFRrS
	.Op Fl c Ar cmd
	.Op Fl t Ar tag
	.Op Fl w Ar size
	.Op Ar

so i tried:

	.Nm vi\ \&

old and new groff produce:

	vi  [-eFRrS] [-c cmd] [-t tag] [-w size] [file ...]

but mandoc seems to inject a tab:

	vi    [-eFRrS] [-c cmd] [-t tag] [-w size] [file ...]

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

             reply	other threads:[~2010-09-10 21:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10 21:14 Jason McIntyre [this message]
2010-09-15 15:53 ` Kristaps Dzonsons
2010-09-21 23:05   ` Ingo Schwarze
2010-09-22  7:09     ` Jason McIntyre
2010-09-22  8:11       ` 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=20100910211434.GA17432@bramka.kerhand.co.uk \
    --to=jmc@kerhand.co.uk \
    --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).