]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
Use the new endnotes feature of dblatex.
authorben <ben@saturne.(none)>
Wed, 12 Aug 2015 13:04:16 +0000 (15:04 +0200)
committerben <ben@saturne.(none)>
Wed, 12 Aug 2015 13:04:16 +0000 (15:04 +0200)
data/dblatex-endnotes.xsl
freeculture.xml

index c0ee541c4b088ae53e9e8e209f6d9886500ea540..cf3bbe9dbfe06015e1309071697d550b24bc8705 100644 (file)
@@ -7,17 +7,15 @@ outside xetex font values.  As it is missing, reuse the
 latex.begindocument value (aka \begin{document} to get a code fragment
 in front of it.
 -->
+  <xsl:param name="footnote.as.endnote" select="1"/>
+
+  <xsl:attribute-set name="endnotes.properties"
+                     use-attribute-sets="endnotes.properties.default">
+    <xsl:attribute name="font-size">\footnotesize</xsl:attribute>
+  </xsl:attribute-set>
 
   <xsl:param name="latex.begindocument">
     <xsl:text>
-\usepackage{endnotes}
-\let\footnote=\endnote
-\def\enoteheading{\mbox{}\par\vskip-0.2\baselineskip }
-
-% More pretty looking note
-\def\enoteformat{\rightskip=0pt \leftskip=21pt \parindent=-13pt
-\leavevmode\llap{\makeenmark}\hspace*{11pt}}
-
 % Trick to avoid many words sticking out of the right margin of the text.
 % Need to add it here with the end notes, as only one
 % latex.begindocument can be active.
@@ -25,6 +23,6 @@ in front of it.
 
 \begin{document}
     </xsl:text>
-
   </xsl:param>
+
 </xsl:stylesheet>
index d0c1c1899bb2efd46bde498fbdecbdaafd48209b..93336ea659b06c8ee68d610dd5acf7b2479fbd1e 100644 (file)
@@ -15551,8 +15551,7 @@ the material.
 </para>
 
 <!-- insert endnotes here -->
-<?latex \theendnotes
-?>
+<index type="endnotes"/>
 
 <!--PAGE BREAK 336-->