diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-04-12 17:18:01 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-04-12 17:30:10 +0100 |
commit | fcfe32775f72550ebb6d883b95cf50a1be84c451 (patch) | |
tree | e98b8dadfb6c0add5aa635b1bd5575b61cd0397c /tex/src/preamble-biblatex.tex | |
parent | 41c444a1a0fcff2aaa5c9b0dd2fc1e6b3aaf6de1 (diff) |
Dependency BibTeX entries included only when necessary
Until now, there was a single `tex/src/references.tex' file that housed the
BibTex entries for everything (software and non-software).
Since we have started to include the BibTeX entry for more software, it
will be hard to manage the large (sometime unused) BibTeX entries of the
software in the middle of the non-software related citations in the text of
the paper.
Therefore, with this commit, a `tex/dependencies' directory has been made
which has a separate BibTeX entry file for each software that needs
one. After the software is built, this file is copied to the new
`.local/version-info/cite' directory. At the end, the configure script will
concatenate all the files in this directory into one file which will later
be used with `tex/src/references.tex' by BibLaTeX.
This greatly simplifies managing of citations. Allowing us to focus on the
software-building and paper-writing citations separately/cleanly (and thus
be more efficient in both).
Diffstat (limited to 'tex/src/preamble-biblatex.tex')
-rw-r--r-- | tex/src/preamble-biblatex.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/src/preamble-biblatex.tex b/tex/src/preamble-biblatex.tex index 6358fb1..602c5a1 100644 --- a/tex/src/preamble-biblatex.tex +++ b/tex/src/preamble-biblatex.tex @@ -48,7 +48,7 @@ url=false, dashed=false, eprint=false, - maxbibnames=4, + maxbibnames=2, minbibnames=1, hyperref=true, maxcitenames=2, @@ -59,6 +59,7 @@ \DeclareFieldFormat[article]{pages}{#1} \DeclareFieldFormat{pages}{\mkfirstpage[{\mkpageprefix[bookpagination]}]{#1}} \addbibresource{tex/src/references.tex} +\addbibresource{tex/pipeline/macros/dependencies-bib.tex} \renewbibmacro{in:}{} \renewcommand*{\bibfont}{\footnotesize} \DefineBibliographyStrings{english}{references = {References}} |