[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Wrong indentation for nested description lists
[I tried tricking the ezmlm list manager by inserting a dummy plain
text message part at the start. But it refused to be tricked, and
broke my message. Here's the content of the message: ]
>>>>> Steinar Bang <sb@dod.no>:
> Platform: dual Intel PIII,
> RedHat 8,
> docbook XML 4.2,
> docbook XSL 1.64.1,
> libxml2 2.5.4,
> libxslt 1.0.27,
> fop 0.20.5
> If I use nested <variablelist> elements, and block style formatting in
> XSL:FO/PDF, the descriptions of the second level list items, aren't
> indented with respect to the releated <term> elements. On the top
> level list, the descriptions are indented.
> Attached is a small test case, the resulting XSL:FO, and the PDF
> resulting from the XSL:FO, using the above toolchain.
The test case isn't attached, but included inline. The XSL:FO and PDF
can be found from the parent article of this one.
Here's the test case:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article
PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" []>
<article>
<title>descriptions in nested variable lists not indented</title>
<articleinfo>
<author>
<firstname>Steinar</firstname>
<surname>Bang</surname>
</author>
</articleinfo>
<abstract>
<para>This DocBook article shows the problems with variable list
formatted as blocks by the DocBook XSL style sheets.</para>
</abstract>
<section>
<title>Holds a description list</title>
<para>Here comes the top level variable list:</para>
<variablelist>
<?dbfo list-presentation="blocks"?>
<varlistentry>
<term><sgmltag class="element">a</sgmltag></term>
<listitem>
<para>This is the <sgmltag class="element">a</sgmltag>
element</para>
</listitem>
</varlistentry>
<varlistentry>
<term><sgmltag class="element">b</sgmltag></term>
<listitem>
<para>This is the <sgmltag class="element">b</sgmltag>
element. It contains the following elements:</para>
<variablelist>
<?dbfo list-presentation="blocks"?>
<varlistentry>
<term><sgmltag class="element">c</sgmltag></term>
<listitem>
<para>This is the <sgmltag class="element">c</sgmltag>
element</para>
</listitem>
</varlistentry>
<varlistentry>
<term><sgmltag class="element">2</sgmltag></term>
<listitem>
<para>This is the <sgmltag class="element">d</sgmltag>
element</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
<varlistentry>
<term><sgmltag class="element">e</sgmltag></term>
<listitem>
<para>This is the <sgmltag class="element">e</sgmltag>
element</para>
</listitem>
</varlistentry>
</variablelist>
<para>Just another paragraph. bla bla bla blab bla bla bla bla
sdfdsfs fsdfsdf sdfdsf sdf sdfdsf
</para>
</section>
</article>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]