Forum How do I...?

prince-caption-page: following

ixgal
hi,

I am working on a book that has quite a few tables, with captions.
I added prince-caption-page: following for the tables that are split in 2 pages.
However, I found that caption disappeared in small tables that were in only 1 page. Any tip to solve this problem?
Thanks
mikeday
Do you want the caption to appear on every page?
ixgal
actually I wanted the caption to appear in the last page of the table. The caption worked in this way when I applied the property "prince-caption-page: following" for tables occupying more than 1 page.
But strangely, in small tables in a single page, the caption simply disappeared.
mikeday
I think the only solution for this is to not use the <caption> element, and to put the caption in a <div> that follows the table.
ixgal
if a very long table is split across 3 pages or more, is there a way to have the caption in the last page only? (because if I use "prince-caption-page: following", the caption will appear in every page except the first)
mikeday
No, this is not possible, you have to put the caption in a <div> that follows the table.