GNOME Bugzilla – Bug 668695
Inconsistent use of vertical whitespace when <indexterm> is used
Last modified: 2012-11-03 16:00:34 UTC
Created attachment 206137 [details] XML file, FO output, and PDF <?xml version="1.0" encoding="US-ASCII"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> <book> <chapter id="ch_test"> <title>Chapter Test</title> <para>This is a whitespace test due to <indexterm>,</para> <para>0 <indexterm> above this paragraph.</para> <para>0 <indexterm> above this paragraph.</para> <section id="sctn_1"> <title>Section 1</title> <indexterm> <primary>Term 1</primary> <secondary>Term 1-1</secondary> </indexterm> <para>1 <indexterm> above this paragraph.</para> <para>0 <indexterm> above this paragraph.</para> <indexterm> <primary>Term 1</primary> <secondary>Term 1-1</secondary> </indexterm> <para>1 <indexterm> above this paragraph.</para> </section> <section id="sctn_2"> <title>Section 2</title> <indexterm> <primary>Term 2</primary> <secondary>Term 2-1</secondary> </indexterm> <indexterm> <primary>Term 2</primary> <secondary>Term 2-2</secondary> </indexterm> <para>2 <indexterm> above this paragraph.</para> <indexterm> <primary>Term 1-1</primary> </indexterm> <para>1 <indexterm> above this paragraph.</para> <para>0 <indexterm> above this paragraph.</para> <indexterm> <primary>Term 2</primary> <secondary>Term 2-1</secondary> </indexterm> <indexterm> <primary>Term 2</primary> <secondary>Term 2-2</secondary> </indexterm> <para>2 <indexterm> above this paragraph.</para> </section> <section id="sctn_3"> <title>Section 3</title> <indexterm> <primary>Term 3</primary> <secondary>Term 3-1</secondary> </indexterm> <indexterm> <primary>Term 3</primary> <secondary>Term 3-2</secondary> </indexterm> <indexterm> <primary>Term 3</primary> <secondary>Term 3-3</secondary> </indexterm> <para>3 <indexterm> above this paragraph.</para> <indexterm> <primary>Term 1-1</primary> </indexterm> <para>1 <indexterm> above this paragraph.</para> <para>0 <indexterm> above this paragraph.</para> <indexterm> <primary>Term 3</primary> <secondary>Term 3-1</secondary> </indexterm> <indexterm> <primary>Term 3</primary> <secondary>Term 3-2</secondary> </indexterm> <indexterm> <primary>Term 3</primary> <secondary>Term 3-3</secondary> </indexterm> <para>3 <indexterm> above this paragraph.</para> </section> </chapter> </book> My apologies if this is Apache's FOP (https://issues.apache.org/bugzilla/show_bug.cgi?id=52526).
$ xsltproc -V Using libxml 20706, libxslt 10126 and libexslt 815 xsltproc was compiled against libxml 20706, libxslt 10126 and libexslt 815 libxslt 10126 was compiled against libxml 20706 libexslt 815 was compiled against libxml 20706 $ fop -version FOP Version 1.0 $ uname -a Linux studio 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64 GNU/Linux
This seems to be an issue with Apache's FOP.