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.
\begin{document}
</xsl:text>
-
</xsl:param>
+
</xsl:stylesheet>