]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
Format more pretty endnotes.
authorben <ben@saturne.(none)>
Sat, 8 Aug 2015 12:19:18 +0000 (14:19 +0200)
committerben <ben@saturne.(none)>
Sat, 8 Aug 2015 12:19:18 +0000 (14:19 +0200)
data/dblatex-endnotes.xsl

index e212b4d1c1adedd89d71ab5c3fdf3367c4f17c87..c0ee541c4b088ae53e9e8e209f6d9886500ea540 100644 (file)
@@ -12,17 +12,17 @@ in front of it.
     <xsl:text>
 \usepackage{endnotes}
 \let\footnote=\endnote
     <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}}
 
 % 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.
 \sloppy
 
 
 % 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.
 \sloppy
 
-% Hack to get correct chapter numbering with dblatex, as chapter
-% labels are ignored.
-\setcounter{chapter}{-1}
-
 \begin{document}
     </xsl:text>
 
 \begin{document}
     </xsl:text>