This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: <*list> In or After <para>?
- To: David Cramer <david_cramer at broadjump dot com>
- Subject: Re: DOCBOOK: <*list> In or After <para>?
- From: Jorge Godoy <godoy at conectiva dot com>
- Date: Tue, 14 Aug 2001 19:13:40 -0300
- Cc: "M. Wroth" <mark at astrid dot upland dot ca dot us>,Holger Rauch <Holger dot Rauch at heitec dot de>, docbook at lists dot oasis-open dot org
- List-Id: <docbook.lists.oasis-open.org>
- References: <AA7C274B76E19E4A89883C73B97E08760DFA7E@mailbag.inhouse.broadjump.com>
David Cramer <david_cramer@broadjump.com> writes:
> The reply/question is really more appropriate for docbook-apps. I notice
> that when I have
>
> <para>
> Text. Text. Text.
> <orderedlist>
> <listitem>
> <para>
> Text of list item one.
> </para>
> </listitem>
> <listitem>
> <para>
> Text of list item two.
> ...
>
> Using Norm's xsl stylesheets, in the html output, I get:
>
> Text. Text. Text.
> 1. Text of list item one.
>
> 2. Text of list item two.
>
> However, in the fo/pdf output, it does what I would expect and prefer:
>
> Text. Text. Text.
>
> 1. Text of list item one.
>
> 2. Text of list item two.
>
> This happens even now matter how I set spacing.paras.
>
> Is there something I'm missing?
I think I'm not seeing what you are saying it's wrong. Is it the
presence of the blank line before 1. in fo/pdf output?
If it is, you shouldn't count on it.
The HTML output should be something like:
<p>Text. Text. Text.
<ol>
<li>...</li>
<li>...</li>
</ol></p>
And that's exactly what you've said up there.
I'd say if you want to always have the output like what you get with
fo/pdf, write:
<para>...</para>
<*list>
<listitem>...</listitem>
<listitem>...</listitem>
</*list>
Then your HTML will be:
<p>...</p>
<ol>
<li>...</li>
<li>...</li>
</ol>
--
Godoy. <godoy@conectiva.com>
Solutions Developer - Conectiva Inc. - http://www.conectiva.com
Desenvolvedor de Soluções - Conectiva S.A. - http://www.conectiva.com.br
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>