-
Notifications
You must be signed in to change notification settings - Fork 264
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
Error when using multi-page tables in table of contents placeholder #1079
Comments
Hi @nocalla! Thank you for the clear bug report 🙂 I'm going to investigate |
@allcontributors please add @nocalla for bug |
I've put up a pull request to add @nocalla! 🎉 |
I fixed this in PR #1082 and merged into the You can install this unreleased latest version this way, if you want to test that this fix solves your initial problem:
|
Works perfectly, thanks for the quick resolution! |
An error occurs when using
fpdf.table
in therender_toc_function
ofinsert_toc_placeholder
. From what I've been able to work out, this seems to be tied to how the table function refers to page numbers when doing a page break, but the specifics are beyond me. I don't think this is related to #136, as I've experimented with different placeholder page counts and table row counts.Error details
Minimal code
To see how this performs with different numbers of entries, try changing the NUMBER_OF_ENTRIES variable.
Environment
Please provide the following information:
fpdf2
version used: 2.7.7The text was updated successfully, but these errors were encountered: