This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: itemized list within <para> or after </para>??
- From: Bob Stayton <bobs at caldera dot com>
- To: "Robert P. J. Day" <rpjday at mindspring dot com>,docbook mailing list <docbook at lists dot oasis-open dot org>
- Date: Sat, 27 Jul 2002 01:36:32 -0700
- Subject: Re: DOCBOOK: itemized list within <para> or after </para>??
- References: <Pine.LNX.4.44.0207261335430.16139-100000@localhost.localdomain>
On Fri, Jul 26, 2002 at 01:40:47PM -0400, Robert P. J. Day wrote:
>
> ok, this is *really* anal retentive, but i'll bet folks have
> an opinion on it.
>
> if i want an opening paragraph, followed by a list, as in:
>
> Before you try to make your own beer, you should have the
> following at hand:
>
> * hops
> * barley
> * water
> * hard liquor for when you get frustrated
>
>
> is it proper to make the itemized list a sub-element of the
> paragraph, or to close the <para> and have the itemized list
> as the next element at the same level?
>
> aesthetically, it doesn't appear to make any difference, but
> TDG under "Para" suggests that "Some processing systems may find
> the presence of block elements in a paragraph difficult to
> handle". (p. 351)
>
> so, any strong opinions either way?
My own practice is to put the list inside the para element
when it is tightly coupled with the para text, as in your
example. If I grab the para to move it, I want to
make sure it brings the list along with it, because it
makes no sense without it.
In another opinion, I wouldn't include 'hard liquor' in
that list. It comes much later in the process, after your
carefully filled bottles age for a few days and
start exploding in your closet. 8^)
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com