Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2013 23:00:38 +0400
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@des.no>
Cc:        ru@freebsd.org, doc@freebsd.org
Subject:   Re: Tagged lists with multiple tags in mdoc
Message-ID:  <CAE-mSOKn3-__cx5yxR7YmzzU4e5wRf9vprYbG1SD=bHvRiuw%2BA@mail.gmail.com>
In-Reply-To: <868v5mkkeb.fsf@ds4.des.no>
References:  <868v5mkkeb.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17 March 2013 21:26, Dag-Erling Sm=F8rgrav <des@des.no> wrote:
> I need to make a tagged list where some items have multiple tags - for
> instance,
>
>     function1()
>     function2()
>     function3()
>             These are the first three functions.
>
>     function4()
>             This is the fourth function.
>
> If I use
>
> .Bl -tag
> .It Fn function1
> .It Fn function2
> .It Fn function3
> These are the first three functions.
> .It Fn function4
> This is the fourth function.
> .El
>
> groff will insert blank lines after function1() and function2(), which
> I'd like to avoid.  Conversely, if I use -compact, it will omit the
> blank lines between before function4() and between the list and the
> surrounding text, which is also wrong.

What about this?

.Pp
.Bl -tag -width indent -compact
.It Fn function1
.It Fn function2
.It Fn function3
These are the first three functions.
.Pp
.It Fn function4
This is the fourth function.
.El

--=20
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOKn3-__cx5yxR7YmzzU4e5wRf9vprYbG1SD=bHvRiuw%2BA>