-
-
Notifications
You must be signed in to change notification settings - Fork 705
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
Table cells are not split between multiple pages #96
Comments
The content is in a table, and WeasyPrint does not break the td tags between the pages, that's why your content is on one page. |
I reopened the bug and changed its title, as this bug has not been reported yet (even if we secretly knew it :p). |
Thank you for the fast reply, I'll keep an eye on future releases for the fix. |
Another question: aside from table cells, are divs split between multiple pages? |
Of course, most of them are. You can have page-break "problems" with tables, floating boxes and atomic content (images for example). |
Not sure if this is exactly related to this bug, but I'm also having issues with table cell splitting. Here is example html file: https://gist.github.com/sirex/7473580 Now WeasyPrint splits long cell, but leaves no border in place, where cell is split. I'm planning to fix that, by reducing number of row span for long cells if they don't fit in page, this way, one cell will fit in one page, and remaining part will be show on next page as separate cell. In my application it is also required, that content of long cell will be repeated on next page. How would you suggest to implement this content repeating, via css or pragmatically using python callback functions or some thing like that? |
Now duplicates #36. |
Hello,
I am evaluating WeasyPrint for integration and I made tests converting specific pages. Unfortunately, I found an unexpected behaviour by converting the following page (italian holidays portal):
http://www.arca-enel.it/go/55155?wp_fn=dettaglio&codice=23882&codCat=2013E
In fact, all the content is rendered in page 2. Page 1 and 3 are left blank. Main browsers' print preview correctly separates the text among pages.
Is this a bug or is there something wrong in the page source?
Thankyou
The text was updated successfully, but these errors were encountered: