diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-20 21:59:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-20 21:59:43 +0000 |
commit | 0572809ff2da349a70f53551dba2ec7bb2b0e930 (patch) | |
tree | 26d328156e3ad15b044f400759fe610019f892f7 /Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx | |
parent | 88e44c506b22f502671d4b4c84d29a5f517fd4d1 (diff) |
biblatex-ext (20mar18)
git-svn-id: svn://tug.org/texlive/trunk@47046 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx index 0b909a413d7..756e970156a 100644 --- a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx @@ -1,5 +1,5 @@ \ProvidesFile{ext-authoryear-comp.cbx} - [2018/03/18 v0.1 extended biblatex authoryear-comp + [2018/03/20 v0.1a extended biblatex authoryear-comp citation style (MW)] \blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} @@ -19,7 +19,8 @@ \renewbibmacro*{cite}{% \iffieldundef{shorthand} - {\ifboolexpr{test {\ifnameundef{labelname}} or test {\iffieldundef{labelyear}}} + {\ifboolexpr{test {\ifnameundef{labelname}} + or test {\iffieldundef{labelyear}}} {\usebibmacro{cite:label}% \setunit{% \global\booltrue{cbx:parens}% @@ -190,8 +191,10 @@ {} {\usebibmacro{cite:postnote}} -\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] - {\usebibmacro{cite:init}% +% smartcite's delimcontext needs special attention (see ext-biblatex-aux.def) +\DeclareCiteCommand{\smartcite}[\mksmartcite] + {\delimcontext{\extblx@thisdelimcontext}% + \usebibmacro{cite:init}% \usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{cite}} @@ -205,12 +208,14 @@ {} {\usebibmacro{textcite:postnote}} -\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim]{\cbx@textcite}{} +\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim] + {\cbx@textcite}{} -\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\setunit{\multicitedelim}} -\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite} - {\setunit{\multicitedelim}} -\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim] + {\cite}{\setunit{\multicitedelim}} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim] + {\parencite}{\setunit{\multicitedelim}} +\DeclareMultiCiteCommand{\smartcites}[\mksmartcite] {\smartcite}{\setunit{\multicitedelim}} \DeclareCiteCommand{\bbx@cite@inxref}[\mkouterbibinxrefcitedelim] |