Skip to content
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.ncx is sometimes created with wrong navigation labels #12

Closed
gregko opened this issue Apr 3, 2018 · 2 comments
Closed

toc.ncx is sometimes created with wrong navigation labels #12

gregko opened this issue Apr 3, 2018 · 2 comments

Comments

@gregko
Copy link

gregko commented Apr 3, 2018

The issue is with "World of Warcraft - Dawn of the Aspects Part I.mobi" ebook file, submitted with "Mobi file can't parse #10" by @LiuDeng:

The toc.ncx that libmobi generates from this file has wrong links. For example for "Part I" we have in toc.ncx:

<navPoint id="toc-3" playOrder="3">
<navLabel>
<text>Part I</text>
</navLabel>
<content src="part00000.html#0000006908"/>

However, there is no element with id "0000006908" in part00000.html at all. Instead, "Part I" header is preceded with:

<a id="0000006902">

Could you maybe tell me where and how the toc.ncx is constructed, maybe then I could find a fix on my own...

Greg

@bfabiszewski
Copy link
Owner

I pushed a fix. I looks as it was broken long time ago.
I hope it will work now as expected.

@gregko
Copy link
Author

gregko commented Apr 3, 2018

Thank you, Bartek, works great now! I appreciate very much all your great support and effort to maintain this valuable library.

Greg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants