Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 05-09-2013, 04:53 AM   #1
mapex
Member
mapex began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Apr 2011
Device: PRS-T2
How to disable TOC in recipe "Financial Times (UK)"

I would like to modify the recipe "Financial Times (UK)" and disable the Table of Contents. Instead of the TOC in the EPUB, I want to use the navigation links provided by the recipe. The reason is that my reader Sony PRS-T2 wastes a lot of screen space with a large "Table of Contents" button when displaying an EPUB from this recipe. If I disable TOC, the button will be gone, I suppose.

I added the line 'max-toc-links' : 0 to the recipe, as shown below. But this modified recipe still creates a complete TOC. Please let me know what I am doing wrong.

Code:
    conversion_options = {
                          'comment'          : description
                        , 'tags'             : category
                        , 'publisher'        : publisher
                        , 'language'         : language
                        , 'linearize_tables' : True
                        , 'max-toc-links' : 0
                        }
mapex is offline   Reply With Quote
Old 05-09-2013, 05:04 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,131
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Change the output profile in Preferences->Common Options->Page Layout to Generic e-ink reader
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 05-09-2013, 05:17 AM   #3
mapex
Member
mapex began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Apr 2011
Device: PRS-T2
Excellent, thank you!
mapex is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Financial Times recipe Vs Kindle version JustinD Recipes 4 04-19-2013 12:16 PM
New recipe for "Süddeutsche Zeitung" using "E-Paper mobile" subscription Ernst Recipes 3 02-16-2013 07:37 AM
Financial Times recipe fails since Jan 24 MightyMicro Recipes 3 01-28-2012 07:36 AM
Update Financial Times recipe sir-archimedes Recipes 0 04-24-2011 10:39 AM
Getting calibre to detect "Prologue" and "Epilogue" for TOC sherman Calibre 2 09-20-2010 02:21 AM


All times are GMT -4. The time now is 06:08 PM.


MobileRead.com is a privately owned, operated and funded community.