Mystery TOC, and ugly too.
I'm making a mobi book from InDesign and the TOC is actually appearing everywhere it should. Problem is it is ugly. Each line is indented and there are no levels of indent or hanging indent.
I have edited the toc.html file to use <p class="toc"> and I have added a p.toc style to the templates.css file and nothing changes.
I also tried putting the above styles directly in the <head> of toc.html file, in case it wasn't actually looking at templates.css.
Nothing changes.
Then I noticed that there were a few space errors. I fixed them in toc.html and in tox.ncx. Still there. So what I was seeing in Kindle Previewer was neither of those files.
I went back to my InDesign file and my style-generated TOC had the spacing errors so I fixed them, made a new MOBI (bummer, have to re-copy my own templates.css into the archive). The errors are still there.
So now I just went to the actual InDesign Chapter Title pages and fixed the spaces there. New mobi file has accurate spaces. Hmmm. So all this talk about toc.html and toc.ncx and InDesign generated TOC seems mysterious.
What I really want to do is make it not so ugly. It's badly indented and un-hanging, but now I have no idea where to bang on it.
All my googling on this topic is about people who can't get a TOC. I got one, from somewhere, and it's ugly!
Carol
|