Hi,
We use Prince to generate PDF files of scholarly articles, which include a lot of footnotes. The editor noticed this issue that sometimes Prince generates a footnote on the page after its marker. I've looked at a few cases, and it seems to me like it happens only when the footnote marker is down at the bottom of the page, so that if the footnote were printed in full there, it would push the text with the marker onto the subsequent page.
My question is whether there is a setting, whether a command-line option, CSS directive, or something else, that would allow me to force a page-break inside long footnotes when the marker is near the bottom of the page.
I'm aware of the page-break-inside property in CSS, and I tried explicitly setting that to auto in the stylesheet, like so:
This seems to have no effect, and I'm not sure what else to do. Any ideas?
Thanks!
We use Prince to generate PDF files of scholarly articles, which include a lot of footnotes. The editor noticed this issue that sometimes Prince generates a footnote on the page after its marker. I've looked at a few cases, and it seems to me like it happens only when the footnote marker is down at the bottom of the page, so that if the footnote were printed in full there, it would push the text with the marker onto the subsequent page.
My question is whether there is a setting, whether a command-line option, CSS directive, or something else, that would allow me to force a page-break inside long footnotes when the marker is near the bottom of the page.
I'm aware of the page-break-inside property in CSS, and I tried explicitly setting that to auto in the stylesheet, like so:
@page {
/* ... */
@footnotes {
/* ... */
page-break-inside: auto;
}
}
/* ... */
.fnt {
counter-increment: footnote;
display: prince-footnote;
/* ... */
page-break-inside: auto;
}
This seems to have no effect, and I'm not sure what else to do. Any ideas?
Thanks!