When I generate a PDF from the attached file, the footnote gets pushed down below the first page, nothing but the footnote appears on the second page, and the rest of the document appears on the third page.
If I apply either of the following two diffs, the footnotes still gets pushed down below the first page, but it appears on the second page with the rest of the document content:
If I apply this third diff, the footnote appears on the first page, where I want it to:
(The "height:100%" is the only way I've found to produce a page-sized title page that works on screen media (http://cplusplus.github.io/fundamentals-ts/main.html), but I can hack around it on print by fixing the size of the output page.)
If I apply either of the following two diffs, the footnotes still gets pushed down below the first page, but it appears on the second page with the rest of the document content:
diff --git a/prince_bug.html b/prince_bug.html
index 546b414..ee7b279 100644
--- a/prince_bug.html
+++ b/prince_bug.html
@@ -2,7 +2,7 @@
<!-- Sources at https://github.com/cplusplus/fundamentals-ts -->
<html><head>
<style>
-section header { margin-top: 20px; }
+section header { margin-top: 0px; }
</style>
<meta charset="utf-8">
<style>
diff --git a/prince_bug.html b/prince_bug.html
index 546b414..252ad22 100644
--- a/prince_bug.html
+++ b/prince_bug.html
@@ -7,7 +7,7 @@ section header { margin-top: 20px; }
<meta charset="utf-8">
<style>
@page {
- @top-left { content: ""; }
+ @top-left { }
}
html, body {height: 100%}
If I apply this third diff, the footnote appears on the first page, where I want it to:
diff --git a/prince_bug.html b/prince_bug.html
index 546b414..bb7cd58 100644
--- a/prince_bug.html
+++ b/prince_bug.html
@@ -10,8 +10,6 @@ section header { margin-top: 20px; }
@top-left { content: ""; }
}
-html, body {height: 100%}
-
aside { float: footnote; footnote-policy: line; }
</style><title>C++ Extensions for Library Fundamentals, Working Draft</title></head>
<body>
(The "height:100%" is the only way I've found to produce a page-sized title page that works on screen media (http://cplusplus.github.io/fundamentals-ts/main.html), but I can hack around it on print by fixing the size of the output page.)