diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-05 22:20:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-05 22:20:02 +0000 |
commit | c4d413f7fd5020baebc166f24b7f39ba8f8aaacd (patch) | |
tree | 02c2fce0d73bbbf408b4f87cc64b9500179cc941 /Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.cbx | |
parent | cf3bfced31aa1039d850d531c69ee993e99430de (diff) |
biblatex-oxref (4mar18)
git-svn-id: svn://tug.org/texlive/trunk@46852 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.cbx | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.cbx b/Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.cbx index 2f807628edb..047dbed9316 100644 --- a/Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-oxref/oxyear.cbx @@ -13,22 +13,20 @@ %% See: http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- %% -\def\Version{2018/02/09 v0.11.3} +\def\Version{2018/03/03 v0.12} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesFile{oxyear.cbx} [\Version\space Author-year citation style inspired by the Oxford Guide to Style] \RequireCitationStyle{authoryear-comp} \ExecuteBibliographyOptions{uniquename=init} -\xpatchbibmacro{cite:labeldate+extradate}{% - \printfield{labelendyear}% -}{% - \iffieldundef{extradate}{% - \blx@ox@compyear - {\thefield{labelyear}}% - {\thefield{labelendyear}}% - }{% - \printfield{labelendyear}}% -}{}{} +\newbibmacro*{cite:labeldate+extradate}{% + \ifboolexpr{ + test {\iffieldundef{labelyear}} + or + ( test {\iffieldequalstr{labeldatesource}{nodate}} + and + togl {blx@ox@nonodate} ) + }{}{\printtext[bibhyperref]{\printlabeldateextra}}} \xpatchbibmacro{cite}{% \printnames{labelname}% }{% @@ -52,6 +50,7 @@ \iflabeldateisanydate {\addspace}% {\addcomma\space}} +\renewcommand*{\multicitedelim}{\addsemicolon\space} \renewcommand*{\compcitedelim}{\addsemicolon\space} \renewcommand*{\postnotedelim}{\addcolon\space} \xpatchbibmacro{textcite}{% |