This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Nested Orderedlist output problem


Hi,

I have a problem with creating correct output with FOP I have tried iwth
FOP 0.24 and 0.25rc. The problem does not appear with XEP 2.77 so I
assume it is either a bug with FOP or a limitation of the
implementation. So any ideas on How to tweak where to tweak stylesheets
? Note that I have tried variable.lists.as.blocks=1 or 0 that does not
help :-(

Environment
=================
Docbook XML 4.2
Docbook XSL StyleSheets 1.58.1
Saxon 6.5.2
FOP 0.25rc and FOP 0.24

The PDF Output comes as like this
=====================================================
First Part of the list

1.
First term
Description
Second term
Description

2.
Third Term
Description

Second Part of the List
3. Fourth Term
Description

===========================================================

However I want it like this
**************************************************************
First Part of the list

1. First term
Description
Second term
Description

2. Third Term
Description

Second Part of the List
3. Fourth Term
Description

*******************************************************************
Here is a sample XML document which describes the layout I am intending
to achieve.


<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"/usr/share/sgml/db42xml/docbookx.dtd"
>
<article>
<title>Variablelists in Orderedlists problem</title>
<orderedlist numeration="arabic">
<title>First Part of the list</title>
<listitem>
<variablelist>
<varlistentry>
<term>First Term</term>
<listitem>
<para>Description of the term.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Second term</term>
<listitem>
<para>Definition of second term</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
<listitem>
<variablelist>
<varlistentry>
<term>Third Term in the second List item</term>
<listitem>
<para>Bla bla bla bla bla</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</orderedlist>
<orderedlist continuation="continues">
<title>Second part of the list</title>
<listitem>
<variablelist>
<varlistentry>
<term>Fourth Term</term>
<listitem>
<para>Bla bla bla bla </para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</orderedlist>
</article>

--

Togan Muftuoglu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]