[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Re: Wrong indentation for nested description lists
This appears to be a bug in FOP. It works as expected in XEP. The block with the description has a margin-left="0.25in" property, and that should be taken as relative to the containing block. In FOP, it isn't. Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "Steinar Bang" <sb@dod.no> To: <docbook-apps@lists.oasis-open.org> Sent: Tuesday, January 06, 2004 7:25 AM Subject: [docbook-apps] 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> > > > To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/. > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]