View Single Post
Old 04-13-2012, 01:49 PM   #11
renez64
Junior Member
renez64 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2012
Device: kindle
Ncx toc solved. Now html toc

I just checked it. The markers are level one. Once you are at level two left and right stays on level two. You get out of level two by a next/previous page. Well handy to know. I adjust my script to generate 2 levels in the ncx file.

Now I wonder how my toc.html gets nicely indented
I expected something like
1 Makefiles
1.1 Rules
1.2 Recursive
but I get

1 Makefiles
1.1 Rules
1.2 Recursive

Do i need special markup I did
Code:
<div> <a href="#l1">Makefiles</a>
      <div> <a href="#l1-1">Rules</a></div>
      <div> <a href="#l1-2">Recursive</a></div>
</div>
Or is the toc always flat?
renez64 is offline   Reply With Quote