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

ePub TOC stopped working #1851

Closed
5 tasks done
zhen-huan-hu opened this issue Jan 28, 2025 · 7 comments
Closed
5 tasks done

ePub TOC stopped working #1851

zhen-huan-hu opened this issue Jan 28, 2025 · 7 comments

Comments

@zhen-huan-hu
Copy link

Steps to reproduce

Open any ePub.

Expected behavior

Click the TOC button and Komga displays TOC.

Actual behavior

The TOC button grayes out.

Image

Logs

No response

Komga version

1.19.0

Operating system

Ubuntu Server 24.04.1

Installation method

Docker

Other details

No response

Acknowledgements

  • I have searched the existing issues (open AND closed) and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have checked the FAQ.
  • I have updated the app to the latest version.
  • I will fill out all of the requested information in this form.
@gotson
Copy link
Owner

gotson commented Jan 28, 2025

The button is disabled if the book has no TOC / Landmarks / page list. Could be some issue with your book.

Can you try to analyze the book again and check the logs ?

@zhen-huan-hu
Copy link
Author

zhen-huan-hu commented Jan 28, 2025

The button is disabled if the book has no TOC / Landmarks / page list. Could be some issue with your book.

Can you try to analyze the book again and check the logs ?

The same book but opened in Thorium Reader, showing the TOC contents:

Image

@gotson
Copy link
Owner

gotson commented Jan 28, 2025

Can you try to analyze the book again and check the logs ?

@gotson
Copy link
Owner

gotson commented Jan 28, 2025

I tried your Python book from #1842 before you amended your comment, i get the TOC and landmarks.

Can you provide the book from above that works in Thorium ?

@zhen-huan-hu
Copy link
Author

Here is the book. The Dark Tower Boxed Set - Stephen King.zip

Do I need to delete the library and start from scratch? I also do not see any font option until I manually added my custom fonts.

@gotson
Copy link
Owner

gotson commented Jan 28, 2025

The TOC works fine on my end with your book. Make sure you Analyze the book again.

For custom fonts you need to add them on disk, then restart the server. If it doesn't work please create another issue.

@zhen-huan-hu
Copy link
Author

Re-analyzing the library indeed fixed the issue. Thank you.

@gotson gotson closed this as completed Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants