summaryrefslogtreecommitdiffstats
path: root/templates/latex/footer.tex
diff options
context:
space:
mode:
Diffstat (limited to 'templates/latex/footer.tex')
-rwxr-xr-xtemplates/latex/footer.tex50
1 files changed, 50 insertions, 0 deletions
diff --git a/templates/latex/footer.tex b/templates/latex/footer.tex
new file mode 100755
index 0000000..0227221
--- /dev/null
+++ b/templates/latex/footer.tex
@@ -0,0 +1,50 @@
+%--- End generated contents ---
+
+%%BEGIN CITATIONS_PRESENT
+ % Bibliography
+ \newpage
+ \phantomsection
+
+%%BEGIN !PDF_HYPERLINKS
+ \clearemptydoublepage
+%%BEGIN COMPACT_LATEX
+ \addcontentsline{toc}{section}{$latexcitereference}
+%%END COMPACT_LATEX
+%%BEGIN !COMPACT_LATEX
+ \addcontentsline{toc}{chapter}{$latexcitereference}
+%%END !COMPACT_LATEX
+ \printindex
+%%END !PDF_HYPERLINKS
+
+ \bibliographystyle{$latexbibstyle}
+ \bibliography{$latexbibfiles}
+%%BEGIN PDF_HYPERLINKS
+%%BEGIN COMPACT_LATEX
+ \addcontentsline{toc}{section}{$latexcitereference}
+%%END COMPACT_LATEX
+%%BEGIN !COMPACT_LATEX
+ \addcontentsline{toc}{chapter}{$latexcitereference}
+%%END !COMPACT_LATEX
+%%END PDF_HYPERLINKS
+
+%%END CITATIONS_PRESENT
+
+% Index
+%%BEGIN !COMPACT_LATEX
+ \backmatter
+%%END !COMPACT_LATEX
+ \newpage
+ \phantomsection
+ \clearemptydoublepage
+%%BEGIN COMPACT_LATEX
+ \addcontentsline{toc}{section}{\indexname}
+%%END COMPACT_LATEX
+%%BEGIN !COMPACT_LATEX
+ \addcontentsline{toc}{chapter}{\indexname}
+%%END !COMPACT_LATEX
+ \printindex
+
+% Required for some languages (in combination with latexdocumentpre from the header)
+$latexdocumentpost
+\end{document}
+