Hi,
I'm trying to style Footnotes so that instead of appearing on the page that they are referenced on, they appear at the end of a chapter. I need to do this because in our case, a page could have dozens and dozens of footnotes and it looks bad taking up more than half a page.
I tried using Named Pages but it's not working for me. Any ideas?
Example CSS:
Structure of a document will look something like
Any ideas?
I'm trying to style Footnotes so that instead of appearing on the page that they are referenced on, they appear at the end of a chapter. I need to do this because in our case, a page could have dozens and dozens of footnotes and it looks bad taking up more than half a page.
I tried using Named Pages but it's not working for me. Any ideas?
Example CSS:
@page {
size: a5;
margin: 2cm;
font-size: 9pt;
}
@page footnotes_placeholder {
@footnotes {
border-top: thin solid black;
padding: 0.3em 0;
margin-top: 0.6em;
}
}
div.chapter > p:last-child {
page: footnotes_placeholder;
background-color: red; /* Visual proof of selection */
}
div.chapter {
counter-reset: footnote
}
.footnote {
font-family: "Times New Roman" !important;
display: none;
display: footnote;
display: prince-footnote;
position: footnote;
counter-increment: footnote;
list-style-position: inside;
margin-left: 1.4em;
font-size: 90%;
line-height: 1.4;
}
Structure of a document will look something like
<div class="chapter">
<h2>Title of chapter</h2>
<p>Blah blah <span class="footnote">Foo</span> Blah blah blah <span class="footnote">Bar</span></p> <!-- [...] -->
<p>Last paragraph</p>
</div>
Any ideas?