Hi Bob,
Thanks for quick response and I can confirm that the workaround has
worked.
Regards
On 03/05/2012 17:25, Bob Stayton wrote:
Hi Andy,
That's a bug in the chunkfast stylesheet. There is a simple fix,
which I will check in shortly. You can add the fix to your
customization layer as a workaround. Just add this empty
template:
<xsl:template match="legalnotice" mode="find.chunks"/>
That leaves legalnotice out of the list of chunks. Their chunks
and links are still generated because that is a separate step not
handled by chunkfast.
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
----- Original Message ----- From: <andy.hatton@oracle.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, May 03, 2012 6:26 AM
Subject: [docbook-apps] Separate legal notices
Hi
I am trying to use the functionality for moving legal notices
into separate files, as described here:
http://www.sagehill.net/docbookxsl/LegalNotice.html
I have the <xsl:param name="generate.legalnotice.link"
select="1"/> parameter set in my customization layer.
The legal notice links are generated as expected, but the Next
button on the HTML index/toc page takes you to the the first
legal notice (which is a dead end) instead of the Preface.
I am using XSLTPROC, DocBook 4.5 and DocBook XSL 1.76.1.
I am using chunkfast.xsl to produce XHTML output and have the
chunk.fast parameter set to 1 in the customization layer.
If I set the chunk.fast parameter to 0, then the Next button
behaves as I would expect and links to the Preface.
Is there another parameter I need to set to get this to work
with fast chunking?
(Assuming that setting the chunk.fast parameter to 0 disables
the fast chunking behavior).
Thanks
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org
---------------------------------------------------------------------
To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org
--
Andy Hatton | Senior Technical Author |
+44 (0)113 365 6011
Oracle Desktop Virtualization
Richmond House | Lawnswood Business Park | Leeds | LS16 6RD |
United Kingdom
|