From 08516255b1cf366069770026503986f12d59bcc1 Mon Sep 17 00:00:00 2001
From: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Date: Wed, 4 Nov 2020 22:40:47 +0000
Subject: Appendix of long paper added, optionally we can disable it

Given the referee reports, after discussing with the editors of CiSE, we
decided that it is important to include the complete appendix we had before
that included a thorough review of existing tools and methods. However, the
appendix will not be published in the paper (due to the strict word-count
limit). It will only be used in the arXiv/Zenodo versions of the paper.

This actually created a technical problem: we want the commit hash of the
project source to remain the same when the paper is built with an appendix
or without it.

To fix this problem the choice of including an appendix has gone into the
'project' script as a run-time option called '--no-appendix'. So by default
(when someone just runs './project make'), the PDF will have an appendix,
but when we want to submit to the journal, or when the appendix isn't
needed for a certain reason, we can use this new option. The appendix also
has its own separate bibliography.

Some other corrections made in this commit:
 1. Some new references were added that had an '_' in their source, they
    were corrected in 'references.tex'.
 2. I noticed that 'preamble-style.tex' is not actually used in this paper,
    so it has been deleted.
---
 tex/src/preamble-project.tex | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

(limited to 'tex/src/preamble-project.tex')

diff --git a/tex/src/preamble-project.tex b/tex/src/preamble-project.tex
index 16a9ddc..b4fd764 100644
--- a/tex/src/preamble-project.tex
+++ b/tex/src/preamble-project.tex
@@ -5,6 +5,12 @@
 %% \cite{} output to follow that of the IEEE.
 \usepackage{cite}
 
+%% To have multiple bibliographies (one for the main paper, one for the
+%% appendix). With 'multibib' we need to specify a name for each
+%% bibliography.
+\usepackage{multibib}
+\newcites{appendix}{Bibliography}
+
 %% For the `\url' command.
 \usepackage{url}
 
@@ -51,6 +57,19 @@
 
 
 
+%% Maneage feature for highlighting updates. When this is set, text marked
+%% as \new will be colored in dark green and text that is marked
+%% wtih \tonote will be marked in dark red.
+\ifdefined\highlightchanges
+\newcommand{\new}[1]{\textcolor{green!60!black}{#1}}
+\newcommand{\tonote}[1]{\textcolor{red!60!black}{[#1]}}
+\else
+\newcommand{\new}[1]{\textcolor{black}{#1}}
+\newcommand{\tonote}[1]{{}}
+\fi
+
+
+
 
 %% Custom macros
 \newcommand{\inlinecode}[1]{\textcolor{blue!35!black}{\texttt{#1}}}
-- 
cgit v1.2.1

