-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TOC showing up at end of created eBook #25
Comments
Can I get you to send me an example of the defective epub, as I get the TOC where it's supposed to be, before the "test" chapter added after buildTOC. The mail is [email protected]
|
Thanks for your quick response. I'll work on it tonight and get you some more information. Edit: (Since github won't let me comment for some reason.) I used your code and emailed you the defective file. Please note that I'm opening the file using the latest version of Calibre to open the file. |
Possibly related issue, the ToC lists itself. |
The $addToIndex should take care of that, though I'll take a look.
|
I'm also having this problem. Have you found a fix for it? |
I think I found the error. I just committed a fix to the 4.0.0 branch |
I had the opportunity to test this just now, and the problem is unfortunately still happening. Here's an example of a generated file: https://dl.dropboxusercontent.com/u/10793087/Black-Magic-Lunatic-Howling-in-the-Night.epub |
Did someone managed to add TOC after first page and not at the end of document? |
I have the same problem - it's a real shame as this stops the epub files from validating properly with epubcheck. Any ideas? |
Found a solution for that - had the problem myself. Set the following:
|
This maybe something I'm doing wrong, but I can't seem to figure it out. I'm using the following code to create a new epub file. I need to add the Table of Contents after the cover page but before the rest of the book. Instead I'm getting the whole book THEN the TOC.
Can you help? Thanks.
The text was updated successfully, but these errors were encountered: