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-icomp.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-icomp.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.cbx | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.cbx index 3c35e97952b..27ed1192575 100644 --- a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.cbx @@ -1,5 +1,5 @@ \ProvidesFile{ext-authoryear-icomp.cbx} - [2018/03/18 v0.1 extended biblatex authoryear-icomp + [2018/03/20 v0.1a extended biblatex authoryear-icomp citation style (MW)] \blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} @@ -21,7 +21,8 @@ \iffieldundef{shorthand} {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} {\usebibmacro{cite:ibid}} - {\ifboolexpr{test {\ifnameundef{labelname}} or test {\iffieldundef{labelyear}}} + {\ifboolexpr{test {\ifnameundef{labelname}} + or test {\iffieldundef{labelyear}}} {\usebibmacro{cite:label}% \setunit{% \global\booltrue{cbx:parens}% @@ -184,8 +185,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}} @@ -199,13 +202,14 @@ {} {\usebibmacro{textcite:postnote}} +\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim] + {\cbx@textcite}{} -\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim]{\cbx@textcite}{} - -\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\setunit{\multicitedelim}} +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim] + {\cite}{\setunit{\multicitedelim}} \DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim] {\parencite}{\setunit{\multicitedelim}} -\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] +\DeclareMultiCiteCommand{\smartcites}[\mksmartcite] {\smartcite}{\setunit{\multicitedelim}} \DeclareCiteCommand{\bbx@cite@inxref}[\mkouterbibinxrefcitedelim] |