docbook-apps

  • 1.  Generating TOC in nested sets

    Posted 08-28-2014 14:07
    Hi,
    I have nested structure of set->sets->books->parts->articles. To generate
    ToC I'm using parameter generate.toc with value 'set toc, book toc, part
    toc'.

    What I want is to create toc for a root set. Right now all "child" sets
    have generated ToC, while my root set remains empty. Is there a way to
    generate TOC in main set?
    Thanks,
    Maciej



  • 2.  Re: [docbook-apps] Generating TOC in nested sets

    Posted 08-28-2014 17:06
    It works for me. What version of the DocBook XSL stylesheets are you
    using? Support for nested sets was added in version 1.75.1 for fo
    output and 1.77.1 for html outputs. What form of output are you
    generating?

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net

    On 8/28/2014 7:07 AM, Maciej Danielak wrote:
    > Hi,
    > I have nested structure of set->sets->books->parts->articles. To
    > generate ToC I'm using parameter generate.toc with value 'set toc, book
    > toc, part toc'.
    >
    > What I want is to create toc for a root set. Right now all "child" sets
    > have generated ToC, while my root set remains empty. Is there a way to
    > generate TOC in main set?
    > Thanks,
    > Maciej



  • 3.  Re: [docbook-apps] Generating TOC in nested sets

    Posted 08-29-2014 06:40
    I'm using DocBook XSL stylesheets version 1.78.1 to generate HTML outputs.
    I'm using profile-chunk.xsl template from xhtml directory.


    2014-08-28 19:06 GMT+02:00 Bob Stayton <bobs@sagehill.net>:

    > It works for me. What version of the DocBook XSL stylesheets are you
    > using? Support for nested sets was added in version 1.75.1 for fo output
    > and 1.77.1 for html outputs. What form of output are you generating?
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    > On 8/28/2014 7:07 AM, Maciej Danielak wrote:
    >
    >> Hi,
    >> I have nested structure of set->sets->books->parts->articles. To
    >> generate ToC I'm using parameter generate.toc with value 'set toc, book
    >> toc, part toc'.
    >>
    >> What I want is to create toc for a root set. Right now all "child" sets
    >> have generated ToC, while my root set remains empty. Is there a way to
    >> generate TOC in main set?
    >> Thanks,
    >> Maciej
    >>
    >



  • 4.  Re: [docbook-apps] Generating TOC in nested sets

    Posted 08-29-2014 16:24
    Hi Maciej,
    Yes, it seems there is a problem with chunking of nested sets. When I
    run any of the chunking stylesheets, the stylesheet messages "Writing
    ..." that list the chunk filenames show that two root output files are
    being generated, the second one overwriting the first. That's wrong. I
    will investigate further.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net

    On 8/28/2014 11:40 PM, Maciej Danielak wrote:
    > I'm using DocBook XSL stylesheets version 1.78.1 to generate HTML
    > outputs. I'm using profile-chunk.xsl template from xhtml directory.
    >
    >
    > 2014-08-28 19:06 GMT+02:00 Bob Stayton <bobs@sagehill.net
    > <mailto:bobs@sagehill.net>>:
    >
    > It works for me. What version of the DocBook XSL stylesheets are
    > you using? Support for nested sets was added in version 1.75.1 for
    > fo output and 1.77.1 for html outputs. What form of output are you
    > generating?
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net <mailto:bobs@sagehill.net>
    >
    >
    > On 8/28/2014 7:07 AM, Maciej Danielak wrote:
    >
    > Hi,
    > I have nested structure of set->sets->books->parts->__articles. To
    > generate ToC I'm using parameter generate.toc with value 'set
    > toc, book
    > toc, part toc'.
    >
    > What I want is to create toc for a root set. Right now all
    > "child" sets
    > have generated ToC, while my root set remains empty. Is there a
    > way to
    > generate TOC in main set?
    > Thanks,
    > Maciej
    >
    >



  • 5.  Re: [docbook-apps] Generating TOC in nested sets

    Posted 09-01-2014 17:25
    Hi,
    I found the problem and fixed it in the SVN repository. The latest
    snapshot build properly handles nested sets for HTML output:

    http://snapshots.docbook.org/

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net

    On 8/28/2014 11:40 PM, Maciej Danielak wrote:
    > I'm using DocBook XSL stylesheets version 1.78.1 to generate HTML
    > outputs. I'm using profile-chunk.xsl template from xhtml directory.
    >
    >
    > 2014-08-28 19:06 GMT+02:00 Bob Stayton <bobs@sagehill.net
    > <mailto:bobs@sagehill.net>>:
    >
    > It works for me. What version of the DocBook XSL stylesheets are
    > you using? Support for nested sets was added in version 1.75.1 for
    > fo output and 1.77.1 for html outputs. What form of output are you
    > generating?
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net <mailto:bobs@sagehill.net>
    >
    >
    > On 8/28/2014 7:07 AM, Maciej Danielak wrote:
    >
    > Hi,
    > I have nested structure of set->sets->books->parts->__articles. To
    > generate ToC I'm using parameter generate.toc with value 'set
    > toc, book
    > toc, part toc'.
    >
    > What I want is to create toc for a root set. Right now all
    > "child" sets
    > have generated ToC, while my root set remains empty. Is there a
    > way to
    > generate TOC in main set?
    > Thanks,
    > Maciej
    >
    >