Re: [docbook-apps] Validating against Schematron
Hi Dave, Thanks for the suggestion. I hadn’t used Jing in so long that I didn’t remember that it has (or claims) support for Schematron. Did you modify Jing or the Schematron rules? I tried running it using the docbookxi.rng schema and also with the docbook.sch schematron rules (DocBook 5.0, .1, and 5.2) and didn’t have much success. Running it using docbook.sch, I get a namespace error on db:, which is strange, since db is properly declared in the Schematron file. I even modified a test file so that it also used the prefix db: defined the same way, but no luck. Running it on docbookxi.rng (with embedded schematron rules), it doesn’t flag any Schematron errors (I removed version from the root element and nested inside a , neither of which is not allowed by the rules). I did confirm that it flags errors against just the schema. Any ideas would be welcome. Thanks, Dick --- XML Press XML for Technical Communicators http://xmlpress.net hamil...@xmlpress.net > On Jul 28, 2020, at 23:49, Dave Pawson wrote: > > On Tue, 28 Jul 2020 at 22:55, Richard Hamilton wrote: >> >> This is a question for the group. >> >> What do you currently use for validating DocBook agains both RelaxNG and >> Schematron? >> >> I’ve been looking around and downloading and trying some 10-to-15 year old >> solutions, but I figure there has to be something newer (or an update to one >> of the older ones) that does the job. > > Jing? Fast and accurate. Does the job well IMHO. > > > regards > > > -- > Dave Pawson > XSLT XSL-FO FAQ. > Docbook FAQ. - 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] DocBook XSL: The Next Generation
On 7/29/2020 11:10 AM, Thomas Schraitle wrote: Just for clarification: how do we get PDF thesedays? I suspect I'm not part of this "we", but for a different "we": we get them via dblatex + (Xe)LaTeX. That gave us the ability to mix left-to-right and right-to-left scripts and still get well-typeset results, as well as typesetting tables that ran > 1 page (maybe that's doable with other methods, not sure), and interlinear text examples (which "we" linguists like to use, but are quite difficult to typeset without LaTeX tools). But I suspect most people don't have our needs, so for most of you this would be overkill. -- Mike Maxwell "I may not remember, but I never forget." --Social Crimes, Jane Stanton Hitchcock - 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] DocBook XSL: The Next Generation
Hi, On Mittwoch, 29. Juli 2020 17:24:24 CEST you wrote: > [...] > > Does the new stylesheets create PDFs through a HTML -> browser -> PDF > > workflow? Or will there be separate XSL-FO stylesheets at some day? > > My current thinking is that HTML+CSS through some tool like AntennaHouse > Formatter or PrinceXML (or other similar tools) is the way forward. Thanks Norm. Yes, that can be an interesting way. I've heard about that, but I'm not so much into this topic ATM. As far as I know, the above tools are commercial. Do you know an open source solution? > If I > had the time, I’d be happy to work on XSL FO stylesheets. But I don’t > want to do the job badly and I don’t have the time to do it well. I can fully understand your position. :) I'm sure it's fun, especially when you come from a XSLT 1.0 background. That's a huge step forward. On the other side, it's also a huge task, I guess. ;) > [...] Thanks! -- Gruß/Regards Thomas Schraitle - 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] DocBook XSL: The Next Generation
>> The goal of the stylesheets is to produce clean, semantically rich >> HTML(5) that can be beautifully rendered with CSS (and a dash or two of >> JavaScript, if you wish) in the browser and in print. [...] > > Just for clarification: how do we get PDF thesedays? > > Does the new stylesheets create PDFs through a HTML -> browser -> PDF > workflow? Or will there be separate XSL-FO stylesheets at some day? My current thinking is that HTML+CSS through some tool like AntennaHouse Formatter or PrinceXML (or other similar tools) is the way forward. If I had the time, I’d be happy to work on XSL FO stylesheets. But I don’t want to do the job badly and I don’t have the time to do it well. The xslTNG distribution includes HTML-for-paged-media customizations that (almost) generate reasonable results. I’ll have a PDF version of the reference guide as an example “real soon now”. (There are a couple of issues I still want to fix.) I know that some folks will be disappointed by the lack of XSL FO support. Programming in XSLT 3.0 is fun, if someone wants to work on the task! :-) All I ask is that they be well tested and well documented. Be seeing you, norm -- Norman Tovey-Walsh https://nwalsh.com/ > You look wise. Pray correct that error.--Charles Lamb signature.asc Description: PGP signature
Re: [docbook-apps] DocBook XSL: The Next Generation
Hi Norman, On Dienstag, 28. Juli 2020 18:12:03 CEST Norman Tovey-Walsh wrote: > > A few days ago, I released the first version of the DocBook xslTNG > Stylesheets. These are a complete rewrite of DocBook to HTML stylesheets > in XSLT 3.0. This is a huge step forward! Many thanks! > The goal of the stylesheets is to produce clean, semantically rich > HTML(5) that can be beautifully rendered with CSS (and a dash or two of > JavaScript, if you wish) in the browser and in print. [...] Just for clarification: how do we get PDF thesedays? Does the new stylesheets create PDFs through a HTML -> browser -> PDF workflow? Or will there be separate XSL-FO stylesheets at some day? Thanks for clarification! :) -- Gruß/Regards Thomas Schraitle - 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] Validating against Schematron
I've use Oxygen (current 22.1) for many years. No problems. On 7/28/20 9:16 PM, Bob Stayton wrote: I use Oxygen XML. Bob Stayton b...@sagehill.net On 7/28/2020 2:55 PM, Richard Hamilton wrote: This is a question for the group. What do you currently use for validating DocBook agains both RelaxNG and Schematron? I’ve been looking around and downloading and trying some 10-to-15 year old solutions, but I figure there has to be something newer (or an update to one of the older ones) that does the job. Any pointers would be greatly appreciated. Thanks, Dick --- XML Press XML for Technical Communicators http://track.smtpsendemail.com/13771/c?p=L_ZQiXjwEil4uIfPAqfm1T7I0WkQbehnr38Od8AJ9ukapJmzmF18k3K9yahGUXlMjIBdYtD1PzCtCRg9F3VaCBUr7arLgQoRGhwb9vdv0Xv2VW_d10_pet7sCPvHVors hamil...@xmlpress.net - 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] DocBook XSL: The Next Generation
Hi, Norman! On Tue, 28 Jul 2020 17:12:03 +0100 Norman Tovey-Walsh wrote: > Hello world, > > A few days ago, I released the first version of the DocBook xslTNG > Stylesheets. These are a complete rewrite of DocBook to HTML stylesheets > in XSLT 3.0. > > The goal of the stylesheets is to produce clean, semantically rich > HTML(5) that can be beautifully rendered with CSS (and a dash or two of > JavaScript, if you wish) in the browser and in print. I’ve done my best > in all cases to make sure that the presentations are accessible. If you > find something that isn’t accessible, please report it. > > I made the 1.1.1 release yesterday. (The small fix over 1.0.0 from > Friday is that annotations are now more accessible.) > > See https://xsltng.docbook.org/ for details. > > Or https://so.nwalsh.com/2020/07/25-docbook-xsltng for more blather > about it from me. > Thanks for your work, and for sharing it! > Be seeing you, > norm > > -- > Norman Tovey-Walsh > https://nwalsh.com/ > > > Wit consists in seeing the resemblance between things which differ, and > > the difference between things which are alike.--Madame De Stæl -- Shlomi Fish https://www.shlomifish.org/ https://is.gd/htwEXQ - Integrating GNU Guile into GNU coreutils Well I don't see why I have to make one man miserable when I can make so many men happy. — Ellyn Mustard, about marriage (via fortune-mod). Please reply to list if it's a mailing list post - https://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