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

Feature request - button to change page direction of ebook #55

Open
MichaelPetre opened this issue Nov 16, 2021 · 1 comment
Open

Feature request - button to change page direction of ebook #55

MichaelPetre opened this issue Nov 16, 2021 · 1 comment
Assignees

Comments

@MichaelPetre
Copy link
Contributor

Would it be possible to add a button to change the page direction?
This is useful for Japanese novels and books, where the text is normally read vertically right to left, with pages being turned from right to left.

This requires adding a parameter to the spine tag in contents.opf (around line 163 of saveEbook.js)

The default spine is defined as:
'<spine toc="ncx">'

A right-to-left spine is defined as:
'<spine toc="ncx" page-progression-direction="rtl">'

I have attempted implementing a button for the functionality but ended up breaking the locally unpacked extension for Chrome.

@MichaelPetre
Copy link
Contributor Author

Pretty much done implementing this one, one issue left to fix.

@alexadam alexadam self-assigned this Apr 14, 2023
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