summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.cbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-18 21:46:27 +0000
committerKarl Berry <karl@freefriends.org>2017-11-18 21:46:27 +0000
commit20660a493139f7da8061a165133f5ff2bc3da266 (patch)
treeab1f8b963c366fcb439dee750c167c4f5ac6dca2 /Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.cbx
parentba6f6ac5705667b8a0d7d3ddcb50a275d06278a1 (diff)
biblatex-oxref (18nov17)
git-svn-id: svn://tug.org/texlive/trunk@45847 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.cbx17
1 files changed, 16 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.cbx b/Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.cbx
index 10d5274686b..07d0cb6627d 100644
--- a/Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.cbx
@@ -13,11 +13,26 @@
%% See: http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
%%
-\def\Version{2017/05/14 v0.10}
+\def\Version{2017/11/18 v0.11}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesFile{oxnotes.cbx}
[\Version\space Footnote-based citation style inspired by the Oxford Guide to Style]
\RequireCitationStyle{verbose}
+\xpatchbibmacro{textcite}{%
+ \printnames{labelname}%
+}{%
+ \ifboolexpr{
+ test {\iffieldequalstr{labelnamesource}{author}}
+ and
+ togl {blx@ox@autoanon}
+ and
+ test {\iffieldequals{rawauthor}{\oxrefanon}}
+ }{%
+ \iftoggle{blx@ox@abbranon}{\bibcpsstring{anon}}{\bibcplstring{anon}}%
+ }{%
+ \printnames{labelname}%
+ }%
+}{}{}
%%
%% Copyright (C) 2016 Alex Ball
%%