This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] lists not rendered correctly
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Deepak Shrestha" <d88pak at yahoo dot com>, <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 4 Nov 2004 09:04:04 -0800
- Subject: Re: [docbook-apps] lists not rendered correctly
- References: <20041104154325.9595.qmail@web60802.mail.yahoo.com>
The white space at the beginning of your para is the problem. White space
in any element that accepts #PCDATA is likely to be preserved. Try using:
<para>something ...
There was a recent discussion on this list about indentation and whitespace.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Deepak Shrestha" <d88pak@yahoo.com>
To: "Bob Stayton" <bobs@sagehill.net>; <docbook-apps@lists.oasis-open.org>
Sent: Thursday, November 04, 2004 7:43 AM
Subject: Re: [docbook-apps] lists not rendered correctly
> I have placed the pdf file at
> http://www.geocities.com/d88pak/dbapps_list/test.pdf
> Please have a look at it. I am using
> "docbook-xsl-1.66.1","fop-0.20.5" and "saxon6_5_3". I
> just noticed this lately.
> Currently my list is tagged as follows:
> <itemizedlist>
> <listitem>
> <para>
> something ....blah...blah
> </para>
> </listitem>
> </itemizedlist>
> (similar for orderedlist)
>
> Is is correct? or there is something wrong with
> stylesheet/processors?
>
> Thanks for the help...:-)
>
> Deepak K. Shrestha
>
> --- Bob Stayton <bobs@sagehill.net> wrote:
>
> > I can't duplicate that problem. What version of
> > FOP, Saxon, and the
> > stylesheets are you using? Are you using a
> > customization layer? If so,
> > does it work with the stock docbook.xsl stylesheet?
> >
> > Bob Stayton
> > Sagehill Enterprises
> > DocBook Consulting
> > bobs@sagehill.net
> >
> >
> > ----- Original Message -----
> > From: "Deepak Shrestha" <d88pak@yahoo.com>
> > To: <docbook-apps@lists.oasis-open.org>
> > Sent: Friday, October 29, 2004 5:46 AM
> > Subject: [docbook-apps] lists not rendered correctly
> >
> >
> > > Hi all,
> > >
> > > My "itemizedlist" and "ordredlist" are rendered in
> > PDF
> > > one line below the marks. I mean something like
> > this:
> > >
> > > ----------------------------------------
> > > itemizedlist:
> > > -------------
> > > *
> > > my list contents
> > >
> > > ordredlist:
> > > --------------
> > > 1.
> > > my ordered list contents
> > > 2.
> > > my ordered list contents
> > > --------------------------------------------
> > >
> > > Currently I am using [itemizedlist > listitem >
> > para]
> > > for itemizedlist and [orderedlist > listitem >
> > para]
> > > for orderedlist. Is it the correct way for lists?
> > or
> > > there is something wrong with other (like XSLT
> > > processors or FO processors). By the way I am
> > using
> > > Saxon and FOP for PDF output. Any pointers and
> > > suggestions are welcome.
> > >
> > > Thanks in advance
> > >
> > > Deepak
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > >
> > >
> >
> >
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
>
>
>
>