I have this local, containing a list of books of arbitrary length:
set books=2 set books(1, "author") = "Alice" set books(1, "title") = "Hello" set books(1, "pages") = "123" set books(2, "author") = "Bob" set books(2, "title") = "World" set books(2, "pages") = "456"
And I want to generate this PDF (there could be more than two tables), each book is a separate table:
The header is always the same (Author, Title, Page) but the number of tables would be different.