Register Guidelines E-Books Today's Posts Search

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: 43,862
Karma: 22666666
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
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


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Financial Times recipe Vs Kindle version JustinD Recipes 5 11-16-2014 06:30 AM
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 12:18 AM.


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