docbook-apps

  • 1.  Webhelp numbered toc tree

    Posted 11-10-2011 09:54
    I'm playing around with the docbook webhelp output.
    Customization works well, but I want to add the numbers of the chapters
    and sections to the navigation tree.
    Related to this I've read the TOC Chapter
    (http://www.sagehill.net/docbookxsl/TOCcontrol.html). But as in
    webhelp.xsl has it's own toctree template (template "webhelptoc"). So
    the general customizion doesn't work.
    So my questions: Is it possible to add the numbers to the toc tree?
    (Maybe with a parameter I haven't found?)
    .. or is there another way to bring the numbers to the toc tree?

    Thanks a lot.
    Benjamin



  • 2.  Re: [docbook-apps] Webhelp numbered toc tree

    Posted 11-10-2011 12:43
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi Benjamin,
    For that you'll need to set the parameter webhelp.autolabel to 1.
    There are a few params introduced for webhelp that we haven't yet
    incorporated into the normal parameter documentation. They're still
    hidden in xsl/webhelp.xsl at this point:



    <xsl:param name="webhelp.include.search.tab">true</xsl:param>
    <xsl:param name="webhelp.start.filename">index.html</xsl:param>
    <xsl:param name="webhelp.base.dir">docs</xsl:param>
    <xsl:param name="webhelp.tree.cookie.id" select="concat(
    'treeview-', count(//node()) )"/>
    <xsl:param name="webhelp.indexer.language">en</xsl:param>
    <xsl:param name="webhelp.default.topic"/>
    <xsl:param name="webhelp.autolabel">0</xsl:param>


    David

    On 11/10/2011 03:53 AM, Benjamin Taufer wrote:
    > I'm playing around with the docbook webhelp output. Customization
    > works well, but I want to add the numbers of the chapters and
    > sections to the navigation tree. Related to this I've read the TOC
    > Chapter (http://www.sagehill.net/docbookxsl/TOCcontrol.html). But
    > as in webhelp.xsl has it's own toctree template (template
    > "webhelptoc"). So the general customizion doesn't work. So my
    > questions: Is it possible to add the numbers to the toc tree?
    > (Maybe with a parameter I haven't found?) .. or is there another
    > way to bring the numbers to the toc tree?
    >
    > Thanks a lot. Benjamin
    >
    > ---------------------------------------------------------------------
    >
    >
    To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail:
    > docbook-apps-help@lists.oasis-open.org
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.11 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQEcBAEBAgAGBQJOu8a2AAoJEMHeSXG7afUhx98H/AvFx57WrkQY4ULCmERWtQSr
    jcuD2nR0dzqYKkppMpKXOZjAXMZS4lX6ipfWDnPc5SszgI/b0jqkeRUuP42WUwlm
    ey8/39QvX7zFJ853xqPbyJEbFcW84cqSxm1VVpoTOjBfnPsZ4Xj6/kBnIudgdClM
    1rosgSxRTiXBWIxQZkm7LeXOQYhrzvf72uPbJrsWCUkjUt28MvRgODbeRJLb/LUw
    2Ey18bbbuBdant9DVqtuVOMYeDoYQzKkmVUkItxezy1IOT6m4NnK1H1OxFJPS65T
    uqux52FPJjnf1tVK8TDF+r1jHOlqcF/WA85Y5q/lRkWMkxAwhXDzr7SRwJHvlq4=
    =mRKk
    -----END PGP SIGNATURE-----