docbook-apps

  • 1.  Re: [docbook-apps] Chunking and custom.css.source ?

    Posted 02-08-2012 18:21
    Yes, that bug still exists in 1.76.1 It is fixed in the snapshot builds, though. Or if you don't want to switch to the snapshot build, you could copy that corrected template from the email to your customization layer, but you must take care to preserve import precedence in a chunking customization. That template affects chunking behavior, so should go into the chunking customization file that imports all the others, and should have a priority="1" added so it takes precedence.

    Yet another reason to get the next release out soon. 8^)

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    ----- Original Message -----
    From: Mark Craig
    To: DocBook Apps
    Sent: Tuesday, February 07, 2012 11:07 PM
    Subject: [docbook-apps] Chunking and custom.css.source ?


    Hello,


    What should I be doing to get the CSS from a custom.css.source file to be picked up in chunked HTML?
    Works fine for plain (non-chunked) HTML output with 1.76.1.


    Mail from last April makes it sound like there might have been a bug, http://lists.oasis-open.org/archives/docbook-apps/201104/msg00012.html


    Thanks for your advice.


    Regards,
    Mark


  • 2.  Re: [docbook-apps] Chunking and custom.css.source ?

    Posted 02-09-2012 08:34
    Thanks Bob,

    I'm pulling the stylesheets through docbkx-tools without actually specifying the version directly in my projects. Perhaps I could overload the templates in my customization file for chunked output, but it looks a lot simpler to wait and to continue copying the CSS file to the output for now.

    Looking forward to the upcoming release when it's ready.

    Regards,
    Mark

    On Feb 8, 2012, at 7:20 PM, Bob Stayton wrote:

    > Yes, that bug still exists in 1.76.1 It is fixed in the snapshot builds, though. Or if you don't want to switch to the snapshot build, you could copy that corrected template from the email to your customization layer, but you must take care to preserve import precedence in a chunking customization. That template affects chunking behavior, so should go into the chunking customization file that imports all the others, and should have a priority="1" added so it takes precedence.
    >
    > Yet another reason to get the next release out soon. 8^)
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    > ----- Original Message -----
    > From: Mark Craig
    > To: DocBook Apps
    > Sent: Tuesday, February 07, 2012 11:07 PM
    > Subject: [docbook-apps] Chunking and custom.css.source ?
    >
    > Hello,
    >
    > What should I be doing to get the CSS from a custom.css.source file to be picked up in chunked HTML?
    > Works fine for plain (non-chunked) HTML output with 1.76.1.
    >
    > Mail from last April makes it sound like there might have been a bug, http://lists.oasis-open.org/archives/docbook-apps/201104/msg00012.html
    >
    > Thanks for your advice.
    >
    > Regards,
    > Mark