From 8c4a44596b8ef267e631fa8eeac4af61198cee97 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 22 Sep 2023 13:47:11 +0200 Subject: [PATCH] =?UTF-8?q?Do=20not=20use=20biblatex-jura2=E2=80=99s=20sor?= =?UTF-8?q?ting=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead, use biblatex’s upstream nty template, which is more fit. --- jurafoo.sty | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/jurafoo.sty b/jurafoo.sty index 786a32e..3b113fa 100644 --- a/jurafoo.sty +++ b/jurafoo.sty @@ -120,6 +120,35 @@ \renewcommand*{\newunitpunct}{\addcomma\space} % Global: Print all names in reverse order \DeclareNameAlias{default}{sortname} +% Global: Do not use biblatex-jura2’s sorting template +\DeclareSortingTemplate{nty}{ + \sort{ + \field{presort} + } + \sort[final]{ + \field{sortkey} + } + \sort{ + \field{sortname} + \field{author} + \field{editor} + \field{translator} + \field{sorttitle} + \field{title} + } + \sort{ + \field{sorttitle} + \field{title} + } + \sort{ + \field{sortyear} + \field{year} + } + \sort{ + \field{volume} + \literal{0} + } +} % Commentary (citedbytitle): Don’t print title in italic (upstream doesn’t know themselves?) \DeclareFieldFormat[commentary]{maintitle}{\normalfont{#1}}