Forum How do I...?

Let footnotes slip instead of failing when page is too tight?

chrisryland
I’m generating PDFs with normal Prince footnotes:

.prince-footnote {
float: footnote;
-prince-float-reference: page;
}

Right now I also have this on body text blocks:

p, li, figcaption {
-prince-footnote-policy: keep-with-line;
}

In dense documents with long footnotes, Prince can sometimes get into a placement failure because it can’t keep the footnote on the page it planned for.

My instinct is to remove `keep-with-line` and let the policy fall back to `auto`, so Prince still keeps notes on the same page when it can, but is allowed to let a note slip rather than treating same-page placement as mandatory.

Is that the right read? In other words, does `auto` still try to place the footnote with the call in ordinary cases, just without the stricter keep constraint?

Are there any other CSS knobs you’d recommend for making overloaded footnote pages degrade gracefully?