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

--repeat-table-rows does not allow multiple header rows #1120

Open
valpo opened this issue Feb 5, 2023 · 1 comment
Open

--repeat-table-rows does not allow multiple header rows #1120

valpo opened this issue Feb 5, 2023 · 1 comment

Comments

@valpo
Copy link

valpo commented Feb 5, 2023

rst allows multiple header rows in a table like this:

+-----+-----+
| title     |
+-----+-----+
| a   | b   |
+=====+=====+
...table data

rst2pdf renders this table correctly. But --repeat-table-rows (s. #87) seems to allow exactly 1 header line which will be repeated on each page. IMHO this should not be a hard-coded limit, as rst2pdf "knows" the number of header lines, it should correctly forward this information to reportlab (which already offers the right functionality).

I am using rst2pdf 0.99 with python 3.10.6 and reportlab 3.6.12.

@lornajane
Copy link
Contributor

Thanks for reporting this! I am not sure I can fix this myself, but I'd like to be clear that I agree that this would be useful, and I'll be happy to review a pull request that brings this feature.

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