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

Missing lines at bottom of page in arrays that span several pages. #618

Open
erch opened this issue Feb 14, 2022 · 4 comments
Open

Missing lines at bottom of page in arrays that span several pages. #618

erch opened this issue Feb 14, 2022 · 4 comments

Comments

@erch
Copy link

erch commented Feb 14, 2022

I'm experiencing an issue with missing lines at the page junctions for arrays that span several pages.

I have attached an example of a document that contains an array with 200 lines and with the first column that contains the line number.

In the resulting test.pdf obtained by running asciidoctor-web-pdf test.adoc you can see that starting at the line 55 there is one line missing at each end of page.

This issue happens as well as on Linux and Widows 10.

test.zip

This is a blocking issue for us and we would appreciate your help to solve the problem.

Eric

@erch
Copy link
Author

erch commented Feb 14, 2022

I forgot to mention that if I suppress the header options there is no missing line.

EDIT: after more testing this is not true, I did a test with an array that had more lines and it appears that it had a missing line at a page junction.

@ggrossetie
Copy link
Owner

I'm experiencing an issue with missing lines at the page junctions for arrays that span several pages.

Do you mean tables?
If so, this is a known limitation of Paged.js (the underlying engine we are using to paginate content).

This is a complex issue but some work should be included in Paged.js 1.0: https://gitlab.pagedmedia.org/tools/pagedjs/-/issues/332 (no official release date).

The current workaround is to manually break large tables into smaller tables that fit on one page.

@erch
Copy link
Author

erch commented Mar 21, 2022

You I meant table.
The issue happens even on small tables, so it is not possible to know how to split the tables.
It would be fair to put a warning in the documentation about this issue because it is not reliable to build a document with table with the current version.
I hope that Paged.js will quickly solve their problem.

@ggrossetie
Copy link
Owner

The issue happens even on small tables, so it is not possible to know how to split the tables.

You should open a new issue at https://gitlab.coko.foundation/pagedjs/pagedjs/-/issues with your "small tables". The underlying issue might be easier to fix.

It would be fair to put a warning in the documentation about this issue because it is not reliable to build a document with table with the current version.

Feel free to submit a pull request to add a mention in the README.

I hope that Paged.js will quickly solve their problem.

🙏🏻

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