Re: [docbook-apps] command line param to keep FO file in PDF output?
Thanks Tony, I'll keep this makefile tip in mind. But it turns out that the FO file was deleted by a shell script that was called by the makefile. Regards, Mark On 3/3/2021 11:55 PM, Tony Graham wrote: On 04/03/2021 04:33, Mark Giffin wrote: It's starting to come back to me. I think that the default when creating a PDF with DocBook XSL is for the FO file to remain there on the drive unmolested. So I think I need to point a finger at my makefiles. Sorry to be a bother. Since you are using Make, run the rule to make the FO file once so that there is an intermediate FO file there when Make next runs. Make will automatically delete intermediate files that weren't there when it started, but will preserve updated intermediate files that were already there: https://www.gnu.org/software/make/manual/html_node/Chained-Rules.html Regards, Tony Graham. - 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] command line param to keep FO file in PDF output?
It's starting to come back to me. I think that the default when creating a PDF with DocBook XSL is for the FO file to remain there on the drive unmolested. So I think I need to point a finger at my makefiles. Sorry to be a bother. Mark On 3/3/2021 3:14 PM, Mark Giffin wrote: I'm using DocBook XSL and I'm trying to save the XSL-FO file from PDF output. Is there a parameter for this? Thanks, Mark - 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
[docbook-apps] command line param to keep FO file in PDF output?
I'm using DocBook XSL and I'm trying to save the XSL-FO file from PDF output. Is there a parameter for this? Thanks, Mark - 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] target.db cannot be generated with Saxon?
That worked, thanks a lot Bob. Now I have to set up xerces for my xincludes. Mark On 7/12/2020 11:36 PM, Bob Stayton wrote: The short answer is: The DocBook XSL stylesheets are written in XSL 1, and work best with Saxon 6.5.5. Bob Stayton b...@sagehill.net On 7/12/2020 11:24 PM, Mark Giffin wrote: I'm messing with olinks and I'm trying to generate my target.db files from the command line (Windows 10) with Saxon HE10-1J and I keep getting no target.db file and this error: Writing target.db for book(MailUserGuide) Can't make chunks with Saxonica's processor. Error at char 16 in expression in xsl:value-of/@select on line 380 column 63 of chunker.xsl: XTMM9000 Processing terminated by xsl:message at line 380 in chunker.xsl at template write.chunk on line 89 of chunker.xsl: invoked by xsl:call-template at file:/C:/Users/mark/docbook/docbook-xsl-1.79.2/common/targets.xsl#60 In template rule with match="*" on line 48 of targets.xsl invoked by built-in template rule (text-only) In template rule with match="/" on line 420 of docbook.xsl invoked by xsl:apply-templates at file:/C:/Users/mark/docbook/docbook-xsl-1.79.2/html/docbook.xsl#490 In template rule with match="/" on line 420 of docbook.xsl Processing terminated by xsl:message at line 380 in chunker.xsl Does this not work with Saxon? I can run this successfully on Ubuntu using xsltproc (using Windows Subsystem for Linux so I can run ubuntu on the same file system). Thanks, Mark - 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] target.db cannot be generated with Saxon?
I'm messing with olinks and I'm trying to generate my target.db files from the command line (Windows 10) with Saxon HE10-1J and I keep getting no target.db file and this error: Writing target.db for book(MailUserGuide) Can't make chunks with Saxonica's processor. Error at char 16 in expression in xsl:value-of/@select on line 380 column 63 of chunker.xsl: XTMM9000 Processing terminated by xsl:message at line 380 in chunker.xsl at template write.chunk on line 89 of chunker.xsl: invoked by xsl:call-template at file:/C:/Users/mark/docbook/docbook-xsl-1.79.2/common/targets.xsl#60 In template rule with match="*" on line 48 of targets.xsl invoked by built-in template rule (text-only) In template rule with match="/" on line 420 of docbook.xsl invoked by xsl:apply-templates at file:/C:/Users/mark/docbook/docbook-xsl-1.79.2/html/docbook.xsl#490 In template rule with match="/" on line 420 of docbook.xsl Processing terminated by xsl:message at line 380 in chunker.xsl Does this not work with Saxon? I can run this successfully on Ubuntu using xsltproc (using Windows Subsystem for Linux so I can run ubuntu on the same file system). Thanks, Mark - 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] using olinks everywhere?
on your own there. * I’m amazed that you /can/ mix namespaced and non-namespaced XSL in the same doc build system. You’re a wizard. * You can upgrade your DocBook 4.3 files to 4.5, the last supported version of DocBook 4, by just editing the number in the DOCTYPE line of each file, and adjusting the version of XSL you’re using to match. It was painless for us to do that. On Jul 10, 2020, at 2:12 AM, Mark Giffin <mailto:m1...@earthlink.net>> wrote: I have a large collection of user guides in Docbook 4.3 and 5.1, and they have a top-level Docbook files with a element, and sub-chapters are pulled in using xincludes like this: http://www.w3.org/2001/XInclude;> my title etc. In the interests of simplicity for authors, we have the idea of using only s for linking across these books. Does anyone know of any problems with using only olinks? Thanks, Mark - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org <mailto:docbook-apps-unsubscr...@lists.oasis-open.org> For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org <mailto:docbook-apps-h...@lists.oasis-open.org>
[docbook-apps] using olinks everywhere?
I have a large collection of user guides in Docbook 4.3 and 5.1, and they have a top-level Docbook files with a element, and sub-chapters are pulled in using xincludes like this: http://www.w3.org/2001/XInclude;> my title etc. In the interests of simplicity for authors, we have the idea of using only s for linking across these books. Does anyone know of any problems with using only olinks? Thanks, Mark - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org