docbook-apps

  • 1.  Re: [docbook-apps] onechunk.xsl & CSS

    Posted 04-02-2011 00:11
    Hi,
    Indeed, it is a bug that affects chunked as well as onechunked output. This template
    in html/chunk-code.xsl:

    <xsl:template match="*" mode="process.root">
    <xsl:apply-templates select="."/>
    <xsl:call-template name="generate.css"/>
    </xsl:template>

    should be changed to call "generate.css.files", not "generate.css":

    <xsl:template match="*" mode="process.root">
    <xsl:apply-templates select="."/>
    <xsl:call-template name="generate.css.files"/>
    </xsl:template>

    I'll fix it in the SVN repository for future versions.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] onechunk.xsl & CSS

    Posted 04-02-2011 09:23
    Hi,

    On Sat, Apr 2, 2011 at 05:40, Bob Stayton <bobs@sagehill.net> wrote:
    > Hi,
    > Indeed, it is a bug that affects chunked as well as onechunked output.  This
    > template in html/chunk-code.xsl:
    >
    > <xsl:template match="*" mode="process.root">
    >  <xsl:apply-templates select="."/>
    >  <xsl:call-template name="generate.css"/>
    > </xsl:template>
    >
    > should be changed to call "generate.css.files", not "generate.css":
    >
    > <xsl:template match="*" mode="process.root">
    >  <xsl:apply-templates select="."/>
    >  <xsl:call-template name="generate.css.files"/>
    > </xsl:template>
    >
    > I'll fix it in the SVN repository for future versions.

    Ah, I see. That’s odd, though—I’ve been using chunked output for a
    while now and never had any trouble. It was only when I started using
    ‘onechunk.xsl’ that this problem cropped up.

    At any rate, is it possible to update the snapshots on the site? I
    heard that the process for automatic snapshots is broken at the
    moment; the ones available are from the beginning of November.

    Thanks for the help,
    Aankhen