From d959b48b1c096544efe16c8aec1ebfc739e49187 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 20 Oct 2025 17:14:12 +0200 Subject: [PATCH] more fucking around --- common-defs.tex | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/common-defs.tex b/common-defs.tex index 85229bc..33c3b5a 100644 --- a/common-defs.tex +++ b/common-defs.tex @@ -134,15 +134,21 @@ Image source: #1, #2 (\underline{\href{#4}{link}}). % Licensed #3.} +\DeclareRefcontext{webref}{labelprefix=W} +\DeclareRefcontext{patref}{labelprefix=P} +\DeclareRefcontext{defref}{} + \newcommand{\chapterbibliography}{ \clearpage % clearpage flushes all figures. force this here so we don't get figures floating in between references. - \newrefcontext[labelprefix=W] + \newrefcontext{webref} \printbibliography[type={online},title={Web sources},resetnumbers,heading=subbibintoc] - \newrefcontext + \newrefcontext{defref} \printbibliography[nottype={online},nottype={patent},resetnumbers,heading=subbibintoc] - \newrefcontext[labelprefix=P] + \newrefcontext{patref} \printbibliography[type={patent},title={Patent References},resetnumbers,heading=subbibintoc] } +\newrefcontext{defref} + \hyphenation{a-me-na-ble}