summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-notes.cbx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-04-16 03:00:53 +0000
committerNorbert Preining <norbert@preining.info>2024-04-16 03:00:53 +0000
commit9800bfd04f16cdf2663b542883c67de4d0926b21 (patch)
treeed9cb7e96c3286ab92931b79ceab86a2fbab9376 /macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-notes.cbx
parentefca04f9a0ac7156dacf34c21a20614e34e37ca2 (diff)
CTAN sync 202404160300
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-notes.cbx')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-notes.cbx39
1 files changed, 38 insertions, 1 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-notes.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-notes.cbx
index f5b2f942e0..1f9fd8771c 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-notes.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-notes.cbx
@@ -4,7 +4,7 @@
% formatted according to the specifications of the Chicago Manual of
% Style.
-\ProvidesFile{chicago-notes.cbx}[2022/11/17 v 3.18b biblatex citation style]
+\ProvidesFile{chicago-notes.cbx}[2024/04/15 v 3.20 biblatex citation style]
%%%% Biblatex initialization + Chicago options + Toggles %%%%
@@ -1623,6 +1623,43 @@
\namepart{given}
}
+ %% Biblatex version 3.20 added this declaration to its name-parts
+ %% apparatus, and you need one for each new style you add when using
+ %% that version, or else documents won't compile. I include them
+ %% here inside the \ifdef test because earlier versions of biblatex
+ %% don't define the command.
+
+ \ifdef{\DeclareNamehashTemplate}{%
+ \DeclareNamehashTemplate[western]{
+ \namepart[hashscope=full]{family}
+ \namepart[hashscope=full]{given}
+ \namepart[hashscope=full]{prefix}
+ \namepart[hashscope=full]{suffix}
+ }%
+ \cms@template@wrapper{\DeclareNamehashTemplate}[russian]{
+ \namepart[hashscope=full]{prefix}
+ \namepart[hashscope=full]{family}
+ \namepart[hashscope=full]{suffix}
+ \namepart[hashscope=full]{given}
+ \namepart[hashscope=full]{patronymic}
+ }%
+ \cms@template@wrapper{\DeclareNamehashTemplate}[ethiopian]{
+ \namepart[hashscope=full]{prefix}
+ \namepart[hashscope=full]{family}
+ \namepart[hashscope=full]{suffix}
+ \namepart[hashscope=full]{given}
+ \namepart[hashscope=full]{patronymic}
+ \namepart[hashscope=full]{papponymic}
+ }%
+ \cms@template@wrapper{\DeclareNamehashTemplate}[cjk]{
+ \namepart[hashscope=full]{prefix}
+ \namepart[hashscope=full]{family}
+ \namepart[hashscope=full]{suffix}
+ \namepart[hashscope=full]{given}
+ \namepart[hashscope=full]{cjk}
+ }%
+ }{}%
+
%% These bibmacros print the names when the standard biblatex
%% equivalents are insufficient. You only need to provide a new one
%% for a new style if standard biblatex doesn't provide one that is