typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

[Please help]Footnotes in new page

Open zhang-nianqiang opened this issue 2 weeks ago • 1 comments

The footnotes I exported appear on the last new page, which is different from the last page in the sample PDF after export. Did I do something wrong?

Image Image Image

zhang-nianqiang avatar Dec 05 '25 21:12 zhang-nianqiang

After some time exploring, I discovered the cause of the problem. The issue lies in the CSS for custom pagination. I use the following code for pagination.

@media print, (overflow-block: paged) or (overflow-block: optional-paged)
{
  hr
  {
    page-break-after: always; /* CSS 2 */
         break-after: region; /* CSS 3+ */
    /* minimal layout disruption: */
    height: 0.1mm; visibility: hidden;
  }
}

This also causes the footnotes to be split across pages.

Is there a better way to make the pagination and footnote functions compatible?

zhang-nianqiang avatar Dec 06 '25 03:12 zhang-nianqiang