diff options
author | Karl Berry <karl@freefriends.org> | 2018-10-18 20:33:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-10-18 20:33:24 +0000 |
commit | 57a73b1c4d59914f8178882a901e5c028d53b7ff (patch) | |
tree | 47fe79743fa43e8cc5b141f54df7a14d594f2c6f /Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx | |
parent | f78ef933642c4be9fd32c6ec1d846912f751ae65 (diff) |
biblatex-bath (18oct18)
git-svn-id: svn://tug.org/texlive/trunk@48936 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx b/Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx new file mode 100644 index 00000000000..4830548fe42 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-bath/bath.cbx @@ -0,0 +1,38 @@ +%% +%% This is file `bath.cbx', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% biblatex-bath.dtx (with options: `cbx') +%% ---------------------------------------------------------------- +%% biblatex-bath --- Harvard referencing style as recommended by the University of Bath Library +%% Author: Alex Ball +%% E-mail: a.j.ball@bath.ac.uk +%% License: Released under the LaTeX Project Public License v1.3c or later +%% See: http://www.latex-project.org/lppl.txt +%% ---------------------------------------------------------------- +%% +\RequireCitationStyle{authoryear-comp} +\ExecuteBibliographyOptions{uniquename=init} +\renewcommand*{\compcitedelim}{\addsemicolon\space} +\xpatchbibmacro{cite:labeldate+extradate}{% + \iffieldundef{labelyear}% +}{% + \ifboolexpr{ + togl {bbx:nonodate} + and + not test {\iflabeldateisdate}}% +}{}{} +\providetoggle{bbx:labelistitle} +\xpatchbibmacro{cite:label}{% + \printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}% +}{% + \printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}% + \toggletrue{bbx:labelistitle}% +}{}{} + +%% +%% Copyright (C) 2018 by University of Bath +%% +%% End of file `bath.cbx'. |