diff --git a/common-defs.tex b/common-defs.tex index 33c3b5a..22dd7a0 100644 --- a/common-defs.tex +++ b/common-defs.tex @@ -11,7 +11,7 @@ url=false, doi=true, eprint=false, - defernumbers=true, + refsegment=chapter, ]{biblatex} \addbibresource{main.bib} \DeclareSourcemap{ @@ -137,15 +137,16 @@ \DeclareRefcontext{webref}{labelprefix=W} \DeclareRefcontext{patref}{labelprefix=P} \DeclareRefcontext{defref}{} +\DeclareFieldFormat{labelprefix}{\textsuperscript{\sffamily#1}} \newcommand{\chapterbibliography}{ \clearpage % clearpage flushes all figures. force this here so we don't get figures floating in between references. \newrefcontext{webref} - \printbibliography[type={online},title={Web sources},resetnumbers,heading=subbibintoc] + \printbibliography[type={online},title={Web sources},heading=subbibintoc,resetnumbers=false,segment=\therefsegment] \newrefcontext{defref} - \printbibliography[nottype={online},nottype={patent},resetnumbers,heading=subbibintoc] + \printbibliography[nottype={online},nottype={patent},heading=subbibintoc,resetnumbers=false,segment=\therefsegment] \newrefcontext{patref} - \printbibliography[type={patent},title={Patent References},resetnumbers,heading=subbibintoc] + \printbibliography[type={patent},title={Patent References},heading=subbibintoc,resetnumbers=false,segment=\therefsegment] } \newrefcontext{defref} diff --git a/thesis.tex b/thesis.tex index 42a1d90..4e6820b 100644 --- a/thesis.tex +++ b/thesis.tex @@ -18,6 +18,7 @@ \renewcommand{\figurepath}{#1/figures} \graphicspath{{\figurepath}} \input{#1/chapter.tex} + \chapterbibliography } \title{Bootstrapping Physical Security with Inertial Hardware Security Modules} @@ -44,7 +45,4 @@ \appendix -\chapter*{Bibliography} -\chapterbibliography - \end{document}