summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.bbx54
1 files changed, 28 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.bbx b/Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.bbx
index 63af99d76be..0993633927a 100644
--- a/Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.bbx
@@ -13,7 +13,7 @@
%% See: http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
%%
-\def\Version{2018/03/03 v0.12}
+\def\Version{2019/02/15 v1.0}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesFile{oxyear.bbx}
[\Version\space Author-year bibliography style inspired by the Oxford Guide to Style]
@@ -237,31 +237,31 @@
\csuse{mkbibseasondate#1}{}{#2endseason}}%
\enddateuncertainprint}}}}}
\xpatchcmd{\mkdaterangefull}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx@nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangefull{#1}{#2}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch mkdaterangefull}}
\xpatchcmd{\mkdaterangetrunc}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx@nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangetrunc{#1}{#2}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch mkdaterangetrunc}}
\xpatchcmd{\mkdaterangefullextra}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx@nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangefull{#1}{#2}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch mkdaterangefullextra}}
\xpatchcmd{\mkdaterangetruncextra}{%
- \iffieldundef{#2year} {}%
+ \iffieldundef{#2year} {\blx@nounit}%
}{%
\iffieldundef{#2year} {\mknoyeardaterangetrunc{#1}{#2}}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch mkdaterangetruncextra}}
\DeclareFieldFormat{shorthandwidth}{#1}
\xpretonameformat{family-given}{%
\iffieldannotation{inferred}{\ifnumequal{\value{listcount}}{1}{\bibopenbracket}{}}{}%
\ifitemannotation{inferred}{\bibopenbracket}{}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to prepend to family-given}}
\xpatchnameformat{family-given}{%
\usebibmacro{name:andothers}%
}{%
@@ -281,7 +281,7 @@
test {\ifnumgreater{\value{listtotal}}{\value{maxnames}}} )
}{\bibclosebracket}{}%
}{}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch family-given}}
\DeclareNameAlias{shortauthor}{family-given}
\DeclareNameAlias{shorteditor}{family-given}
\DeclareNameAlias{sortname}{family-given}
@@ -311,16 +311,18 @@
{\item}
\InitializeBibliographyStyle{\global\undef\bbx@lasthash}
\xapptobibmacro{begrelated}{%
- \booltrue{bbx@inset}}{}{}
+ \booltrue{bbx@inset}}%
+{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to append to begrelated}}
\xapptobibmacro{endrelated}{%
- \usebibmacro*{bbx:savehash}}{}{}
+ \usebibmacro*{bbx:savehash}}%
+{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to append to endrelated}}
\xpatchbibmacro{author}{%
\iffieldundef{authortype}%
}{%
\usebibmacro{date+extradate}%
\setunit*{\addspace}%
\iffieldundef{authortype}%
-}{}{}%
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch author (authortype)}}%
\xpatchbibmacro{author}{%
\global\undef\bbx@lasthash
}{%
@@ -328,12 +330,12 @@
\usebibmacro{labeltitle}%
\setunit*{\addspace}%
\usebibmacro{date+extradate}%
-}{}{}%
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch author (lasthash)}}%
\xpatchbibmacro{namepairs}{%
\printnames[by#1]%
}{%
\printnames[#1]%
-}{}{}
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch namepairs}}
\xpatchbibmacro{author+altauthor}{%
\printnames{author}%
}{%
@@ -346,14 +348,14 @@
}{%
\printnames{author}%
}%
-}{}{}%
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch author+altauthor}}%
\xpatchbibmacro{bbx:editor}{%
\usebibmacro{#1}%
}{%
\usebibmacro{date+extradate}%
\setunit*{\addspace}%
\usebibmacro{#1}%
-}{}{}%
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch bbx:editor}}%
\xpatchbibmacro{bbx:editor}{%
\global\undef\bbx@lasthash
}{%
@@ -361,12 +363,12 @@
\usebibmacro{labeltitle}%
\setunit*{\addspace}%
\usebibmacro{date+extradate}%
-}{}{}%
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch bbx:editor (lasthash)}}%
\xpatchbibmacro{editor+alteditor}{%
\printnames[byeditor]%
}{%
\printnames[editor]%
-}{}{}
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch editor+alteditor}}
\xpatchbibmacro{editor+alteditor}{%
\printnames{editor}%
}{%
@@ -379,7 +381,7 @@
}{%
\printnames{editor}%
}%
-}{}{}%
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch editor+alteditor (shorteditor)}}%
\xpatchbibmacro{bbx:translator}{%
\global\undef\bbx@lasthash
}{%
@@ -387,14 +389,14 @@
\usebibmacro{labeltitle}%
\setunit*{\addspace}%
\usebibmacro{date+extradate}%
-}{}{}%
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch bbx:translator (lasthash)}}%
\xpatchbibmacro{bbx:translator}{%
\usebibmacro{#1}%
}{%
\usebibmacro{date+extradate}%
\setunit*{\addspace}%
\usebibmacro{#1}%
-}{}{}%
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch bbx:translator}}%
\newtoggle{blx@ox@clearedtitle}
\newbibmacro*{labeltitle}{%
\iffieldundef{label}{%
@@ -429,7 +431,7 @@
\clearfield{maintitle}%
\clearfield{volume}%
}{}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to prepend to maintitle+title}}
\DeclareFieldFormat[mvbook,mvcollection,mvreference,proceedings,mvproceedings]{maintitle+volume}{#1}
\xpatchbibdriver{online}{%
\iffieldundef{year}%
@@ -439,7 +441,7 @@
and
test {\iffieldundef{month}}
}%
-}{}{}
+}{}{\wlog{WARNING: biblatex-oxref (oxyear) failed to patch online}}
\DeclareFieldFormat[bookinbook]{citetitle}{%
\ifboolexpr{
test {\iffieldequalstr{entrysubtype}{poem}}
@@ -568,6 +570,6 @@
}}
%%
-%% Copyright (C) 2016–2018 Alex Ball
+%% Copyright (C) 2016–2019 Alex Ball
%%
%% End of file `oxyear.bbx'.