Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 1999 05:07:36 -0600 (CST)
From:      Mike Pritchard <mpp@mppsystems.com>
To:        freebsd-doc@freebsd.org
Subject:   Re: mdoc question.
Message-ID:  <199911231107.FAA30486@mppsystems.com>

next in thread | raw e-mail | index | archive | help
I think I only sent this out of the person who replied to the original
message, and not to the list.  Sorry if this is a duplicate.
That's what I get for sending e-mail at 5 in the morning :-(.

On Tue, Nov 23, 1999 at 10:55:12AM +0100, Jeroen Ruigrok van der Werven wrote:
> -On [19991122 19:50], Nick Hibma (hibma@skylink.it) wrote:
> >
> >I would like to 'encode' the following in a manpage:
> >
> >	[ -a start ] [ -e end | -s size ]
> >
> >but the following
> >
> >	.Op Fl a Ar start
> >	.Op Fl e Ar end | Fl s Ar size
> >
> >produces
> >	
> >	[ -a start ] [ -e end | -s file ... ]
> 
> .Op Fl a start
> .Op Fl e end | Fl s size
> 
> No need for the Ar's for all I know.

They are there for typesetting differences.

The problem you are running into is probably due to exceeding the
mdoc parameter limit.  Try:

.Op Fl a ar Start
.Oo
.Fl e Ar end | 
.Fl Fl s Ar Size
.Oc

This is off the top of my head, so I might be slightly wrong.
Checkout mdoc.samples(7) for some other examples.

-Mike
-- 
Mike Pritchard
mpp@FreeBSD.org or mpp@mppsystems.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911231107.FAA30486>