From a198254d24ccfd63859b7ec9480d95775b087c4e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 19 Mar 2018 21:49:24 +0000 Subject: biblatex-ext (19mar18) git-svn-id: svn://tug.org/texlive/trunk@47029 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/biblatex-ext/ext-verbose-note.cbx | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.cbx (limited to 'Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.cbx') diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.cbx new file mode 100644 index 00000000000..666629f00db --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.cbx @@ -0,0 +1,61 @@ +\ProvidesFile{ext-verbose-note.cbx} + [2018/03/18 v0.1 extended biblatex verbose-note citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{verbose-note} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \iffootnote + {\usebibmacro{footcite}} + {\usebibmacro{cite}}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \iffootnote + {\usebibmacro{footcite}} + {\usebibmacro{cite}}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \iffootnote + {\usebibmacro{footcite}} + {\usebibmacro{cite}}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + + +\DeclareCiteCommand{\cbx@textcite}[\mkoutertextcitedelim] + {\usebibmacro{textcite:init}} + {\iffieldequals{namehash}{\cbx@lasthash} + {} + {\iffirstcitekey + {} + {\textcitedelim}% + \stepcounter{textcitecount}% + \usebibmacro{textcite}% + \savefield{namehash}{\cbx@lasthash}}} + {} + {} + + +\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim]{\cbx@textcite}{} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\multicitedelim} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite}{\multicitedelim} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\multicitedelim} + +\endinput -- cgit v1.2.3