diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2021-01-02 16:46:55 +0000 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2021-01-02 17:30:15 +0000 |
commit | e4f61544facf8a3bd88c8466e7d3d847544c8228 (patch) | |
tree | 16aa6ce14f38c537c1f14e63ac2764febc0d4f77 /tex/src/preamble-project.tex | |
parent | e7bfc66ab080ea662003ba173d70b7e9d94b9371 (diff) |
Supplement (containing appendices) optionally built separately
Until now, the build strategy of the paper was to have a single output PDF
that either contains (1) the full paper with appendices in the same paper
(2) only the main body of the paper with no appencies.
But the editor in chief of CiSE recently recommended publishing the
appendices as supplements that is a separate PDF (on its webpage). So with
this commit, the project can make either (1) a single PDF (containing both
the main body and the appendices) that will be published on arXiv and will
be the default output (this is the same as before). (2) two PDFs: one that
is only the main body of the paper and another that is only the appendices.
Since the appendices will be printed as a PDF in any case now, the old
'--no-appendix' option has been replaced by '--supplement'. Also, the
internal shell/TeX variable 'noappendix' has been renamed to
'separatesupplement'.
Diffstat (limited to 'tex/src/preamble-project.tex')
-rw-r--r-- | tex/src/preamble-project.tex | 9 |
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} |