Modonomicon

Modonomicon

29M Downloads

[Feature Request] Auto Pagination

Karashok-Leo opened this issue ยท 3 comments

commented

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.

commented

@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)

commented

@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

commented

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.