summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-chicago
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-15 20:03:54 +0000
committerKarl Berry <karl@freefriends.org>2024-04-15 20:03:54 +0000
commitaf02a622c9b2c5226fb7d8f28c1443f6bbb0c48b (patch)
treedfc3f00bf0c04dd7a9ffb143fd26c71c660d0be7 /Master/texmf-dist/tex/latex/biblatex-chicago
parent9797495385a9abd31cf1824f2c85f0c1b46a2ea1 (diff)
biblatex-chicago (15apr24)
git-svn-id: svn://tug.org/texlive/trunk@70955 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chicago')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/chicago-dates-common.cbx79
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.cbx39
2 files changed, 116 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-dates-common.cbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-dates-common.cbx
index 7cfe99f6999..b1320bf6950 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-dates-common.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-dates-common.cbx
@@ -4,7 +4,7 @@
% list) for the two author-date styles of the Chicago Manual of Style,
% 17th edition.
-\ProvidesFile{chicago-dates-common.cbx}[2022/11/17 v 3.18b biblatex
+\ProvidesFile{chicago-dates-common.cbx}[2024/04/15 v 3.20 biblatex
citation style]
%%%% Biblatex initialization + Chicago options + Toggles %%%%
@@ -1034,6 +1034,43 @@ citation style]
\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
@@ -2068,6 +2105,46 @@ citation style]
{}%
{\usebibmacro{postnote}}
+\DeclareCiteCommand{\citetitle}
+ {\boolfalse{citetracker}%
+ \boolfalse{pagetracker}%
+ \usebibmacro{prenote}}
+ {\ifciteindex
+ {\indexfield{indextitle}}
+ {}%
+ \ifthenelse{\ifentrytype{article}\OR\ifentrytype{review}\OR
+ \ifentrytype{suppperiodical}}%
+ {\iffieldundef{shorttitle}%
+ {\iffieldundef{title}%
+ {\iffieldundef{shortjournal}%
+ {\iffieldundef{journaltitle}
+ {}%
+ {\printtext[cmsyearhyper]{\printfield{journaltitle}}}}%
+ {\printtext[cmsyearhyper]{\printfield{shortjournal}}}}%
+ {\printtext[cmsyearhyper]{\printfield{title}}}}%
+ {\printtext[cmsyearhyper]{\printfield[title]{shorttitle}}}}%
+ {\printtext[cmsyearhyper]{\printfield[citetitle]{labeltitle}}}}
+ {\multicitedelim}
+ {\usebibmacro{postnote}}
+
+\DeclareCiteCommand*{\citetitle}
+ {\boolfalse{citetracker}%
+ \boolfalse{pagetracker}%
+ \usebibmacro{prenote}}
+ {\ifciteindex
+ {\indexfield{indextitle}}
+ {}%
+ \ifthenelse{\ifentrytype{article}\OR\ifentrytype{review}\OR
+ \ifentrytype{suppperiodical}}%
+ {\iffieldundef{title}%
+ {\iffieldundef{journaltitle}
+ {}%
+ {\printtext[cmsyearhyper]{\printfield{journaltitle}}}}%
+ {\printtext[cmsyearhyper]{\printfield{title}}}}%
+ {\printtext[cmsyearhyper]{\printfield{title}}}}%
+ {\multicitedelim}
+ {\usebibmacro{postnote}}
+
\DeclareCiteCommand{\atcite}
{\usebibmacro{cite:init}%
\usebibmacro{prenote}}
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.cbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.cbx
index f5b2f942e00..1f9fd8771cd 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/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