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] Auto Pagination #276

Open
Karashok-Leo opened this issue Jan 3, 2025 · 3 comments
Open

[Feature Request] Auto Pagination #276

Karashok-Leo opened this issue Jan 3, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@Karashok-Leo
Copy link

image

Hi, I'm using datagen to generate both English and Chinese versions of my books, but I'm having a bit of trouble.

In the image above, the text in English overflows the page, however, since Chinese is more concise, this doesn't happen with the Chinese version.

So I'm curious if it's feasible to display the overflow text using an additional page (i mean, automatically), although I have a feeling that might be a bit technically difficult to implement.

@Karashok-Leo Karashok-Leo added the enhancement New feature or request label Jan 3, 2025
@klikli-dev
Copy link
Owner

@Karashok-Leo what version of minecraft are you on?
I think starting in 1.20.1 the text should scale to the page. This was implemented because previous discussions of auto-pagination ended nowhere because as you mentioned, it is somewhat difficult to do without causing issues (e.g. with links that go to a specific page, but also more generally it messes with pre-rendering)

@Karashok-Leo
Copy link
Author

@Karashok-Leo what version of minecraft are you on? I think starting in 1.20.1 the text should scale to the page. This was implemented because previous discussions of auto-pagination ended nowhere because as you mentioned, it is somewhat difficult to do without causing issues (e.g. with links that go to a specific page, but also more generally it messes with pre-rendering)

1.20.1fabric

@klikli-dev
Copy link
Owner

Ahh I just checked and it turns out I added this feature in 1.21, not 1.20.1, I mixed up the timeline. I did not backport it because it requires major refactoring of various systems. I cannot promise that I will be able to backport in the near future, especially with minecraft already going towards 1.21.4 and 1.22.

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

No branches or pull requests

2 participants