[xslt] xsltproc and whitespace with <indexterm>
- From: Jeffrey Walton <noloader gmail com>
- To: xslt gnome org
- Subject: [xslt] xsltproc and whitespace with <indexterm>
- Date: Sun, 6 Nov 2011 21:33:38 -0500
Hi All,
I'm using xsltproc 2.7.6 and fop {0.95|1.0} on Ubuntu 10.04 (x64). I'm
producing PDFs using docbook.xsl located at
/usr/share/xml/docbook/stylesheet/docbook-xsl-ns/fo/docbook.xsl.
When I add index terms between elements such as <chapter> or <section>
and <para>, the whitespace is showing up in the finished document.
That is, I will not see 'standard' spacing between a {chapter|section}
title and the first paragraph (which looks like it should be one
line). I will see double/triple spaced lines between the title and the
first paragraph. I also see similar between paragraphs.
I thought the whitespace between tags was extraneous and would be
silently discarded (for example, the whitespace caused by <indexterm>
below). Is this not the case?
Are there any work arounds to get back to standard line spacing?
Jeff
<section id="section_xxx">
<title>Section Title</title>
<indexterm>
<primary>Term 1</primary>
</indexterm>
<indexterm>
<primary>Term 2</primary>
</indexterm>
<para>...</para>
<indexterm>
<primary>Term 3</primary>
</indexterm>
<para>...</para>
</section>
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]