docbook-apps

  • 1.  DocBook XSL: The Next Generation

    Posted 07-28-2020 16:12
    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.

    Be seeing you,
    norm

    --
    Norman Tovey-Walsh <ndw@nwalsh.com>
    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



  • 2.  Re: [docbook-apps] DocBook XSL: The Next Generation

    Posted 07-29-2020 07:40
    Hi, Norman!

    On Tue, 28 Jul 2020 17:12:03 +0100
    Norman Tovey-Walsh <ndw@nwalsh.com> 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 <ndw@nwalsh.com>
    > 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 .



  • 3.  Re: [docbook-apps] DocBook XSL: The Next Generation

    Posted 07-29-2020 15:10
    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






  • 4.  Re: [docbook-apps] DocBook XSL: The Next Generation

    Posted 07-29-2020 15:24
    >> 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 <ndw@nwalsh.com>
    https://nwalsh.com/

    > You look wise. Pray correct that error.--Charles Lamb



  • 5.  Re: [docbook-apps] DocBook XSL: The Next Generation

    Posted 07-29-2020 15:42
    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






  • 6.  Re: [docbook-apps] DocBook XSL: The Next Generation

    Posted 07-30-2020 07:05
    > 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?

    https://www.print-css.rocks/ lists a couple in addition to AH and
    PrinceXML. I haven’t tried them. I’m surprised there aren’t more, TBH.

    > 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. ;)

    It’s bigger than a bread box, perhaps, but it’s not a gargantuan task.
    The FO stylesheets in the 1.0 and 2.0 projects probably contain most of
    the answers one needs, it’s just a question of restructuring them into
    modern, XSLT 3.0 with a rationalized set of options.

    Be seeing you,
    norm

    --
    Norman Tovey-Walsh <ndw@nwalsh.com>
    https://nwalsh.com/

    > 'All is vanity,' saith the Preacher. But if all were only vanity, who
    > would mind? Alas, it is too often worse than vanity: agony, darkness,
    > death also.--Thomas Hardy



  • 7.  Re: [docbook-apps] DocBook XSL: The Next Generation

    Posted 07-29-2020 21:57

    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



  • 8.  Re: [docbook-apps] DocBook XSL: The Next Generation

    Posted 07-30-2020 07:06
    > I suspect I'm not part of this "we", but for a different "we": we get
    > them via dblatex + (Xe)LaTeX.

    Yes. I’m interested in this too. Peter Flynn and I have corresponded on
    the topic a few times.

    Be seeing you,
    norm

    --
    Norman Tovey-Walsh <ndw@nwalsh.com>
    https://nwalsh.com/

    > When you don’t create things, you become defined by your tastes rather
    > than ability. Your tastes only narrow and exclude people. So
    > create.--Why the Lucky Stiff