View Single Post
Old 04-23-2011, 05:06 PM   #1
mtrahan
Colonel Mustard
mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.
 
mtrahan's Avatar
 
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
File splitting and endnotes links

I'm still working on the same ePub I was talking about a couple days ago—and thus still trying to learn a thing or two about the ideal workflow I should stick to for the next books I format.

This book was split in 17 files when I first opened it. After reformating a lot of things, I created an 18th file to put the original endnotes (that weren't in the original ePub file—I'm doing this by hand). I managed to correctly create over a hundred of those endnotes, thanks to the information I found on this forum.

The original edition of this book (end of 18th century) was in six volumes, so I now want to mark the change of volume in the ePub version I'm doing. So I added a "h2.sectiontitle" class in the stylesheet, where I specified "page-break-before: always;" so that when a new volume starts, it starts on a new page.

But then I read around here that the only way to make a page-break on certain reader, like iPad, is to actually split the files at the correct place... Is that true? So the CSS I did will have no effect (the "page-break-before: always;" I mean)?

If that is true, it means I have to resplit the files in order to have the beginning of a section to start on a new page. Unfortunately, after linking all those endnotes, I don't think I will split the files differently, as I guess I will have to re-do all the linking correctly after? Am I mistaken? Or does Sigil re-adjust all the endnotes correctly when files are re-split? I would guess not. Would be too good to be true.

So, is there an easy way to split the files differently without breaking all the endnotes?

I guess the next time I will see that the file splitting/chaptering is correctly done before going to the endnotes step.

Thanks in advance for your help.
mtrahan is offline   Reply With Quote