Re: [docbook-apps] using markup inside title elements

2020-09-23 Thread Norm Tovey-Walsh
Peter Eisentraut writes: > I have a question whether markup inside title elements is recommended > practice. It’s definitely one of those edge cases that probably depends a lot on your specific processing expectations. I don’t think there’s anything wrong with markup in titles, in principle, but

Re: [docbook-apps] problems with a table

2020-12-14 Thread Norm Tovey-Walsh
> The 51st table raises warnings in oxygen 20.1 and I donot know why: > > > Erstbeobachtung The empty element can’t be followed by a title. You could remove it, or move the title inside it. The caption element is, I think, only available in the HTML table model, so you either

Re: [docbook-apps] Ä - non SGML character number 132, only uppercase foreign char

2020-12-20 Thread Norm Tovey-Walsh
> I get the error: > non SGML character number You need to use a different SGML Declaration that includes the characters you want to use. It shouldn’t be too hard to find the “SGML Declaration for XML” which will probably work for you. > To work around the problem I tried to use the HTML

Re: [docbook-apps] Generating markdown output from DocBook

2021-01-28 Thread Norm Tovey-Walsh
> I have also wondered whether anyone has built DocBook XSLT that directly > converts the XML to markdown. No. If you can use CommonMark, which codifies that anything not represented in CommonMark can always be inserted as HTML, you might get better mileage from DocBook->HTML5->CommonMark than

Re: [docbook-apps] Two nagging problems with docbook2pdf in texlive 2019

2021-06-11 Thread Norm Tovey-Walsh
Kevin Dunn writes: > Thanks, Dave. You were helpful to me 10 years ago. The XEP PDF output > looks pretty nice with the default xsl stylesheet. There are some > fancy things I achieved with dsssl and jadetex, and I'm not sure how There’s a blast from the past! I’ve been chatting, off and on,

Re: [docbook-apps] DocBook Transclusion in xslTNG

2021-05-11 Thread Norm Tovey-Walsh
Dave Pawson writes: > from your [1] https://docbook.org/docs/transclusion/transclusion.html > https://docbook.org/docs/transclusion-requirements/ is 404 Norm? > > Should it be the 2010 version? > https://docbook.org/docs/transclusion-requirements/transclusion-requirements.html I think so.

[docbook-apps] DocBook Transclusion in xslTNG

2021-05-11 Thread Norm Tovey-Walsh
Good morning (well, in this locale anyway), I set out to implement DocBook Transclusion in the DocBook xslTNG Stylesheets the other day and discovered that a previous attempt to implement it was already in place. It appears to have been an attempt to implement the previous draft of DocBook

Re: [docbook-apps] DocBook Transclusion in xslTNG

2021-05-11 Thread Norm Tovey-Walsh
Dave Pawson writes: > And (for some), in either requirement or defn, add a defn of > transclusion please. Yup.  Be seeing you, norm -- Norman Tovey-Walsh https://nwalsh.com/ > Space isn't remote at all. It's

Re: [docbook-apps] xslTNG, , HTML5

2021-06-07 Thread Norm Tovey-Walsh
Sorry, this got lost in my inbox. Michael Urban writes: > I tried out the xslTNG stylesheets recently. I found that my understanding > of the appearance of inlines like does not match what appears to > happen in my browsers: in particular, the element generated > by the xslTNG inline module

Re: [docbook-apps] Do different xslt processors and parsers really make a difference for pdf output?

2021-07-06 Thread Norm Tovey-Walsh
Kevin Dunn writes: > Are there reasons to prefer one of these xslt processors to the > others? Is it worth looking at the commercial processors? That’s going to depend on how complicated your output is. The commercial processors like AntennaHouse offer both better and more complete support for

Re: [docbook-apps] Do different xslt processors and parsers really make a difference for pdf output?

2021-07-07 Thread Norm Tovey-Walsh
Kevin Dunn writes: > Thanks, Norm. Yes, I evaluated fop, xep, and ahf, and bought the > Antenna House Formatter. My question now is between xsltproc, Saxon > 6.5, and Saxon 10. Sorry I misunderstood your question. > All three are working for me, and I don't have a reason to prefer one > to the

Re: [docbook-apps] Do different xslt processors and parsers really make a difference for pdf output?

2021-07-07 Thread Norm Tovey-Walsh
Oh, and coming back to the question in your subject line: Do different xslt processors and parsers really make a difference for pdf output? If there are no extensions in use, the answer to that question should be “no.” Any XSLT processor should produce the same transformed output, whether

