\ProvidesFile{ext-numeric.cbx} [2018/06/10 v0.4 extended biblatex numeric citation style (MW)] \blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} \RequireCitationStyle{numeric} \DeclareOuterCiteDelims{cite}{\bibopenbracket}{\bibclosebracket} \DeclareOuterCiteDelimsAlias{parencite}{cite} \DeclareOuterCiteDelims{textcite}{}{} \DeclareInnerCiteDelims{textcite}{\bibopenbracket}{\bibclosebracket} \renewbibmacro*{textcite}{% \iffieldequals{namehash}{\cbx@lasthash} {\setunit{\multicitedelim}} {\ifnameundef{labelname} {\printfield[citetitle]{labeltitle}} {\printnames{labelname}}% \setunit*{\printdelim{namelabeldelim}}% \printtext{\csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% \global\booltrue{cbx:parens}% \stepcounter{textcitecount}% \savefield{namehash}{\cbx@lasthash}}% \ifnumequal{\value{citecount}}{1} {\usebibmacro{prenote}} {}% \usebibmacro{cite}% \setunit{% \ifbool{cbx:parens} {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% \global\boolfalse{cbx:parens}} {}% \textcitedelim}} \renewbibmacro*{textcite:postnote}{% \usebibmacro{postnote}% \ifnumequal{\value{multicitecount}}{\value{multicitetotal}} {\setunit{}% \printtext{% \ifbool{cbx:parens} {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% \global\boolfalse{cbx:parens}} {}}} {\setunit{% \ifbool{cbx:parens} {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% \global\boolfalse{cbx:parens}} {}% \textcitedelim}}} \DeclareCiteCommand{\cite}[\mkoutercitedelims] {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{cite}} {\multicitedelim} {\usebibmacro{postnote}} \DeclareCiteCommand{\parencite}[\mkouterparencitedelims] {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{cite}} {\multicitedelim} {\usebibmacro{postnote}} % smartcite's delimcontext needs special attention (see ext-biblatex-aux.def) \DeclareCiteCommand{\smartcite}[\mksmartcite] {\delimcontext{\extblx@thisdelimcontext}% \usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{cite}} {\multicitedelim} {\usebibmacro{postnote}} \DeclareCiteCommand{\cbx@textcite}[\mkoutertextcitedelims] {\usebibmacro{textcite:init}} {\usebibmacro{citeindex}% \usebibmacro{textcite}} {} {\usebibmacro{textcite:postnote}} \DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelims] {\cbx@textcite}{} \DeclareMultiCiteCommand{\cites}[\mkoutercitedelims] {\cite}{\multicitedelim} \DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelims] {\parencite}{\multicitedelim} \DeclareMultiCiteCommand{\smartcites}[\mksmartcite] {\smartcite}{\multicitedelim} \endinput % % This file is part of the biblatex-ext bundle. % biblatex-ext is released under the LaTeX Project Public License v1.3c % or later. % % A complete list of files included in that package can be found in README.md % or - failing that - in ext-standard.bbx. % % Official releases of this package are on CTAN % https://www.ctan.org/pkg/biblatex-ext % development takes place on GitHub % https://github.com/moewew/biblatex-ext %