10-29-2013, 10:50 PM | #1 |
Connoisseur
Posts: 95
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite (2012)
|
Skip sectoin TOC when it contains only one article
I am writing a new recipe for a print magazine. I used the parse_index() method to get sections and articles that belong to those sections. However a number of sections contain just one article. When I browse the ebook, it is a bit tiresome to open these TOCs with just one item included.
Is there some way to avoid their creation? |
10-29-2013, 11:46 PM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The ToC is created based on whatever you return from parse_index. Merge all your one artivle sections into a single section called Miscellaneous if you want.
|
Advert | |
|
10-30-2013, 05:32 AM | #3 |
Connoisseur
Posts: 95
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite (2012)
|
Hm, that would work but dould be suboptimal. First it would mess the order of the articles (some one article sections are in the end of the magazine) and these one article sections would dissappear from the global TOC. This is not such a big deal though.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Decorate article headings as hyperlinks to full article? | tomsem | Recipes | 5 | 10-15-2010 08:30 PM |
PRS-300 Skip 10 pages-- everyone know this already? | ardeegee | Sony Reader | 4 | 10-04-2010 11:43 PM |
Skip to a certain page? | kuwakodono | Kobo Reader | 1 | 05-19-2010 09:12 PM |
audio skip | jakeluck | Sony Reader | 6 | 03-26-2007 05:03 PM |
Skip to Next Chapter? | ptully | Sony Reader | 0 | 11-10-2006 01:38 PM |