summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-authordate16.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-authordate16.cbx')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-authordate16.cbx86
1 files changed, 22 insertions, 64 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-authordate16.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-authordate16.cbx
index 725a201aec..fff90b8a0e 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-authordate16.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chicago/latex/chicago-authordate16.cbx
@@ -3,7 +3,7 @@
% providing inline citations (and a reference list) for the
% author-date style of the Chicago Manual of Style, 16th edition.
-\ProvidesFile{chicago-authordate16.cbx}[2020/04/20 v 3.14 biblatex
+\ProvidesFile{chicago-authordate16.cbx}[2021/03/27 v 3.16 biblatex
citation style]
\RequireCitationStyle{chicago-dates-common16}
@@ -177,8 +177,10 @@ citation style]
{}%
\printtext[issuetitle]{%
\printfield[itnoformat]{issuetitle}%
- \setunit{\subtitlepunct}%
- \printfield[sitnoformat]{issuesubtitle}}}}
+ \iftoggle{cms@origpublished}% Complications due to \smartof
+ {}%
+ {\setunit{\subtitlepunct}%
+ \printfield[sitnoformat]{issuesubtitle}}}}}
%%%% Related macros that can't reside in common.cbx %%%%
@@ -203,75 +205,33 @@ citation style]
\DeclareFieldFormat{title:hook}{%
\begingroup
- \mkrelatedstring%
- \ifboolexpr{%
- togl {cms@otherlang}%
- and
- not test {\iffieldundef{langid}}%
- }%
- {\unspace}{}%
- \ifdefstring{\blx@main@language}{french}%
- {}%
- {\iftoggle{smartof}%
- {\let\lbx@inittitlehook\lbx@fr@smartof}%
- {}}%
- \lbx@inittitlehook{#1}%
+ \mkrelatedstringtext{%
+ \lbx@inittitlehook{#1}}%
\endgroup
\mkbibemph{#1}}
\DeclareFieldFormat{ititle:hook}{%
\begingroup
- \mkrelatedstring%
- \ifboolexpr{%
- togl {cms@otherlang}%
- and
- not test {\iffieldundef{langid}}%
- }%
- {\unspace}{}%
- \ifdefstring{\blx@main@language}{french}%
- {}%
- {\iftoggle{smartof}%
- {\let\lbx@inittitlehook\lbx@fr@smartof}%
- {}}%
- \lbx@inittitlehook{#1}%
+ \mkrelatedstringtext{%
+ \lbx@inittitlehook{#1}}%
\endgroup
- \mkbibquote{#1}}
+ \iffieldundef{issuesubtitle}%
+ {\mkbibquote{#1}}%
+ {\mkbibquote{#1\subtitlepunct\printfield{issuesubtitle}}}}
\DeclareFieldFormat{chapter:hook}{%
\begingroup
- \mkrelatedstring%
- \ifboolexpr{%
- togl {cms@otherlang}%
- and
- not test {\iffieldundef{langid}}%
- }%
- {\unspace}{}%
- \ifdefstring{\blx@main@language}{french}%
- {}%
- {\iftoggle{smartof}%
- {\let\lbx@inittitlehook\lbx@fr@smartof}%
- {}}%
- \lbx@inittitlehook{\bibstring{chapter}}%
- \endgroup
- \bibstring{chapter}~#1\addspace\bibstring{in}}
+ \mkrelatedstringtext{%
+ \lbx@inittitlehook{\bibstring{chapter}}%
+ \bibstring{chapter}~#1\addspace\bibstring{in}}
+ \endgroup}
\DeclareFieldFormat{avchapter:hook}{%
\begingroup
- \mkrelatedstring%
- \ifboolexpr{%
- togl {cms@otherlang}%
- and
- not test {\iffieldundef{langid}}%
- }%
- {\unspace}{}%
- \ifdefstring{\blx@main@language}{french}%
- {}%
- {\iftoggle{smartof}%
- {\let\lbx@inittitlehook\lbx@fr@smartof}%
- {}}%
- \lbx@inittitlehook{\bibstring{chapter}}%
- \endgroup
- \bibstring{chapter}~#1}
+ \mkrelatedstringtext{%
+ \lbx@inittitlehook{\bibstring{chapter}}%
+ \bibstring{chapter}~#1}
+ \endgroup}
\DeclareFieldFormat{sitnoformat}{#1}
\DeclareFieldFormat{sjtnoformat}{#1}
@@ -306,10 +266,8 @@ citation style]
\DeclareFieldAlias[music]{title}{default}%
\DeclareFieldAlias{title}{default}%
\DeclareFieldAlias[periodical]{shorttitle}{series}}}%
- {\iffieldundef{issuesubtitle}%
- {\DeclareFieldAlias{itnoformat}{ititle:hook}%
- \DeclareFieldAlias{issuetitle}{default}}%
- {\DeclareFieldAlias{issuetitle}{ititle:hook}}}}%
+ {\DeclareFieldAlias{itnoformat}{ititle:hook}%
+ \DeclareFieldAlias{issuetitle}{default}}}%
{\ifthenelse{\ifentrytype{audio}\OR\ifentrytype{music}\OR%
\ifentrytype{video}}%
{\iffieldundef{title}%