|
|
#1 |
|
Member
![]() 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
}
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,697
Karma: 28549304
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Change the output profile in Preferences->Common Options->Page Layout to Generic e-ink reader
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Apr 2011
Device: PRS-T2
|
Excellent, thank you!
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Financial Times recipe Vs Kindle version | JustinD | Recipes | 5 | 11-16-2014 07:30 AM |
| New recipe for "Süddeutsche Zeitung" using "E-Paper mobile" subscription | Ernst | Recipes | 3 | 02-16-2013 08:37 AM |
| Financial Times recipe fails since Jan 24 | MightyMicro | Recipes | 3 | 01-28-2012 08:36 AM |
| Update Financial Times recipe | sir-archimedes | Recipes | 0 | 04-24-2011 11:39 AM |
| Getting calibre to detect "Prologue" and "Epilogue" for TOC | sherman | Calibre | 2 | 09-20-2010 03:21 AM |