OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Additional space after remark in varlistentry/listitem?



Hi,

if I insert a remark after a listitem, I get an additional space in FO/PDF. See the following example:

----------------- 
<?xml version="1.0"?>
<chapter>
  <title>Just a test</title>
  <variablelist>
   <varlistentry>
    <term>The first term</term>
    <listitem>
     <para>This is the description of the first term</para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>The second term</term>
    <listitem>
     <remark>This is a remark</remark>
     <para>This is the description of the second term</para>
    </listitem>
   </varlistentry>
  </variablelist>
</chapter>
-----------------

If I transform this with variablelist.as.blocks=1 and show.comments=0 I get an empty line between "The second term":

-----------------
The first term
  This is the description of the first term

The second term

  This is the description of the second term
-----------------

That's weird and I suppose this should not be there. After looking at the FO file, the second term looks like this:

<fo:block id="id2248578" 
  space-before.optimum="1em" 
  space-before.minimum="0.8em"
  space-before.maximum="1.2em" 
  font-weight="bold" 
  keep-together.within-column="always" 
  keep-with-next.within-column="always">
  <fo:inline>The second term</fo:inline>
  </fo:block>
   <fo:block margin-left="15pt">
     <fo:block space-before.optimum="1em" 
                   space-before.minimum="0.8em" 
                   space-before.maximum="1.2em"><!-- (1) -->This is the description of the first term</fo:block>
     </fo:block>
   </fo:block>

It seems, that the space-before.* attributes in fo:block (1) coming from the attribute set "normal.para.spacing". It is inserted only, if a remark occurs after the listitem.

Any ideas how to solve it?

Thanks,
Tom

-------
DocBook XSL Stylesheets 2005-06-21 (snapshot)
XEP 4.4 build 20050610
xsltproc --version
 Using libxml 20617, libxslt 10112 and libexslt 810
 xsltproc was compiled against libxml 20617, libxslt 10112 and libexslt 810
 libxslt 10112 was compiled against libxml 20617
 libexslt 810 was compiled against libxml 20617



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]