discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* Wrong treatment of ".Nm ."
@ 2011-06-02  9:03 Ulrich Spörlein
  2011-06-02  9:33 ` Ulrich Spörlein
  0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Spörlein @ 2011-06-02  9:03 UTC (permalink / raw)
  To: discuss

Hi,

dump.8 on FreeBSD starts roughly like this:

.Dd February 24, 2006
.Dt DUMP 8
.Os
.Sh NAME
.Nm dump ,
.Nm rdump
.Nd file system backup
.Sh SYNOPSIS
.Nm
.Op Fl T Ar date
.Ar filesystem
.Nm
.Fl W | Fl w
.Pp
.Nm rdump
is an alternate name for
.Nm .
.Pp
.in \" XXX
(The
.Bx 4.3
option syntax is implemented for backward compatibility, but
is not documented here.)
.Sh DESCRIPTION
The
.Nm
utility examines files



And mandoc will misrender the .Nm . like this:

     rdump is an alternate name for
     .

when it should do this:

     rdump is an alternate name for dump.


Also, groff will indent the sentence in parenthesis unless the ".in"
suppresses that. mandoc doesn't know ".in" but behaves like it is set.
Not sure if you want to follow what groff is doing here ...

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-11 15:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-02  9:03 Wrong treatment of ".Nm ." Ulrich Spörlein
2011-06-02  9:33 ` Ulrich Spörlein
2011-06-11 15:46   ` Ingo Schwarze

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