OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Kindle TOCs


Back about 2 years ago, there was a thread concerning a problem with Kindle TOCs.

If you use the html <ol> element for toc.list.type (as recommended for Kindle) and the CSS style "list-style-type: none" to suppress the numbers, some devices work fine, but others, including older Kindle devices and Kindle on iPhone, ignore the CSS directive and display numbers that are completely unrelated to the actual chapter numbers.

We tolerated this and just didn't show chapter numbers in the TOC. Most of the time, that's ok, but it isn't a totally satisfying solution. And when a book is used as a textbook, this "solution" becomes a real problem if the instructor uses the print chapter numbers in assignments.

In the initial thread, and in some other discussions on the web, solutions have been proposed that use either <p> or <div> elements instead of <ol>.

One of those solutions may turn out to be the best way to proceed, but I thought that before I pursue that solution, I'd ask if anyone has come up with a way to handle this situation in the DocBook stylesheets that they'd be willing to share?

Thanks,
Dick Hamilton
-------
XML Press
XML for Technical Communicators
http://xmlpress.net
hamilton@xmlpress.net





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]