<xsl:text>
\usepackage{endnotes}
\let\footnote=\endnote
-\def\enoteheading{\mbox{}\par\vskip-\baselineskip }
+\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}}
% Increase footnote/endnote size to be more than 6 pts, to avoid
% complaint from Lulu about the font being too small to be printed
% latex.begindocument can be active.
\sloppy
-% Hack to get correct chapter numbering with dblatex, as chapter
-% labels are ignored.
-\setcounter{chapter}{-1}
-
\begin{document}
</xsl:text>