Re: [docbook-apps] Canonical DocBook

2022-02-28 Thread Norm Tovey-Walsh
Frank Steimke writes: > Thank you very much for your comments and suggestions, Norm. Please allow a > few remarks. > > "After a while, this starts to feel less like a canonical DocBook and > more like a structural interchange format". > > Yes, based on DocBook. After all, the result of standard

[docbook-apps] Re: Canonical DocBook

2022-02-28 Thread Norm Tovey-Walsh
> Norm, how would an (Relax NG | XSD 1.1) Schema for the outcome of Step > 7 differ from the DocBook 5.2 Schema? It is a subset, isn't it? I think so. It’s intended to be, but since it’s never been validated, it’s possible I messed up :-) The big changes, on a quick skim, are that an info

Re: [docbook-apps] Canonical DocBook

2022-02-27 Thread Norm Tovey-Walsh
> Our own stylesheets are therefore divided into at least phases. First, […] > As far as I can see, the XSL 3 stylesheets for XslTNG are also similar > in structure. Yep. The xslTNG stylesheets go through several standard stages: 1. Normalize the logical structure (get rid of entity refs,

Re: [docbook-apps] Statement of Use for DocBook version 5.2

2023-10-26 Thread Norm Tovey-Walsh
s whom I could contact. > > Bob Stayton > Chair, OASIS DocBook Technical Committee > b...@sagehill.net Be seeing you, norm -- Norm Tovey-Walsh https://norm.tovey-walsh.com/ > We are thinking beings, and we cannot exclude the intellect from > participating in any of our functions.--William James signature.asc Description: PGP signature

[docbook-apps] DocBook xslTNG prerelease 2.0.2

2023-01-06 Thread Norm Tovey-Walsh
Hi folks, I’ve been trying to get a new version of the DocBook xslTNG Stylesheets finished for a few weeks now. The big (and sometimes backwards incompatible changes) are: * The system for dealing with generated text has been completely rewritten. We’re back to using templates as described in

[docbook-apps] xslTNG regression and maybe other things

2023-01-03 Thread Norm Tovey-Walsh
Hello world, I discovered last week that I was no longer subscribed to docbook-apps. I didn’t do that on purpose (I don’t think I did it at all!). I see that Eric Streit wrote about a regression in xslTNG back in December. I’ll investigate that. In the meantime: 1. If you find a bug in the

Re: [docbook-apps] xslTNG regression and maybe other things

2023-01-03 Thread Norm Tovey-Walsh
> I see that Eric Streit wrote about a regression in xslTNG back in > December. I’ll investigate that. In the meantime: Fixed in 1.11.2 published today. Be seeing you, norm -- Norman Tovey-Walsh

Re: [docbook-apps] Testing DocBook xslTNG 2.0.2 with a real world example

2023-01-20 Thread Norm Tovey-Walsh
> This gave me some errors which I'm not able to interpret. For easier reading, > I've uploaded the messages and the XML source code here: Thank you! I love a test case :-) Will report back after I’ve had a chance to investigate. Be seeing you,

Re: [docbook-apps] TOC placement in pdf

2023-02-23 Thread Norm Tovey-Walsh
> I'd prefer to control it via xsl if that's possible as it provides max > flexibility. > Not sure if it's possible 樂 It’s always possible. but sometimes it’s more work. Find the template for, let’s say “db:book”, that’s putting the ToC in the “wrong” place. Override that template in your

[docbook-apps] DocBook xslTNG prerelease 2.0.7

2023-02-03 Thread Norm Tovey-Walsh
Hi folks, A few weeks ago, I posted a note about the DocBook xslTNG Stylesheets then current 2.0.2 prerelease. This morning I posted 2.0.7. The big change is in handling of media: https://xsltng.docbook.org/guide/2.0.7/ch-customizing.html#media Feedback eagerly solicited.

Re: [docbook-apps] DocBook xslTNG prerelease 2.0.7

2023-02-11 Thread Norm Tovey-Walsh
> No localization exists for "" or "". Using default "en". > Error at xsl:text on line 169 column 19 of functions.xsl: > XTMM9000 Processing terminated by xsl:message at line 169 in > functions.xsl Fixed in 2.0.8 just released. The termination was a bug, probably left over from when I was

