diff options
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] |