Re: [docbook-apps] Re: How to use Calabash with the DocBook XSL1.0 Stylesheets?
Hi, Am Sonntag, 1. Januar 2012, 18:17:20 schrieb Norman Walsh: [...] Ok, it seems, the naming has been changed, but strangly I didn't get an index.html file. My naive thought was to have some navigation headers, but they don't show up in my HTML files. Maybe there is some magic which I've missed. I would love to use the chunking stylesheet too. :-) Hmm. I'll look into that. Can you send me a source document? Sure. I've created a test directory in my Mercurial repo. You can download the complete file from here (391KByte): https://sf.net/p/doccookbook/code/ci/f625c5061653ebb7f6a930798cf439e6b8a842de/tree/test/DoCookBook.xml?format=raw It should be valid against DocBook 5.0. [...] Github would be more convenient, actually. Sigh. I need to get this all cleaned up. No problem. :) Thanks for the help! -- Gruß/Regards Thomas Schraitle - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
[docbook-apps] Re: How to use Calabash with the DocBook XSL1.0 Stylesheets?
Thomas Schraitle tom_s...@web.de writes: [...] Or start using the DocBook XSLT 2.0 stylesheets. :-) Actually I did, but wasn't successfull. :-) The usual docbook.xsl works like a charm. I don't have any problems with it so far. However, for some unknown reason, the chunk.xsl doesn't work for me (yet). I used Saxon9 with the original DocBook XSLT 2.0 stylesheet like this: $ saxon9 -xi -s:en/xml/DoCookbook.xml \ -xsl:frameworks/db-xslt2/xslt/base/html/chunk.xsl Interestingly, this doesn't print any Writing ... messages. I get these files now: chunk-appendix-d62e5692.html chunk-book-d62e2.html chunk-chapter-d62e2464.html chunk-chapter-d62e475.html chunk-preface-d62e179.html [...] Ok, it seems, the naming has been changed, but strangly I didn't get an index.html file. My naive thought was to have some navigation headers, but they don't show up in my HTML files. Maybe there is some magic which I've missed. I would love to use the chunking stylesheet too. :-) Hmm. I'll look into that. Can you send me a source document? Oh, by the way: When I've played with the XSLT2 stylesheets, I've came across some bugs. As I wasn't sure if you prefer still the Sourceforge ticker or Github, I used the former. Here are some pointers, hope they are helpful: #3464876 xslt2: keycap/@function not used #3464633 xslt2: Parameter img.src.path has no effect #3450421 xslt2: Relative paths for transclusion do not work #3431422 xslt2: menuchoice is not correctly rendered Github would be more convenient, actually. Sigh. I need to get this all cleaned up. Be seeing you, norm -- Norman Walsh n...@nwalsh.com | Old age is the most unexpected of http://www.oasis-open.org/docbook/ | all the things that happen to a Chair, DocBook Technical Committee | man.-- Trotsky pgpAY6CkEiHmZ.pgp Description: PGP signature
[docbook-apps] Re: How to use Calabash with the DocBook XSL1.0 Stylesheets?
Thomas Schraitle tom_s...@web.de writes: Well, I assume this has something to do that Saxon9 doesn't support the exsl:document or saxon:output extensions anymore. Unfortunately, this makes the combination XProc + Calabash + Saxon9 + DocBook XSLT1.0 unusable. It seems, it doesn't help to add the Saxon6 jar into the classpath. No, it doesn't. I think the only way to fix this would be to write an XProc extension step that used the Saxon6 implementation. Or start using the DocBook XSLT 2.0 stylesheets. :-) Can anybody confirm this behaviour? Is there any method to delegate an XSLT step for version 1.0 to Saxon 6? Has anybody successfully used Calabash with the DocBook XSLT 1.0 stylesheets? I'll take a quick peek at writing an cx:xslt1 extension step. Be seeing you, norm -- Norman Walsh n...@nwalsh.com | What is familiar is what we are http://www.oasis-open.org/docbook/ | used to; and what we are used to Chair, DocBook Technical Committee | is most difficult to 'Know'--that | is, to see as a problem; that is, | to see as strange, as distant, as | 'outside us'.-- Nietzsche pgpvQvVYefuDJ.pgp Description: PGP signature
Re: [docbook-apps] Re: How to use Calabash with the DocBook XSL1.0 Stylesheets?
Hi Norm, wish you all a happy new year! :-) Am Samstag, 31. Dezember 2011, 07:29:16 schrieb Norman Walsh: [...] It seems, it doesn't help to add the Saxon6 jar into the classpath. No, it doesn't. I think the only way to fix this would be to write an XProc extension step that used the Saxon6 implementation. Thanks for confirming. Or start using the DocBook XSLT 2.0 stylesheets. :-) Actually I did, but wasn't successfull. :-) The usual docbook.xsl works like a charm. I don't have any problems with it so far. However, for some unknown reason, the chunk.xsl doesn't work for me (yet). I used Saxon9 with the original DocBook XSLT 2.0 stylesheet like this: $ saxon9 -xi -s:en/xml/DoCookbook.xml \ -xsl:frameworks/db-xslt2/xslt/base/html/chunk.xsl Interestingly, this doesn't print any Writing ... messages. I get these files now: chunk-appendix-d62e5692.html chunk-book-d62e2.html chunk-chapter-d62e2464.html chunk-chapter-d62e475.html chunk-preface-d62e179.html [...] Ok, it seems, the naming has been changed, but strangly I didn't get an index.html file. My naive thought was to have some navigation headers, but they don't show up in my HTML files. Maybe there is some magic which I've missed. I would love to use the chunking stylesheet too. :-) Oh, by the way: When I've played with the XSLT2 stylesheets, I've came across some bugs. As I wasn't sure if you prefer still the Sourceforge ticker or Github, I used the former. Here are some pointers, hope they are helpful: #3464876 xslt2: keycap/@function not used #3464633 xslt2: Parameter img.src.path has no effect #3450421 xslt2: Relative paths for transclusion do not work #3431422 xslt2: menuchoice is not correctly rendered Has anybody successfully used Calabash with the DocBook XSLT 1.0 stylesheets? I'll take a quick peek at writing an cx:xslt1 extension step. Thanks Norman! :-) -- Gruß/Regards Thomas Schraitle - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org