Re: [docbook-apps] DocBook xslTNG prerelease 2.0.7

2023-02-11 Thread Norm Tovey-Walsh
Tony Graham writes: > I've just read that part of the XInclude spec [1], and I'm not sure that > I know what it says, either, but it's clear that the 'language fixup' is > able to create 'xml:lang=""' in some circumstances. Yes. I think my XInclude implementation should ad xml:lang="" when the

[docbook-apps] DocBook xslTNG 2.0.9 released

2023-02-13 Thread Norm Tovey-Walsh
Hi folks, This is (I hope) the last pre-release. I just bumped the dependencies for XML Resolver and the XInclude extension function to the latest versions. Feedback welcome. Be seeing you, norm -- Norman

Re: [docbook-apps] DocBook xslTNG prerelease 2.0.7

2023-02-08 Thread Norm Tovey-Walsh
> As I understand the XML specification, the meaning of an empty > "xml:lang" attribute is defined as overriding any language inherited > from the parent element and reverting to the processor default. So it > might make sense that if no language is indicated in an included file, > it is taken as

Re: [docbook-apps] DocBook xslTNG prerelease 2.0.7

2023-02-07 Thread Norm Tovey-Walsh
> The 'terminate="yes"' on line 168 does rather contradict the message > that processing will continue with the default language. Yeah. That seems like a bug. Perhaps I did that when I was trying to debug and forgot to take it out. Be seeing you,

Re: [docbook-apps] DocBook xslTNG prerelease 2.0.7

2023-02-07 Thread Norm Tovey-Walsh
Tony Graham writes: > On 06/02/2023 18:58, Dave Pawson wrote: >> On Mon, 6 Feb 2023 at 18:48, Tony Graham wrote: > ... >> Which begs the question, where to set the default language, and should >> it be reported as a bug if not set? >> [Guess, $gentext-language will default to 'default language'

Re: [docbook-apps] DocBook xslTNG prerelease 2.0.7

2023-02-07 Thread Norm Tovey-Walsh
Jirka Kosek writes: > Empty @xml:lang can be result of XInclude when included files do not > explicitly specify @xml:lang. *Blink*. Really? I would not have expected language fixup to do that, but maybe it does. So xml:lang="" is equivalent to $default-language, I suppose.

Re: [docbook-apps] fo, chapter headings corrupted

2023-07-07 Thread Norm Tovey-Walsh
code point 0x41 in Symbol and Zapf Dingbats, respectively. Be seeing you, norm [1] https://en.wikipedia.org/wiki/Symbol_%28typeface%29 -- Norm Tovey-Walsh https://norm.tovey-walsh.com/ > Life always comes to a

Re: [docbook-apps] Changing toc parameter values by chapter

2023-05-24 Thread Norm Tovey-Walsh
https://xsltng.docbook.org/guide/2.1.3/m_toc.html Be seeing you, norm -- Norm Tovey-Walsh https://norm.tovey-walsh.com/ > The bitterness of poor quality remains long after the sweetness of > meeting the schedule has be

[docbook-apps] Building xslTNG on Windows

2023-05-22 Thread Norm Tovey-Walsh
the error *and* describe how to fix it (!) most appreciated. Be seeing you, norm -- Norm Tovey-Walsh https://norm.tovey-walsh.com/ > It is said that power corrupts, but actually it's more true that power > at

Re: [docbook-apps] Embedding DocBook → PDF transformation in a Java web app

2023-07-27 Thread Norm Tovey-Walsh
org/guide/2.1.6/ch-using.html#java-main If you have any trouble, I’m happy to try to help. Be seeing you, norm -- Norm Tovey-Walsh https://norm.tovey-walsh.com/ > In matters of style, swim with the c

Re: [docbook-apps] Guidance for running XSLT distribution build, for local development

2024-01-21 Thread Norm Tovey-Walsh
hese days. Be seeing you, norm -- Norm Tovey-Walsh https://norm.tovey-walsh.com/ > Any sufficiently advanced technology is indistinguishable from a rigged > demo. signature.asc Description: PGP signature

Re: [docbook-apps] Multiplatform toolchain for outputting "nice" PDF

2024-01-23 Thread Norm Tovey-Walsh
ss I’m not as clever as I think I am ;-) Be seeing you, norm -- Norm Tovey-Walsh https://norm.tovey-walsh.com/ > Thanks to words, we have been able to rise above the brutes; and thanks > to words, we hav