aboutsummaryrefslogtreecommitdiff
path: root/tex/src/preamble-project.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/src/preamble-project.tex')
-rw-r--r--tex/src/preamble-project.tex9
1 files changed, 8 insertions, 1 deletions
diff --git a/tex/src/preamble-project.tex b/tex/src/preamble-project.tex
index 11bf9c3..f360ce9 100644
--- a/tex/src/preamble-project.tex
+++ b/tex/src/preamble-project.tex
@@ -49,9 +49,16 @@
%% To have multiple bibliographies (one for the main paper, one for the
%% appendix). With 'multibib' we need to specify a name for each
-%% bibliography.
+%% bibliography. But this is only necessary when the appendices are to be
+%% included in the final paper. When the supplement should be separate, it
+%% will be treated as a completely independent build, so '\citeappendix'
+%% should just be mapped to '\cite'.
+\ifdefined\separatesupplement
+\newcommand{\citeappendix}{\cite}
+\else
\usepackage{multibib}
\newcites{appendix}{Bibliography}
+\fi
%% To have typewriter font
\usepackage{courier}