From: Nicolas Joly <njoly@pasteur.fr>
To: discuss@mdocml.bsd.lv
Subject: mandoc/nroff small spacing difference for .Bd -offset 0
Date: Tue, 16 Oct 2012 20:05:03 +0200 [thread overview]
Message-ID: <20121016180503.GA5777@lynche.sis.pasteur.fr> (raw)
Hi,
Still checking the NetBSD man pages i noticed a minor difference for
display blocks with an `-offset 0' argument.
nroff displays it as if there wasn't an offset argument, but mandoc do
adds an extra leading space.
njoly@lanfeust [tmp/mandoc]> cat sample.1
.Dd October 16,2012
.Dt SAMPLE 1
.Os
.Sh NAME
.Nm sample
.Nd sample description
.Sh DESCRIPTION
.Bd -literal
Bd no offset
.Ed
.Bd -literal -offset 0
Bd offset 0
.Ed
njoly@lanfeust [tmp/mandoc]> nroff -mandoc sample.1 | grep Bd
Bd no offset
Bd offset 0
njoly@lanfeust [tmp/mandoc]> mandoc sample.1 | grep Bd
Bd no offset
Bd offset 0
Not a big deal as removing the offending offset argument will produce
a consistent output with both formatters, but wanted to report it
anyway.
Thanks.
--
Nicolas Joly
Biology IT Center
Institut Pasteur, Paris.
--
To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv
next reply other threads:[~2012-10-16 18:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-16 18:05 Nicolas Joly [this message]
2012-11-16 22:56 ` Ingo Schwarze
2012-11-19 13:37 ` Nicolas Joly
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=20121016180503.GA5777@lynche.sis.pasteur.fr \
--to=njoly@pasteur.fr \
--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).