[docbook-apps] MathML and fo:instream-foreign-object

2007-03-30 Thread Mads Ipsen
Hey, In order to get MathML rendered with Antenna House's XSLFormatter, you need to wrap all MathML blocks inside a fo:instream-foreign-object element. If I (very naively) do xsl:template match=mml:* xmlns:mml=http://www.w3.org/1998/Math/MathML; fo:instream-foreign-object xsl:copy

Re: [docbook-apps] MathML and fo:instream-foreign-object

2007-03-30 Thread Jirka Kosek
Mads Ipsen wrote: In order to get MathML rendered with Antenna House's XSLFormatter, you need to wrap all MathML blocks inside a fo:instream-foreign-object element. If I (very naively) do Get the latest snapshot from http://docbook.sf.net/snapshots/ I have fixed exactly this week or two ago.

Re: [docbook-apps] MathML and fo:instream-foreign-object

2007-03-30 Thread Chris Chiasson
Did you fix this: http://sourceforge.net/tracker/index.php?func=detailaid=1574016group_id=21935atid=373749 [ 1574016 ] docbook 5 imagedata svg and mml support ? Also, in the namespaced version of the xsl 1 stylesheets, is it now possible to create a version that doesn't require MathML

Re: [docbook-apps] MathML and fo:instream-foreign-object

2007-03-30 Thread Jirka Kosek
Chris Chiasson wrote: Did you fix this: http://sourceforge.net/tracker/index.php?func=detailaid=1574016group_id=21935atid=373749 [ 1574016 ] docbook 5 imagedata svg and mml support ? No, I will look into this issue later, hopefully during the weekend. Also, in the namespaced version

Re: [docbook-apps] MathML and fo:instream-foreign-object

2007-03-30 Thread Chris Chiasson
On 3/30/07, Jirka Kosek [EMAIL PROTECTED] wrote: Also, in the namespaced version of the xsl 1 stylesheets, is it now possible to create a version that doesn't require MathML elements to have a prefix? XSLT is not prefix aware, so you can use any prefix for your MathML elements, including

Re: [docbook-apps] MathML and fo:instream-foreign-object

2007-03-30 Thread Jirka Kosek
Chris Chiasson wrote: Does this work with the current stylesheets, Yes, but at this time you have to download snapshot release. or is it still looking for elements with the mml: (or svg: ) prefix? I think the reason the old stylesheets needed the prefixes was that they did not use

Re: [docbook-apps] MathML and fo:instream-foreign-object

2007-03-30 Thread Chris Chiasson
On 3/30/07, Jirka Kosek [EMAIL PROTECTED] wrote: Chris Chiasson wrote: Does this work with the current stylesheets, Yes, but at this time you have to download snapshot release. or is it still looking for elements with the mml: (or svg: ) prefix? I think the reason the old stylesheets

RE: [docbook-apps] generating a JavaHelp glossary file

2007-03-30 Thread Mauritz Jeanson
-Original Message- From: Brett Leber I'm wondering if it's possible to generate a JavaHelp glossary file from DocBook source using the existing style sheets. No, it is not possible. This JavaHelp 2.0 feature is currently not supported in the stock JavaHelp stylesheet. /MJ

Re: [docbook-apps] generating a JavaHelp glossary file

2007-03-30 Thread Brett Leber
Thanks. Would be a nice extension to the stock JavaHelp stylesheet. Brett On 3/30/2007 11:07 AM, Mauritz Jeanson wrote: -Original Message- From: Brett Leber I'm wondering if it's possible to generate a JavaHelp glossary file from DocBook source using the existing style sheets.

Re: [docbook-apps] MathML and fo:instream-foreign-object

2007-03-30 Thread Bob Stayton
- Original Message - From: Chris Chiasson [EMAIL PROTECTED] To: Jirka Kosek [EMAIL PROTECTED] Cc: Mads Ipsen [EMAIL PROTECTED]; docbook-apps@lists.oasis-open.org Sent: Friday, March 30, 2007 1:56 AM Subject: Re: [docbook-apps] MathML and fo:instream-foreign-object On 3/30/07, Jirka

Re: [docbook-apps] Carriage Return/Line Feed within informaltable cells on PDF

2007-03-30 Thread Colin Shapiro
That's a lot simpler than the way I had done it in the past. Thanks. Colin On 3/29/07, Ron Catterall [EMAIL PROTECTED] wrote: It's very easy to put in an extra fo block to act as a line break !-- PI to cause a line break - usage ?lb? -- xsl:template match=processing-instruction('lb')

Re: [docbook-apps] Stripping comments

2007-03-30 Thread Bob Stayton
You could use XSLT, but you might not like the results. 8^) You start with an identity stylesheet such as the following: ?xml version=1.0? xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xsl:output indent=no/ xsl:template match=node()|@* xsl:copy

Re: [docbook-apps] Stripping comments

2007-03-30 Thread Kells Kearney
Here's a quick perl solution that doesn't read everything into memory and seems to handle some of the edge cases. Try it out on a few things to verify that everything is okay before completely trusting it, though. :) Copy the lines between '' into a file (say

[docbook-apps] Re: [xep-support] cover pages front and back

2007-03-30 Thread Elliotte Harold
Bob Stayton wrote: Hello, The DocBook XSL stylesheets currently don't provide direct support for covers, only front title pages. Covers can come in a variety of configurations, such as single-sheet for front and back, wrap-around with spine, or wrap-around without spine for saddle stitch.

RE: [docbook-apps] Re: [xep-support] cover pages front and back

2007-03-30 Thread David Cramer (Tech Pubs)
You can get something pretty cover-like just using titlepages for front covers IMO. You can't do full page covers (e.g. with things that look like bleeds). If you need something fancy like that you need to write some custom stuff at this point. Here's a pretty old and kludgy example

Re: [docbook-apps] MathML and fo:instream-foreign-object

2007-03-30 Thread Chris Chiasson
On 3/30/07, Bob Stayton [EMAIL PROTECTED] wrote: Hi Chris, No, that is not the correct assessment. 8^) Heh, my apologies :] The prefix string does not matter, all that matters in the stylesheet is that there is a prefix in the match attribute, and it is assigned to the mathml namespace name