View Single Post
Old 02-26-2019, 10:17 PM   #189
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jackie_w View Post
Rather than trying to wrangle the Kobo firmware it might be easier to add it as an extra option in KoboTouch to be called during send-to-device. A bit like 'Modify CSS', but this would be 'Modify TOC'.

I think calibre's TOC functions could be used to add some kind of pseudo-indentation padding as a prefix to each TOC entry's text.

This would only work for sideloaded epub/kepub, of course. Not necessarily the most elegant solution, but it might suffice.
Ugly, but it would work. And the attached screenshot is a quick edit of the database to prefix the ToC entries with two em-dashes for each level. I tried spaces, but they don't show up. Non-breaking spaces probably will, but I can't be bothered to work out how to enter them.

And the space problem makes me wonder if the levels are implemented but spaces are used. I hope not. It's the sort of thing I'd do during development but hopefully it would have been noticed before now.

Also, when doing this, I discovered that the device I looked at before had no sideloaded kepubs on it. The above screenshot was for a sideloaded kepub and the Depth column was populated.

I'll have to think about this for the driver. I might do a quick-and-dirty addition to the Kobo Utilities to do this for books that have the depth column set. That would give a quick way for people to see it and give an opinion on whether it is a good idea. I also have to rewrite my ToC updater so it can be released. That would be another place to do something like this.
Attached Thumbnails
Click image for larger version

Name:	ToCWithLevels.png
Views:	408
Size:	85.8 KB
ID:	169927  
davidfor is offline   Reply With Quote