Subject: Re: [docbook] ePub: Title page missing and ToC in spine?
On Mon, Jan 25, 2010 at 12:27 PM, Boris Schäling <email@example.com> wrote: > More questions about the ePub converter: > > * ePub files contain a XHTML file for the title page (the one generated by > the DocBook style sheets anyway) but the file isn't referenced anywhere. Would you please be more specific on what you mean for the "title page"? I'm not sure what you mean. > * The <spine> section refers to the table of contents file generated by the > style sheet. As the table of contents is written to toc.ncx anyway I wonder > why the XHTML version of the table of contents is included in the <spine> > section. Is it good style? Even the linear attribute is explicitly set to > yes? It would be nice if there was at least a parameter epub.toc.linear > supported (similar to epub.cover.linear) to set the attribute to no? Over time, more ePub reading systems have improved their support for TOC navigation via NCX. At this time, I personally recommend that XHTML TOCs are *not* included in ePubs for general consumption, and that ePub authors work instead on providing rich NCX documents. IIRC, you can turn off XHTML TOCs by editing the generate.toc parameter in your customization layer (http://www.sagehill.net/docbookxsl/TOCcontrol.html). Keith