Re: [docbook-apps] Merging the stylesheet modules
Well, then you could create a stylesheet to merge docbook.xsl into a single stylesheet. It would be an identity stylesheet except for templates for xsl:include and xsl:import, which would open the file and process its contents (and any includes) to copy everything. I don't know if the result will work as I've never tried it. I'll be curious to see how big the result it as well. Bob Stayton Sagehill Enterprises b...@sagehill.net -- From: Joshua Wulf jw...@redhat.com Sent: Sunday, May 05, 2013 9:35 AM To: Bob Stayton b...@sagehill.net Cc: docbook-apps@lists.oasis-open.org Subject: Re: [docbook-apps] Merging the stylesheet modules Hi Bob, I'm only doing html-single rendering. - Josh - Original Message - From: Bob Stayton b...@sagehill.net To: Joshua Wulf jw...@redhat.com, docbook-apps@lists.oasis-open.org Sent: Sunday, May 5, 2013 6:55:04 AM Subject: Re: [docbook-apps] Merging the stylesheet modules Hi Josh, It might be possible with the stylesheets for single-page HTML output and FO output. Most of the others rely on keeping templates at different levels of import precedence, which could not be maintained if they are merged. Which stylesheet are you thinking of merging? Bob Stayton Sagehill Enterprises b...@sagehill.net -- From: Joshua Wulf jw...@redhat.com Sent: Friday, May 03, 2013 9:00 PM To: docbook-apps@lists.oasis-open.org Subject: [docbook-apps] Merging the stylesheet modules Webkit has an ugly and long-standing bug where it can't load xsl:imports via http. I've been working around this by doing server-side rendering, but I'm running into scalability limits. How theoretically possible/feasible is it for me to merge the modular Docbook xsl (I'm currently using DB4.5) down to a single megalithic file? Am I dreaming? - Josh ~ Kirtan is Life! ~ Sent from my Mobile Device - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
Re: [docbook-apps] dbtoepub is broken on latest docbook-xsl-ns-snapshot
The snapshot build process is currently broken, I'm afraid. There appears to be filesystem corruption that is producing random SVN locks in the working copy. We are working on it. Bob Stayton Sagehill Enterprises b...@sagehill.net -- From: Shlomi Fish shlo...@shlomifish.org Sent: Monday, May 06, 2013 10:23 AM To: docbook-apps@lists.oasis-open.org Subject: [docbook-apps] dbtoepub is broken on latest docbook-xsl-ns-snapshot Hi all, dbtoepub appears to be broken on the latest docbook-xsl-ns-snapshot. How can it be fixed? I'm on Mageia Linux 3 Cauldron and the xhtml-1_1 stylesheets appear to be missing. I'm attaching the offending DocBook 5/XML file inside a .zip file. Regards, Shlomi Fish shlomif[The-Enemy]:$trunk/The-Enemy/the-enemy$ shlomif[The-Enemy]:$trunk/The-Enemy/the-enemy$ shlomif[The-Enemy]:$trunk/The-Enemy/the-enemy$ shlomif[The-Enemy]:$trunk/The-Enemy/the-enemy$ ruby /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/dbtoepub -o English-Docbook/The-Enemy-English.epub English-Docbook/PROCESSED_The-Enemy-English.db5.xml warning: failed to load external entity /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/docbook.xsl compilation error: file /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/docbook.xsl line 21 element import xsl:import : unable to load /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/docbook.xsl warning: failed to load external entity /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/chunk-common.xsl compilation error: file /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/docbook.xsl line 22 element import xsl:import : unable to load /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/chunk-common.xsl warning: failed to load external entity /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/chunk-code.xsl compilation error: file /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/docbook.xsl line 23 element include xsl:include : unable to load /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/xhtml-1_1/chunk-code.xsl /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/lib/docbook.rb:91:in `render_to_epub': Could not render as .epub to English-Docbook/The-Enemy-English.epub (cd /home/shlomif/tmp/.epubtmp1367860699.0057495 xsltproc --stringparam chunk.quietly 1 --stringparam callout.graphics.path images/callouts/ --stringparam callout.graphics.number.limit 15 --stringparam callout.graphics.extension .png --stringparam base.dir EBPS/ --stringparam epub.metainf.dir META-INF/ --stringparam epub.oebps.dir OEBPS/ /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/docbook.xsl /home/shlomif/Docs/Humour/The-Enemy/hg/The-Enemy/the-enemy/English-Docbook/.collapsed.PROCESSED_The-Enemy-English.db5.xml) (RuntimeError) from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/lib/docbook.rb:43:in `render_to_file' from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/dbtoepub:75:in `block in main' from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/dbtoepub:64:in `each' from /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/dbtoepub:64:in `main' shlomif[The-Enemy]:$trunk/The-Enemy/the-enemy$ -- - Shlomi Fish http://www.shlomifish.org/ Understand what Open Source is - http://shlom.in/oss-fs When Chuck Norris orders Pizza, it arrives before he presses the OK button. — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ Please reply to list if it's a mailing list post - http://shlom.in/reply . - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
Re: [docbook-apps] dbtoepub is broken on latest docbook-xsl-ns-snapshot
Hi Bob, On Mon, 6 May 2013 10:50:12 -0700 Bob Stayton b...@sagehill.net wrote: The snapshot build process is currently broken, I'm afraid. There appears to be filesystem corruption that is producing random SVN locks in the working copy. We are working on it. OK, thanks for letting us know. Is there anywhere I can find a working snapshot? Regards, Shlomi Fish Bob Stayton Sagehill Enterprises b...@sagehill.net -- - Shlomi Fish http://www.shlomifish.org/ First stop for Perl beginners - http://perl-begin.org/ Clarissa Darling will win over Chuck Norris in a battle of wits. — http://www.shlomifish.org/humour/bits/facts/Clarissa/ Please reply to list if it's a mailing list post - http://shlom.in/reply . - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
Re: [docbook-apps] dbtoepub is broken on latest docbook-xsl-ns-snapshot
Not that I know of. Bob Stayton Sagehill Enterprises b...@sagehill.net -- From: Shlomi Fish shlo...@shlomifish.org Sent: Monday, May 06, 2013 11:31 AM To: Bob Stayton b...@sagehill.net Cc: docbook-apps@lists.oasis-open.org Subject: Re: [docbook-apps] dbtoepub is broken on latest docbook-xsl-ns-snapshot Hi Bob, On Mon, 6 May 2013 10:50:12 -0700 Bob Stayton b...@sagehill.net wrote: The snapshot build process is currently broken, I'm afraid. There appears to be filesystem corruption that is producing random SVN locks in the working copy. We are working on it. OK, thanks for letting us know. Is there anywhere I can find a working snapshot? Regards, Shlomi Fish Bob Stayton Sagehill Enterprises b...@sagehill.net -- - Shlomi Fish http://www.shlomifish.org/ First stop for Perl beginners - http://perl-begin.org/ Clarissa Darling will win over Chuck Norris in a battle of wits. — http://www.shlomifish.org/humour/bits/facts/Clarissa/ Please reply to list if it's a mailing list post - http://shlom.in/reply . - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org