From 19b46b20a58318f296b0869a3c6c7a8c8f8fccb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20F?= Date: Sun, 20 Mar 2022 22:46:59 +0000 Subject: [PATCH] Migrate to biblatex --- common/common.tex | 5 ++++- dissertation/background.tex | 2 +- dissertation/dissertation.tex | 3 +-- progress-report/background.tex | 2 +- progress-report/progress-report.tex | 3 +-- specification/specification.tex | 3 +-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/common/common.tex b/common/common.tex index 46abc14..cf5c18c 100644 --- a/common/common.tex +++ b/common/common.tex @@ -16,13 +16,16 @@ \usepackage{fancyhdr} \usepackage{titletoc} \usepackage[explicit]{titlesec} -\usepackage{natbib} +\usepackage[style=draft]{biblatex} +\usepackage{csquotes} \usepackage[dvipsnames]{xcolor} \usepackage[sc]{mathpazo} \linespread{1.05} \usepackage[T1]{fontenc} \usepackage{minted} +\addbibresource{../common/bibliography.bib} + \hypersetup{ colorlinks=true, linkcolor=black, diff --git a/dissertation/background.tex b/dissertation/background.tex index d34f687..c6dab9b 100644 --- a/dissertation/background.tex +++ b/dissertation/background.tex @@ -1,4 +1,4 @@ \chapter{Background} \label{ch:background} -Your literature review goes here. \citet{hughes1989functional} discusses the advantages of functional programming by exploring \emph{e.g.}\ lists, trees, and noughts and crosses in a functional programming language. +Your literature review goes here. \autocite{hughes1989functional} discusses the advantages of functional programming by exploring \emph{e.g.}\ lists, trees, and noughts and crosses in a functional programming language. diff --git a/dissertation/dissertation.tex b/dissertation/dissertation.tex index f2ca745..ded2c92 100644 --- a/dissertation/dissertation.tex +++ b/dissertation/dissertation.tex @@ -41,7 +41,6 @@ \input{evaluation.tex} \input{conclusions.tex} -\bibliographystyle{../common/plainnat} -\bibliography{../common/bibliography} +\printbibliography \end{document} \ No newline at end of file diff --git a/progress-report/background.tex b/progress-report/background.tex index 4bae61a..f9e0b2d 100644 --- a/progress-report/background.tex +++ b/progress-report/background.tex @@ -1,4 +1,4 @@ \section{Background} \label{sec:background} -Your literature review goes here. \citet{hughes1989functional} discusses the advantages of functional programming by exploring \emph{e.g.}\ lists, trees, and noughts and crosses in a functional programming language. +Your literature review goes here. \autocite{hughes1989functional} discusses the advantages of functional programming by exploring \emph{e.g.}\ lists, trees, and noughts and crosses in a functional programming language. diff --git a/progress-report/progress-report.tex b/progress-report/progress-report.tex index ccd6bbb..f712d2c 100644 --- a/progress-report/progress-report.tex +++ b/progress-report/progress-report.tex @@ -34,7 +34,6 @@ \input{progress.tex} \input{project-management.tex} -\bibliographystyle{../common/plainnat} -\bibliography{../common/bibliography} +\printbibliography \end{document} \ No newline at end of file diff --git a/specification/specification.tex b/specification/specification.tex index 017f30d..e56b2d4 100644 --- a/specification/specification.tex +++ b/specification/specification.tex @@ -36,7 +36,6 @@ \section{Introduction} % \input{progress.tex} % \input{project-management.tex} -\bibliographystyle{../common/plainnat} -\bibliography{../common/bibliography} +\printbibliography \end{document}