View Single Post
Old 11-07-2014, 04:21 AM   #1
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 579
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
How to change the "inline TOC" template?

The editor lets you turn the internal ToC into an inline ToC (an XHTML file called "toc.xhtml"), but where is the template for this? The heading is normally "Table of Contents" but I've noticed that when editing books (in English) from foreign sources the heading will come out in German or Swedish or whatever, and I have to edit this manually... where does this get picked up from?

Also the page includes a set of standard CSS rules, which for <li> include "padding-left: 2em", and I generally change this manually to zero.

I can't find the template that generates the ToC file anywhere... so my question is, is there a way to fix it so that (a) it always uses English and (b) I can set the standard styles the way I want them?
Phssthpok is offline   Reply With Quote