| 
			
			 | 
		#1 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 17 
				Karma: 10 
				Join Date: Jul 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Creating Hanging TOC for Kindle Menu
			 
			
			
			Has anyone been successful at creating a TOC for the Kindle MENU that includes hanging indents like this? 
		
	
		
		
		
		
		
		
		
		
		
		
		
			1.0 Hello World 1.1 How to do it 1.2 Why not go ahead 2.0 Things That Work2.1 Making promises 2.2 What is next 2.2.1 Taking action 2.2.2 Seen it all before 2.3 Testing your choices 3.0 Things That Don't Work3.1 Avoiding bad advice 3.2 Rabbit holes 3.3 How to email a CEO 4.0 Conclusions
		Last edited by pypo; 07-15-2014 at 11:54 AM. Reason: didn't show example  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				Join Date: Jan 2010 
				
				
				
				Device: Nexus 7, Kindle Fire HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I don't see any hanging indents anywhere there. I see an outline (which you should be able to easily achieve with css/style margins, blockquotes, or html lists). If you're talking about an html (inline) toc. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			If you're talking about the ncx-based "goto" menu-based toc, you don't really have any control over how those are displayed (other than defining collapsible sections) how the ncx is presented is basically a function of the reading application. Last edited by DiapDealer; 07-15-2014 at 12:24 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 17 
				Karma: 10 
				Join Date: Jul 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Have another look at the forum post.  It didn't format correctly the first try.  Now the indents show. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Like I said, I'm not trying to do anything but put the TOC in the Kindle MENU using hanging indents. I know it is possible, because the user manual for Kindle Paperwhite has hanging indents in the Menu TOC. The Menu TOC is not in the body of the document. I don't want a TOC in the body of the document. I just want a TOC in the Kindle MENU and I want that TOC to be consecutively numbered and indented as shown in the example posted here. Maybe I need certain CSS for H1 H2 and H3. Maybe I need some setting for generating the TOC. Maybe something else, I don't know. If there is a nice way to do all this with Calibre it would be great to hear from someone who has done this before. Last edited by pypo; 07-15-2014 at 12:40 PM. Reason: better explanation of goal  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				Join Date: Jan 2010 
				
				
				
				Device: Nexus 7, Kindle Fire HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Maybe with epub3's nav document? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Spoiler: 
 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 17 
				Karma: 10 
				Join Date: Jul 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Looks like a standard 'Table' list item or  
		
	
		
		
		
		
		
		
		
		
		
		
	
	What you get using Hierarchical header levels with the TOC generator <h1 <h2 <h2 
		<h3  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 17 
				Karma: 10 
				Join Date: Jul 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			So if I understand correctly, you are saying that if I use h1, h2, h3 css chapter/section tags, that:  
		
	
		
		
		
		
		
		
		
		
		
		
	
	1) Calibre TOC generator will allow me (somehow) to generate the indent codes for a proper toc.ncx and 2) those will show up in the flick menu on Kindle devices. I can try this of course, but I just wonder if I got your point.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				Join Date: Jan 2010 
				
				
				
				Device: Nexus 7, Kindle Fire HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Keep in mind that what you want may not even be possible using a calibre-built kindlebook (AZW3/KF8). If it's at all dependent on epub3 features, there's a good chance that building the kindlebook with kindlegen may be a requirement.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	I don't have a Paperwhite, so I've no idea how they present the toc/nav info.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Ex-Helpdesk Junkie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421 
				Karma: 85400180 
				Join Date: Nov 2012 
				Location: The Beaten Path, USA, Roundworld, This Side of Infinity 
				
				
				Device: Kindle Touch fw5.3.7 (Wifi only) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The issue here I believe is a question of hierarchy, not really indents. (For the Kindle's Go To menu) 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Hierarchical ToCs will be created with calibre's ToC generator, if using the appropriate header tags. Or manually editing the ToC of course. ![]() If the EPUB has a hierarchical ToC, either kindlegen or calibre-convert will preserve it into AZW3, and the Go To menu on the Kindle will have a hierarchical ToC. After that it is up to the Kindle to interpret. You will see exactly what you see with the User Guide from Amazon. (NOTE: I believe I heard somewhere that a Kindle bug breaks collapsible/hierarchical ToC if the first element has children.)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			IIRC the PW firmware is capable of displaying the inline ToC as HTML in a popup. This is different from the normal NCX view and allows the popup toc to have custom formatting. I have no idea how it is implemented though.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | |
| 
			
			
			
			 Ex-Helpdesk Junkie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421 
				Karma: 85400180 
				Join Date: Nov 2012 
				Location: The Beaten Path, USA, Roundworld, This Side of Infinity 
				
				
				Device: Kindle Touch fw5.3.7 (Wifi only) 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
   by making the kindle think it is a footnote.Does it render links inside footnotes???  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				Join Date: Jan 2010 
				
				
				
				Device: Nexus 7, Kindle Fire HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'm back to betting on the ePub3 navigation document.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			If you look at the markup in the Kindle user guide it is HTML 4 created from adobe framemaker, and the opf was generated from some kind of boilerplate template. I highly doubt it came from an epub 3 document.
		 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Last edited by kovidgoyal; 07-15-2014 at 03:22 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#14 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,891 
				Karma: 207182180 
				Join Date: Jan 2010 
				
				
				
				Device: Nexus 7, Kindle Fire HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Ah well. I wonder if it's something that gets "turned on" in the Kindlebook for publishers with contracts and the like? I really need to get a Paperwhite some day; if only to check out these special footnote and pop-up inline toc features (although I think it's been determined that the pop-up footnotes are basically a heuristic function of the reading software).
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			pop-up footnotes are a heuristic. I have no idea about the popup inline toc though, as the only book I have ever seen it in is the kindle user guide.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| How do you make TOC visible from Kindle Pull Down Menu | Julius Caesar | Amazon Kindle | 3 | 08-27-2013 10:52 AM | 
| Creating kindle ebook without a TOC? | emerika | Kindle Formats | 0 | 03-04-2012 02:09 PM | 
| Creating Proper TOC in Kindle - regex help needed | lyric | Conversion | 1 | 10-17-2011 07:19 PM | 
| Forcing Kindle's menu TOC | mharring | Workshop | 0 | 07-07-2010 07:04 PM | 
| Creating TOC | thibaulthalpern | 3 | 03-27-2010 05:21 PM | |