Re: [docbook-apps] Should xmllint successfully validate docbook 5 containing XIncludes?

2013-10-31 Thread Bob Stayton
Hi Jon, I think Carlos meant to use the official MathML namespace instead of a DTD reference: xmlns:mathml=http://www.w3.org/1998/Math/MathML; It seems loading the MathML DTD confused Jing. The DocBook 5 RelaxNG schema permits elements in the MathML namespace, but it does not try to

Re: [docbook-apps] Should xmllint successfully validate docbook 5 containing XIncludes?

2013-10-31 Thread Jirka Kosek
On 31.10.2013 17:36, Bob Stayton wrote: character entities in the MathML DTD. If Jing does not like loading the entire MathML DTD as you tried, it would probably accept loading just the entity declarations from the DTD. You could try copying the MathML dtd to another file and stripping out

Re: [docbook-apps] smart quotes are acting stupid in Firefox IE; why?

2013-10-31 Thread Jirka Kosek
On 28.10.2013 17:11, Bob Stayton wrote: But I also found that when processing with the xhtml5 stylesheet instead of xhtml, that meta element is *not* output automatically (and the epub3 stylesheet is based on xhtml5). I thought that was odd, since the xhtml5 stylesheet imports from the xhtml

[docbook-apps] Issue with page number format, when toc is relocated

2013-10-31 Thread Erik Leunissen
I've positioned the toc of a book after the preface (through processing of an empty toc element in the xml source). That works, except that the page number sequence is as follows: (i, ii,) iii, iv, 5, 1, 2, 3, etc ... ^ where: - pages i and ii are suppressed in the

Re: [docbook-apps] smart quotes are acting stupid in Firefox IE; why?

2013-10-31 Thread Bob Stayton
Hi Jirka, I just tested again with xhtml/docbook.xsl, and you are correct that Saxon does not output that meta tag when output method=xml, but xsltproc does with that stylesheet. But xsltproc does so only when the XHTML DTD is specified. When the DTD reference is removed, as in xhtml5, then

Re: [docbook-apps] Issue with page number format, when toc is relocated

2013-10-31 Thread Bob Stayton
Hi Erik, You'll need to customize the template named 'page.number.format' from fo/pagesetup.xsl. It has an xsl:choose with a case for the TOC when the context element is a book (so the TOC is generated without a toc element), so you need to add a case for a toc element when present:

Re: [docbook-apps] smart quotes are acting stupid in Firefox IE; why?

2013-10-31 Thread Jirka Kosek
On 31.10.2013 19:28, Bob Stayton wrote: I just tested again with xhtml/docbook.xsl, and you are correct that Saxon does not output that meta tag when output method=xml, but xsltproc does with that stylesheet. But xsltproc does so only when the XHTML DTD is specified. Hmm, that's interesting

Re: [docbook-apps] cmdsynopsis omits xml:id

2013-10-31 Thread Bob Stayton
Hi Tim, By default, the $generate.id.attributes param in the html stylesheet is set to zero (it generates the old named anchor elements instead). If you set that to 1, then you should get an id output on cmdsynopsis. Bob Stayton Sagehill Enterprises b...@sagehill.net From: Tim Arnold Sent:

Re: [docbook-apps] Issue with page number format, when toc is relocated

2013-10-31 Thread Erik Leunissen
On 31/10/13 19:54, Bob Stayton wrote: Hi Erik, You'll need to customize the template named 'page.number.format' from fo/pagesetup.xsl. It has an xsl:choose with a case for the TOC when the context element is a book (so the TOC is generated without a toc element), so you need to add a case for a