]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
Add dblatex setup to transform footnotes to endnotes in the notes chapter.
authorPetter Reinholdtsen <pere@hungry.com>
Thu, 23 Aug 2012 04:57:10 +0000 (06:57 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Thu, 23 Aug 2012 04:57:10 +0000 (06:57 +0200)
freeculture.xml
scrreprtmargins.cls

index 624edbeed87d7201d22ddb9a80b9634d0a82a6a9..75595070ba1a05446c059a46c5bb7179c36e656d 100644 (file)
@@ -14776,6 +14776,7 @@ the material.
 </para>
 
 <!-- insert endnotes here -->
+<?latex \theendnotes ?>
 
 <!--PAGE BREAK 336-->
 
index 2432d2486a68f1a35a05154cb6d52cac36f58424..ce550a20b2ce369a28ca93d7d1fce0ca6ed7f6e4 100644 (file)
 \LoadClassWithOptions{scrreprt}
 % report, book, memoir, scrreprt or scrbook ?
 
-%\usepackage{endnotes}
-%\let\footnote=\endnote
-
 %\usepackage[margin=1in, paperwidth=6in, paperheight=9in]{geometry}
 %\usepackage[margin=0.8in]{geometry}
 \usepackage[inner=0.67in,outer=0.71in,top=0.71in,bottom=0.87in,pdftex]{geometry}
+
+%% Replace footnotes par end notes
+\usepackage{endnotes}
+\let\footnote=\endnote
+
+% Let user define its own endnote heading section(s)
+\def\enoteheading{\mbox{}\par\vskip-\baselineskip }
+
+% Insert this in the docbook code where the notes should be inserted
+%<?latex \theendnotes ?>