atom feed5 messages in org.oasis-open.lists.docbookRe: [docbook] fox:outline - Patch to ...
FromSent OnAttachments
Karsten OhmeAug 19, 2006 2:30 pm 
Mauritz JeansonAug 20, 2006 3:07 am 
Karsten OhmeAug 20, 2006 3:17 am 
Mauritz JeansonAug 20, 2006 3:35 am 
Bob StaytonAug 20, 2006 9:04 am 
Subject:Re: [docbook] fox:outline - Patch to get with DocBook stylesheetswith FOP 0.92 working
From:Karsten Ohme (wide@t-online.de)
Date:Aug 20, 2006 3:17:46 am
List:org.oasis-open.lists.docbook

Mauritz Jeanson wrote:

-----Original Message----- From: Karsten Ohme

I have here a patch, which replaces the fox:outline elements with fo:bookmarktree and it subelements. Otherwise the FO file cannot be compiled to a PDF with Fop 0.92. Maybe can also be used in a custom stylesheet. Is there a better fix? Is it possible to get the fop version and branch accordingly?

I think there is a simpler fix. Here is what you can do in order to get PDF bookmarks and avoid fatal errors with FOP 0.92beta (Docbook XSL 1.70.1):

1. Set both fop.extensions=1 and fop1.extensions=1

2. Disable the old fox:outline stuff by placing the following line in the customization layer:

<xsl:template match="*" mode="fop.outline"/>

OK, correct, but although it seems not to work with fop 0.92, I would like to have PDF bookmarks.

Is this possible?

Karsten

/MJ