2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
5 Trick to get endnote support. Should have a way to insert LaTeX code
6 outside xetex font values. As it is missing, reuse the
7 latex.begindocument value (aka \begin{document} to get a code fragment
10 <xsl:param name="footnote.as.endnote" select="1"/>
12 <xsl:attribute-set name="endnotes.properties"
13 use-attribute-sets="endnotes.properties.default">
14 <xsl:attribute name="font-size">\footnotesize</xsl:attribute>
17 <xsl:param name="latex.begindocument">
19 % Trick to avoid many words sticking out of the right margin of the text.
20 % Need to add it here with the end notes, as only one
21 % latex.begindocument can be active.