[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Removing HTML TOC from epub
On 23 Sep 2011, at 07:30, davep wrote: > On 09/22/2011 08:49 PM, Bob Stayton wrote: >> Hi Chris, >> Regarrding your first question, you can set the stylesheet param named 'generate.toc' to empty to turn off the TOC chunk. You will still get the NCX toc. >> I noticed the same issue with customizing the epub 2 stylesheet. If your customization consists only of parameter settings, then importing it should work. However, it is a chunking stylesheet, so any template changes require paying careful attention to import precedence for them to work. Generally that requires two separate customization files, but the epub/docbook.xsl needs to be rearranged for that to work. Based on the experience I gained from creating the epub 3 stylesheet, I plan to rearrange the files in the epub directory for EPUB 2 output to make it easier to customize. >> Bob Stayton >> Sagehill Enterprises >> bobs@sagehill.net <mailto:bobs@sagehill.net> > > Since the toc is never needed (the ncx supplants a toc), would it make sense > to delete the call to generate it such that annoyance is removed? > It might be worth pointing out that if you are planning to convert this to Kindle, the HTML TOC is required. nic -- Nic Gibson Corbas Consulting Digital Publishing Consultancy and Training http://www.corbas.co.uk, +44 (0)7718 906817
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]