[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] n00b
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/12/12 18:46, Bob Stayton wrote: > Hi Marja, The DocBook stylesheets use the term "chunking" to refer > to the process of bursting a single document into multiple HTML > files. This section of my online book describes chunking in more > detail: > > http://www.sagehill.net/docbookxsl/Chunking.html > > There are a few stylesheet parameters that can be used to control > the breakpoints for chunking. I believe your problem would be > solved by setting the 'chunk.section.depth' parameter to a higher > number than the default value of 1. Currently only your top level > sections are being chunked, and their chunk contains their > subsections. Since you want your subsections to also be chunks, > set chunk.section.depth to 2 or higher, depending on how far down > you want things chunked. Since your stylesheet already sets the > use.id.as.filename param to 1, those lower level chunks will get > the filenames you want. > > You might also want to set 'chunk.first.sections' to 1 (default > value is 0) so the first section also gets chunked. Thanks a lot, Bob! The problem is solved :-D > > On a different topic, I'm not clear what version of DocBook XSL you > are using here. It is clear from the output style that you are > using the webhelp stylesheet, but when I use View Source on the > pages you pointed to, they include this line: > > <meta name="generator" content="DocBook XSL-NS Stylesheets > V1.75.2"/> > > But webhelp was not included in version 1.75.2. When I look in > your webhelp-id-filename.xsl file, I see this import statement: > > <xsl:import > href="http://www.calenco.com/xsl/docbook/ns/webhelp/calenco-webhelp.xsl" > /> > > which does not tell me what version of DocBook XSL is being used. > I'm concerned that Calenco's NeoDoc might be using a hybrid > version, and that might be the source of future problems that this > list would have trouble providing help with. > > The latest released version of webhelp is in DocBook XSL 1.77.1. I forwarded this part of your mail to my NeoDoc contact, because there is nothing I know about this. I'm sure NeoDoc wants to avoid such problems as much I want to avoid burdening this mailing list with them. Cheers, Marja > > Bob Stayton Sagehill Enterprises bobs@sagehill.net > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQv8FkAAoJEKWubDMI5nEBu20H/i44XXKLJYvJat3QvRJUwQAk 10wD4zQiUR2QwFccBmNayv5PujUa47H5NvKaXPt4KbptQx5XHLrhDfLaOG+5JF47 v9jcs5ZbjxLGWJ3gf9euFQ//sALaEXnE+1Z1Efp1f8Pxsb0jcCrPDkWubgAScbEN xFZc3G4426INzpIF3pFIE7WRaVe9PqdhE6uEXwHwExpjjGslHcLcQMczUxrDEl+6 50NtTE94Itip9yOSz3thqRlo89vsjmU+1SciDP0+h1Nn3I4TOOqDql9YMoLJ7+Sz Xvp7XUvLJaLumpAxpUumnnp/IA2ARGAfNdWGPn6luvyPufy82fToOfYSv6ZHIjU= =idbm -----END PGP SIGNATURE-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]