![]() |
ToC Formatting Help?
:help:
I've got an ePub version of a 19th century novel that I'm nearly done with. I modified it w Calibre's editor from one I found somewhere online. It had several font inconsistencies that I corrected, and all is good to go except for the table of contents showing hyperlinks to the preface and separate chapters. Chapter links function properly and appear in order and in columns, but the columns are of unequal length. The first column contains about twice the number of links as the remaining four columns, which are filled (part way) from the bottom up. It leaves me with one long column on the left, and four short columns on the right. Aesthetically unattractive. The entries for the links appear identical, and I've been unable to find a solution. I'm a novice at editing ePub, so assume I'm missing something quite simple. Anyone willing to take a look at the book and tell me what's amiss? I would be grateful. Many thanks. |
Quote:
|
Quote:
This advice only works if you are making an ePub 2 eBooks. |
If, on the other hand, you are trying to stick to the original formatting as much as possible, you will want to keep the html ToC. Wolfie's comment is correct for newer books, and non-kindle books that don't require an HTML ToC.
As DNSB mentioned you can post the ePub here (it's obviously out of copyright)...or... you can just post the html/css of the ToC.... it sounds like a simple Table error...inconsistent number of TDs per TR, or something like that. |
Quote:
|
1 Attachment(s)
OK. Yes, I'm just hacking away at what someone else got almost right. Know very little about this. Well, there was a lot of editing of wrongly formatted poetry, actually, which had been assigned a courier font for some reason. Fixed that, added italics to the verse and (found) typo, so it looks pretty good to my eye. But the ToC links bother me. So, I've attached the latest revision of this book. For the curious, it's "Phantastes," by George MacDonald, long out of copyright. It should be a less painful read from this ePub book than for me. It was reading the unedited version that drove me to do as many fixes as I could.
Many thanks. |
You'll need to wrap the first 5 chapter links also in
Code:
<div colspan="1" rowspan="1" class="calibre6">Spoiler:
|
What you are trying to do with the HTML ToC is just a big huge no. It's going to look awful.
|
After looking at this eBook in ADE and the Calibre editor, it has some serious errors that stop it from displaying correctly in ADE.
|
1 Attachment(s)
Yes, there are a lot of huge errors...
I did take a few minutes to do some very basic cleanup and styling so you can use it as a starting point. Everything should work fine now, but I would definitely give it another walk through. I'm sure there are others on MR that would do things differently, but this will at least get you started! ;) There are some basic tutorials in MR's Wiki that will help immensely. Most of the errors I noticed were from not putting the correct closing tags around your elements( <p></p>, <h5></h5>, <div></div>, etc.) I also added a slightly larger cover image. The one you had was only 286px high - much too small! The one I added is too small as well, but 500px is at least viewable. It would be really nice if you could scan, or otherwise locate, the illustrations at the end of each chapter! Cheers! |
I think you may be better off just trashing that TOC and letting Sigil build a new one. I don't think this columnar approach works well and the code looks very messy. Did not expect to see tons of <blockquote>s in a TOC.
|
Quote:
|
1 Attachment(s)
I realized after playing with the copy from this thread that I had downloaded and done some cleanup on a copy from, I think, Gutenberg a while back. I've attached that copy to this message as a cleaner starting point.
|
Easy if you know what you're doing, which I do not. Many thanks. It was the charm.
Yes, even in my ignorance, I suspected that the file I had was a bit of a mess. I don't know enough to even make a mess like that, much less clean it up! |
Quote:
|
Learning HTML/CSS is a good place to start.
|
Quote:
I perused the countless offerings on the Kindle store. Most were simple knockoffs of the project Gutenberg material. However, one or two included the illustrations from the 1905 edition. Same for Lilith. I looked at the samples for a few, and found one of each book better than anything I'm likely to produce, so will probably purchase those. I don’t mind paying someone a pittance who has already done a better job than I could manage. Thanks to all who have reminded me of what I knew when I previously tried my hand at making an ebook: its harder than it seems. |
| All times are GMT -4. The time now is 06:55 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.