04-28-2013, 08:14 AM | #1 |
Connoisseur
Posts: 82
Karma: 73150
Join Date: Feb 2011
Location: Scottish Highlands
Device: Samsung Note, Kindle, hudl2
|
Page break and TOC entries
Hi All,
I'm not really sure of this question or even how to frame it adequately so I'll outline the problem. I am using InDesign, Sigil and Calibre. I have typeset a book with footnotes, InDesign can export this well into epub and puts in all the footnote references and back-references and they work. Unfortunately, InDesign exports it all into one .xhtml file (I know the problem with older ereaders and filesize limitations), the split file option doesn't seem to work. In the CSS style sheet the p class Chapter Number has as one of its entries: { break-before:page; } But in ADE, KindlePreviewer and Calibre the Chapter Number doesn't start a new page. I would need to use Sigil to break up the document but then the footnotes would all have to be edited to add the xhtml filenames to get the references to function. Also, how do I get Sigil to recognise TOC entries from the p class Chapter Number? So, I think I have two queries a) Page breaks at chapter number and; b) Sigil TOC from CSS style sheet. Many thanks, John. |
04-28-2013, 08:37 AM | #2 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Sigil cannot generate TOC entries from <p> tags, you'll have to (temporarily) change them to <h1> heading tags. |
|
Advert | |
|
04-28-2013, 01:17 PM | #3 | ||
Connoisseur
Posts: 82
Karma: 73150
Join Date: Feb 2011
Location: Scottish Highlands
Device: Samsung Note, Kindle, hudl2
|
Quote:
Quote:
|
||
05-14-2013, 01:39 AM | #4 |
Enthusiast
Posts: 30
Karma: 502132
Join Date: May 2011
Device: Kindle3
|
Not quite sure why Doistu said the change to heading tags should be temprorary - they should be headers anyways so you can style them appropriatesly - and yest Sigil will then pick them up as a default TOC if that is what you want.
I'm not familiar wtih InDesign - but usually you just select the element and attach the style - Sigil will do it too |
05-14-2013, 04:26 AM | #5 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Of course, they should ideally be h1..h6 headings, but since the OP used a "p class Chapter Number," the only way to have Sigil generate a TOC would be to replace all of these paragraph tags with h1..h6 headings. Afterwards he could theoretically rename them back to paragraphs tags to restore the file to the condition before generating the TOC, however, it'd pretty much pointless.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page break for chapters/TOC? | neonbible | Conversion | 2 | 08-28-2012 09:53 AM |
azw to mobi: Not detecting chapters/page break at chapters and no TOC | RachDvn | Calibre | 3 | 01-16-2011 09:53 AM |
TOC Entries from PDF | HamsterRage | Calibre | 2 | 07-12-2010 11:57 AM |
Redundant/Invalid TOC entries | Stinger | Kobo Reader | 4 | 06-26-2010 09:02 PM |