diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
57 files changed, 4269 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.bbx new file mode 100644 index 00000000000..74c08f098e4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.bbx @@ -0,0 +1,8 @@ +\ProvidesFile{ext-alphabetic-verb.bbx} + [2018/03/18 v0.1 extended biblatex alphabetic-verb + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{alphabetic-verb} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.cbx new file mode 100644 index 00000000000..be169705d50 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.cbx @@ -0,0 +1,70 @@ +\ProvidesFile{ext-alphabetic-verb.cbx} + [2018/03/18 v0.1 extended biblatex alphabetic-verb citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{alphabetic-verb} + +\DeclareOuterCiteDelim{cite}{\bibopenbracket}{\bibclosebracket} +\DeclareOuterCiteDelimAlias{parencite}{cite} +\DeclareOuterCiteDelim{textcite}{}{} + +\DeclareInnerCiteDelim{textcite}{\bibopenbracket}{\bibclosebracket} + +\renewbibmacro*{textcite}{% + \ifnameundef{labelname} + {\printfield[citetitle]{labeltitle}} + {\printnames{labelname}}% + \printdelim{namelabeldelim}% + \csuse{extblx@citedelim@textcite@inner@open}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{cite}} + + +\DeclareCiteCommand{\cite} + {\csuse{extblx@citedelim@cite@outer@open}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \ifnumgreater{\value{citecount}}{1} + {\csuse{extblx@citedelim@cite@outer@open}} + {}% + \usebibmacro{cite}} + {\csuse{extblx@citedelim@cite@outer@close}% + \multicitedelim} + {\usebibmacro{postnote}% + \csuse{extblx@citedelim@cite@outer@close}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\textcite}[\mkoutertextcitedelim] + {} + {\usebibmacro{citeindex}% + \iffirstcitekey + {\setcounter{textcitetotal}{1}} + {\stepcounter{textcitetotal}% + \textcitedelim}% + \usebibmacro{textcite}} + {\csuse{extblx@citedelim@textcite@inner@close}} + {\usebibmacro{postnote}% + \csuse{extblx@citedelim@textcite@inner@close}} + +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite}{\multicitedelim} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\multicitedelim} +\DeclareMultiCiteCommand{\textcites}[\mkoutertextcitedelim]{\textcite}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.bbx new file mode 100644 index 00000000000..a7f8e7d19f2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.bbx @@ -0,0 +1,7 @@ +\ProvidesFile{ext-alphabetic.bbx} + [2018/03/18 v0.1 extended biblatex alphabetic bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{alphabetic} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.cbx new file mode 100644 index 00000000000..fd2fc28d276 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.cbx @@ -0,0 +1,88 @@ +\ProvidesFile{ext-alphabetic.cbx} + [2018/03/18 v0.1 extended biblatex alphabetic citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{alphabetic} + +\DeclareOuterCiteDelim{cite}{\bibopenbracket}{\bibclosebracket} +\DeclareOuterCiteDelimAlias{parencite}{cite} +\DeclareOuterCiteDelim{textcite}{}{} + +\DeclareInnerCiteDelim{textcite}{\bibopenbracket}{\bibclosebracket} + +\renewbibmacro*{textcite}{% + \iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\multicitedelim}} + {\ifnameundef{labelname} + {\printfield[citetitle]{labeltitle}} + {\printnames{labelname}}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{namelabeldelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{cite}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@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@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}}} + {\setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}}} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\cbx@textcite}[\mkoutertextcitedelim] + {\usebibmacro{textcite:init}} + {\usebibmacro{citeindex}% + \usebibmacro{textcite}} + {} + {\usebibmacro{textcite:postnote}} + +\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim]{\cbx@textcite}{} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\multicitedelim} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite}{\multicitedelim} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\multicitedelim} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-common.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-common.bbx new file mode 100644 index 00000000000..f15d3e672a7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-common.bbx @@ -0,0 +1,26 @@ +\ProvidesFile{ext-authortitle-common.bbx} + [2018/03/18 v0.1 common files for extended biblatex + authortitle bibliography styles (MW)] + +\RequireBibliographyStyle{ext-dashed-common} + +\defbibenvironment{bibliography} + {\list + {\ifcsequal{extblx@introcite}{extblx@opt@introcite@label} + {\usebibmacro{introcite:typeset}} + {}} + {\ifcsequal{extblx@introcite}{extblx@opt@introcite@label} + {\setlength{\labelwidth}{\introcitewidth}% + \setlength{\leftmargin}{\labelwidth} + \renewcommand*{\makelabel}[1]{##1\hss}} + {\setlength{\leftmargin}{\bibhang}% + \setlength{\itemindent}{-\leftmargin}}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}} + {\endlist} + {\item + \ifcsequal{extblx@introcite}{extblx@opt@introcite@label} + {\usebibmacro{introcite:break}} + {}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.bbx new file mode 100644 index 00000000000..6cc5be19fd4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authortitle-comp.bbx} + [2018/03/18 v0.1 extended biblatex authortitle-comp + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authortitle-comp} +\RequireBibliographyStyle{ext-authortitle-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.cbx new file mode 100644 index 00000000000..b76570a4844 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.cbx @@ -0,0 +1,159 @@ +\ProvidesFile{ext-authortitle-comp.cbx} + [2018/03/18 v0.1 extended biblatex authortitle-comp + citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{authortitle-comp} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{cite}{}{} +\DeclareInnerCiteDelim{parencite}{}{} +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} +\DeclareInnerCiteDelim{footcite}{}{} + +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}} + {\printnames{labelname}% + \setunit*{% + \global\booltrue{cbx:parens}% + \printdelim{nametitledelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \savefield{namehash}{\cbx@lasthash}}% + \usebibmacro{cite:title}} + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \multicitedelim}} + +\renewbibmacro*{textcite}{% + \iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}} + {\printnames{labelname}% + \setunit*{% + \global\booltrue{cbx:parens}% + \printdelim{nametitledelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\usebibmacro{cite:title}}% + {\usebibmacro{cite:shorthand}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}} + +\renewbibmacro*{cite:postnote}{% + \setunit{}% + \printtext{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}}% + \usebibmacro{postnote}} + +\renewbibmacro*{textcite:postnote}{% + \ifnameundef{labelname} + {\setunit{% + \global\booltrue{cbx:parens}% + \extpostnotedelim + \csuse{extblx@citedelim@textcite@inner@open}}} + {\setunit{\postnotedelim}}% + \printfield{postnote}% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}} + {\setunit{}% + \printtext{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}}} + {\setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}}} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\cite}[\mkoutercitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citetitle}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\parencite}[\mkouterparencitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citetitle}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\cbx@textcite}[\mkoutertextcitedelim] + {\usebibmacro{cite:init}} + {\usebibmacro{citeindex}% + \usebibmacro{textcite}} + {} + {\usebibmacro{textcite:postnote}} + +\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim]{\cbx@textcite}{} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\setunit{\multicitedelim}} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim] + {\parencite}{\setunit{\multicitedelim}} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\setunit{\multicitedelim}} + +\DeclareCiteCommand{\bbx@cite@inxref}[\mkouterbibinxrefcitedelim] + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \boolfalse{backtracker}% + \usebibmacro{cite:init}} + {\usebibmacro{bbx:cite:inxref}} + {} + {\usebibmacro{cite:postnote}} + +\renewbibmacro*{bbx:cite:intro}{% + \usebibmacro{cite}% + \clearfield{postnote}% + \usebibmacro{cite:postnote}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.bbx new file mode 100644 index 00000000000..e3e9956ecc5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authortitle-ibid.bbx} + [2018/03/18 v0.1 extended biblatex authortitle-ibid + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authortitle-ibid} +\RequireBibliographyStyle{ext-authortitle-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.cbx new file mode 100644 index 00000000000..e5c7521d076 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.cbx @@ -0,0 +1,115 @@ +\ProvidesFile{ext-authortitle-ibid.cbx} + [2018/03/18 v0.1 extended biblatex authortitle-ibid + citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{authortitle-ibid} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{cite}{}{} +\DeclareInnerCiteDelim{parencite}{}{} +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} +\DeclareInnerCiteDelim{footcite}{}{} + +\DeclareFieldFormat{extblx@innercitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} +\DeclareFieldFormat{extblx@innerparencitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} +\DeclareFieldFormat{extblx@innertextcitedelim}{#1} +\DeclareFieldFormat{extblx@innerfootcitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} + +\newbibmacro*{textcite}{% + \global\boolfalse{cbx:loccit}% + \printnames{labelname}% + \setunit*{% + \global\booltrue{cbx:parens}% + \printdelim{nametitledelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\usebibmacro{cite:title}}} + {\usebibmacro{cite:shorthand}}} + +\renewbibmacro*{cite:title}{% + \printtext[extblx@inner\blx@delimcontext delim]{% + \printtext[bibhyperref]{% + \printfield[citetitle]{labeltitle}}}} + +\newbibmacro*{textcite:postnote}{% + \ifthenelse{\iffieldundef{postnote}\OR\boolean{cbx:loccit}} + {\ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}} + {}} + {\ifbool{cbx:parens} + {\postnotedelim} + {\extpostnotedelim + \csuse{extblx@citedelim@textcite@inner@open}}% + \printfield{postnote}% + \csuse{extblx@citedelim@textcite@inner@close}}} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citetitle}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citetitle}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\textcite}[\mkoutertextcitedelim] + {\boolfalse{cbx:parens}} + {\usebibmacro{citeindex}% + \iffirstcitekey + {\setcounter{textcitetotal}{1}} + {\stepcounter{textcitetotal}% + \textcitedelim}% + \usebibmacro{textcite}} + {\ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}} + {\usebibmacro{textcite:postnote}} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\multicitedelim} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite}{\multicitedelim} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\multicitedelim} +\DeclareMultiCiteCommand{\textcites}[\mkoutertextcitedelim]{\textcite}{} + +\DeclareFieldFormat{extblx@innerbbx:introcitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.bbx new file mode 100644 index 00000000000..7b50a19a1a4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authortitle-icomp.bbx} + [2018/03/18 v0.1 extended biblatex authortitle-icomp + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authortitle-icomp} +\RequireBibliographyStyle{ext-authortitle-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.cbx new file mode 100644 index 00000000000..b8274a646e2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.cbx @@ -0,0 +1,167 @@ +\ProvidesFile{ext-authortitle-icomp.cbx} + [2018/03/18 v0.1 extended biblatex authortitle-icomp + citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{authortitle-icomp} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{cite}{}{} +\DeclareInnerCiteDelim{parencite}{}{} +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} +\DeclareInnerCiteDelim{footcite}{}{} + +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}} + {\printnames{labelname}% + \setunit*{% + \global\booltrue{cbx:parens}% + \printdelim{nametitledelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \savefield{namehash}{\cbx@lasthash}}% + \usebibmacro{cite:title}}}% + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \multicitedelim}} + +\renewbibmacro*{textcite}{% + \iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}} + {\printnames{labelname}% + \setunit*{% + \global\booltrue{cbx:parens}% + \printdelim{nametitledelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\usebibmacro{cite:title}}}% + {\usebibmacro{cite:shorthand}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}} + +\renewbibmacro*{cite:postnote}{% + \setunit{}% + \printtext{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}}% + \ifbool{cbx:loccit} + {} + {\usebibmacro{postnote}}} + +\renewbibmacro*{textcite:postnote}{% + \ifbool{cbx:loccit} + {} + {\ifnameundef{labelname} + {\setunit{% + \global\booltrue{cbx:parens}% + \extpostnotedelim + \csuse{extblx@citedelim@textcite@inner@open}}} + {\setunit{\postnotedelim}}% + \printfield{postnote}}% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}} + {\setunit{}% + \printtext{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}}} + {\setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}}} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\cite}[\mkoutercitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citetitle}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\parencite}[\mkouterparencitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citetitle}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\cbx@textcite}[\mkoutertextcitedelim] + {\usebibmacro{cite:init}} + {\usebibmacro{citeindex}% + \usebibmacro{textcite}} + {} + {\usebibmacro{textcite:postnote}} + +\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim]{\cbx@textcite}{} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\setunit{\multicitedelim}} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim] + {\parencite}{\setunit{\multicitedelim}} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\setunit{\multicitedelim}} + +\DeclareCiteCommand{\bbx@cite@inxref}[\mkouterbibinxrefcitedelim] + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \boolfalse{backtracker}% + \usebibmacro{cite:init}} + {\usebibmacro{bbx:cite:inxref}} + {} + {\usebibmacro{cite:postnote}} + +\renewbibmacro*{bbx:cite:intro}{% + \usebibmacro{cite}% + \clearfield{postnote}% + \usebibmacro{cite:postnote}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.bbx new file mode 100644 index 00000000000..11e3a74f94e --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authortitle-tcomp.bbx} + [2018/03/18 v0.1 extended biblatex authortitle-tcomp + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authortitle-tcomp} +\RequireBibliographyStyle{ext-authortitle-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.cbx new file mode 100644 index 00000000000..3fe7871013a --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.cbx @@ -0,0 +1,104 @@ +\ProvidesFile{ext-authortitle-tcomp.cbx} + [2018/03/18 v0.1 extended biblatex authortitle-tcomp + citation style (MW)] + +\RequireCitationStyle{ext-authortitle-comp} +\ExecuteBibliographyOptions{singletitle,uniquename,uniquelist,autocite=inline} + +\renewcommand*{\iffinalcitedelim}{% + \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}} + +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}% + \usebibmacro{cite:title}} + {\ifnameundef{labelname} + {\usebibmacro{cite:title}} + {\ifsingletitle + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nametitledelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \usebibmacro{cite:title}}}% + \savefield{namehash}{\cbx@lasthash}}} + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \multicitedelim}} + +\renewbibmacro*{citetitle}{% + \iffieldundef{shorthand} + {\iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}} + {\savefield{namehash}{\cbx@lasthash}}% + \usebibmacro{cite:title}} + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{\multicitedelim}} + +\renewbibmacro*{textcite}{% + \iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}% + \iffieldundef{shorthand} + {\usebibmacro{cite:title}}% + {\usebibmacro{cite:shorthand}}} + {\ifnameundef{labelname} + {\ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\usebibmacro{cite:title}}% + {\usebibmacro{cite:shorthand}}} + {\ifthenelse{\ifsingletitle\AND + \(\iffieldundef{prenote}\OR\value{citecount}>1\)} + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname} + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nametitledelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\usebibmacro{cite:title}}% + {\usebibmacro{cite:shorthand}}}}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}} + +\renewbibmacro*{textcite:postnote}{% + \ifbool{cbx:parens} + {\setunit{\postnotedelim}} + {\setunit{% + \global\booltrue{cbx:parens}% + \extpostnotedelim + \csuse{extblx@citedelim@textcite@inner@open}}}% + \printfield{postnote}% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}} + {\setunit{}% + \printtext{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}}} + {\setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.bbx new file mode 100644 index 00000000000..fd5378a8dee --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authortitle-terse.bbx} + [2018/03/18 v0.1 extended biblatex authortitle-terse + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authortitle-terse} +\RequireBibliographyStyle{ext-authortitle-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.cbx new file mode 100644 index 00000000000..f5f354aacf2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.cbx @@ -0,0 +1,43 @@ +\ProvidesFile{ext-authortitle-terse.cbx} + [2018/03/18 v0.1 extended biblatex authortitle-terse + citation style (MW)] + +\RequireCitationStyle{ext-authortitle} +\ExecuteBibliographyOptions{singletitle,uniquename,uniquelist,autocite=inline} + +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\ifnameundef{labelname} + {\usebibmacro{cite:title}} + {\ifsingletitle + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{\printdelim{nametitledelim}}% + \usebibmacro{cite:title}}}}% + {\usebibmacro{cite:shorthand}}} + +\renewbibmacro*{textcite}{% + \ifnameundef{labelname} + {\ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\usebibmacro{cite:title}}% + {\usebibmacro{cite:shorthand}}} + {\ifthenelse{\ifsingletitle\AND + \(\iffieldundef{prenote}\OR\value{citecount}>1\)} + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nametitledelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\usebibmacro{cite:title}}% + {\usebibmacro{cite:shorthand}}}}} + +\endinput + diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.bbx new file mode 100644 index 00000000000..6fca297cb87 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authortitle-ticomp.bbx} + [2018/03/18 v0.1 extended biblatex authortitle-ticomp + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authortitle-ticomp} +\RequireBibliographyStyle{ext-authortitle-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.cbx new file mode 100644 index 00000000000..411c895b0ca --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.cbx @@ -0,0 +1,115 @@ +\ProvidesFile{ext-authortitle-ticomp.cbx} + [2018/03/18 v0.1 extended biblatex authortitle-ticomp citation style (MW)] + +\RequireCitationStyle{ext-authortitle-icomp} +\ExecuteBibliographyOptions{singletitle,uniquename,uniquelist,autocite=inline} + +\renewcommand*{\iffinalcitedelim}{% + \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}} + +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}% + \usebibmacro{cite:title}} + {\ifnameundef{labelname} + {\usebibmacro{cite:title}} + {\ifsingletitle + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nametitledelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \usebibmacro{cite:title}}}% + \savefield{namehash}{\cbx@lasthash}}}} + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \multicitedelim}} + +\renewbibmacro*{citetitle}{% + \iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}} + {\savefield{namehash}{\cbx@lasthash}}% + \usebibmacro{cite:title}}} + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{\multicitedelim}} + +\renewbibmacro*{textcite}{% + \iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}% + \iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\usebibmacro{cite:title}}}% + {\usebibmacro{cite:shorthand}}} + {\ifnameundef{labelname} + {\ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\usebibmacro{cite:title}}}% + {\usebibmacro{cite:shorthand}}} + {\ifthenelse{\ifsingletitle\AND + \(\iffieldundef{prenote}\OR\value{citecount}>1\)} + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname} + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nametitledelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\usebibmacro{cite:title}}}% + {\usebibmacro{cite:shorthand}}}}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}} + +\renewbibmacro*{textcite:postnote}{% + \ifbool{cbx:parens} + {\setunit{\postnotedelim}} + {\setunit{% + \global\booltrue{cbx:parens}% + \extpostnotedelim + \csuse{extblx@citedelim@textcite@inner@open}}}% + \ifbool{cbx:loccit} + {} + {\printfield{postnote}}% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}} + {\setunit{}% + \printtext{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}}} + {\setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.bbx new file mode 100644 index 00000000000..7616fdbbfa4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authortitle.bbx} + [2018/03/18 v0.1 extended biblatex authortitle + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authortitle} +\RequireBibliographyStyle{ext-authortitle-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.cbx new file mode 100644 index 00000000000..6cc421d1722 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.cbx @@ -0,0 +1,112 @@ +\ProvidesFile{ext-authortitle.cbx} + [2018/03/18 v0.1 extended biblatex authortitle citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{authortitle} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{cite}{}{} +\DeclareInnerCiteDelim{parencite}{}{} +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} +\DeclareInnerCiteDelim{footcite}{}{} + +\DeclareFieldFormat{extblx@innercitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} +\DeclareFieldFormat{extblx@innerparencitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} +\DeclareFieldFormat{extblx@innertextcitedelim}{#1} +\DeclareFieldFormat{extblx@innerfootcitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} + +\renewbibmacro*{textcite}{% + \printnames{labelname}% + \setunit*{% + \global\booltrue{cbx:parens}% + \printdelim{nametitledelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\usebibmacro{cite:title}}% + {\usebibmacro{cite:shorthand}}} + +\renewbibmacro*{cite:title}{% + \printtext[extblx@inner\blx@delimcontext delim]{% + \printtext[bibhyperref]{% + \printfield[citetitle]{labeltitle}}}} + +\renewbibmacro*{textcite:postnote}{% + \iffieldundef{postnote} + {\ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}} + {}} + {\ifbool{cbx:parens} + {\postnotedelim} + {\extpostnotedelim + \csuse{extblx@citedelim@textcite@inner@open}}% + \printfield{postnote}% + \csuse{extblx@citedelim@textcite@inner@close}}} + + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand*{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citetitle}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand*{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citetitle}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\textcite}[\mkoutertextcitedelim] + {\boolfalse{cbx:parens}} + {\usebibmacro{citeindex}% + \iffirstcitekey + {\setcounter{textcitetotal}{1}} + {\stepcounter{textcitetotal}% + \textcitedelim}% + \usebibmacro{textcite}} + {\ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}} + {\usebibmacro{textcite:postnote}} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\multicitedelim} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite}{\multicitedelim} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\multicitedelim} +\DeclareMultiCiteCommand{\textcites}[\mkoutertextcitedelim]{\textcite}{} + +\DeclareFieldFormat{extblx@innerbbx:introcitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-common.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-common.bbx new file mode 100644 index 00000000000..13107d8bc2f --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-common.bbx @@ -0,0 +1,158 @@ +\ProvidesFile{ext-authoryear-common.bbx} + [2018/03/18 v0.1 common files for extended biblatex + authoryear bibliography styles (MW)] + +\RequireBibliographyStyle{ext-dashed-common} + +\DeclareFieldFormat{biblabeldate}{\mkbibparens{#1}} +\DeclareFieldFormat{biblistlabeldate}{\mkbibparens{#1}} + +% merge date/issue with date label +\def\bbx@opt@mergedate@maximum{% + \renewbibmacro*{date+extradate}{% + \iffieldundef{labelyear} + {} + {\printtext[\blx@delimcontext labeldate]{% + \iflabeldateisdate + {\printfield{issue}% + \setunit*{\addspace}% + \printdateextra} + {\printlabeldateextra}}}}% + \renewbibmacro*{date}{% + \iflabeldateisdate + {} + {\printdate}}% + \renewbibmacro*{issue+date}{% + \iflabeldateisdate + {} + {\printtext[issuedate]{% + \printfield{issue}% + \setunit*{\addspace}% + \printdate}}}} + +% merge date with date label +\def\bbx@opt@mergedate@compact{% + \renewbibmacro*{date+extradate}{% + \iffieldundef{labelyear} + {} + {\printtext[\blx@delimcontext labeldate]{% + \iflabeldateisdate + {\printdateextra} + {\printlabeldateextra}}}}% + \renewbibmacro*{date}{% + \iflabeldateisdate + {} + {\printdate}}% + \renewbibmacro*{issue+date}{% + \ifboolexpr{not test {\iffieldundef{issue}} + or not test {\iflabeldateisdate}} + {\printtext[issuedate]{% + \printfield{issue}% + \setunit*{\addspace}% + \iflabeldateisdate + {} + {\printdate}}} + {}% + \newunit}} + +% merge year-only date with date label +\def\bbx@opt@mergedate@basic{% + \renewbibmacro*{date+extradate}{% + \iffieldundef{labelyear} + {} + {\printtext[\blx@delimcontext labeldate]{\printlabeldateextra}}}% + \renewbibmacro*{date}{% + \ifboolexpr{ + test {\iflabeldateisdate} + and + not test {\ifdateshavedifferentprecision{label}{}} + } + {} + {\printdate}}% + \renewbibmacro*{issue+date}{% + \ifboolexpr{ + test {\iflabeldateisdate} + and + not test {\ifdateshavedifferentprecision{label}{}} + and + test {\iffieldundef{issue}} + } + {} + {\printtext[issuedate]{% + \printfield{issue}% + \setunit*{\addspace}% + \printdate}}% + \newunit}} + +% merge year-only date with year-only date label +\def\bbx@opt@mergedate@minimum{% + \renewbibmacro*{date+extradate}{% + \iffieldundef{labelyear} + {} + {\printtext[\blx@delimcontext labeldate]{\printlabeldateextra}}}% + \renewbibmacro*{date}{% + \ifboolexpr{ + test {\iflabeldateisdate} + and + not test {\ifdateshavedifferentprecision{label}{}} + and + test {\iffieldundef{extradate}} + } + {} + {\printdate}}% + \renewbibmacro*{issue+date}{% + \ifboolexpr{ + test {\iflabeldateisdate} + and + not test {\ifdateshavedifferentprecision{label}{}} + and + test {\iffieldundef{extradate}} + and + test {\iffieldundef{issue}} + } + {} + {\printtext[issuedate]{% + \printfield{issue}% + \setunit*{\addspace}% + \printdate}}% + \newunit}} + +% don't merge date/issue with date label +\def\bbx@opt@mergedate@false{% + \renewbibmacro*{date+extradate}{% + \iffieldundef{labelyear} + {} + {\printtext[\blx@delimcontext labeldate]{\printlabeldateextra}}}% + \renewbibmacro*{date}{\printdate}% + \renewbibmacro*{issue+date}{% + \printtext[issuedate]{% + \printfield{issue}% + \setunit*{\addspace}% + \usebibmacro{date}}% + \newunit}} + +\defbibenvironment{bibliography} + {\list + {\ifcsequal{extblx@introcite}{extblx@opt@introcite@label} + {\usebibmacro{introcite:typeset}} + {}} + {\ifcsequal{extblx@introcite}{extblx@opt@introcite@label} + {\setlength{\labelwidth}{\introcitewidth}% + \setlength{\leftmargin}{\labelwidth} + \renewcommand*{\makelabel}[1]{##1\hss}} + {\setlength{\leftmargin}{\bibhang}% + \setlength{\itemindent}{-\leftmargin}}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}} + {\endlist} + {\item + \ifcsequal{extblx@introcite}{extblx@opt@introcite@label} + {\usebibmacro{introcite:break}} + {}} + +% We need to execute some options that were already executed +% by the standard styles again, because we changed the +% underlying definitions. +\ExecuteBibliographyOptions{mergedate=compact, dashed=true}% + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.bbx new file mode 100644 index 00000000000..a4fa40fdc79 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authoryear-comp.bbx} + [2018/03/18 v0.1 extended biblatex authoryear-comp + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authoryear-comp} +\RequireBibliographyStyle{ext-authoryear-common} + +\endinput 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 new file mode 100644 index 00000000000..0b909a413d7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx @@ -0,0 +1,230 @@ +\ProvidesFile{ext-authoryear-comp.cbx} + [2018/03/18 v0.1 extended biblatex authoryear-comp + citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{authoryear-comp} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} + +\DeclareFieldFormat{citelabeldate}{#1} +\DeclareFieldFormat{parencitelabeldate}{#1} +\DeclareFieldFormat{textcitelabeldate}{#1} +\DeclareFieldFormat{footcitelabeldate}{#1} + +\newcommand*{\extradateonlycompcitedelim}{\addcomma} + +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\ifboolexpr{test {\ifnameundef{labelname}} or test {\iffieldundef{labelyear}}} + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \usebibmacro{cite:labeldate+extradate}% + \usebibmacro{cite:reinit}} + {\iffieldequals{namehash}{\cbx@lasthash} + {\ifboolexpr{test {\iffieldequals{labelyear}{\cbx@lastyear}} + and (test {\ifnumequal{\value{multicitecount}}{0}} + or test {\iffieldundef{postnote}})} + {\setunit{\extradateonlycompcitedelim}% + \usebibmacro{cite:extradate}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{labelyear}{\cbx@lastyear}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{namehash}{\cbx@lasthash}% + \savefield{labelyear}{\cbx@lastyear}}}} + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \multicitedelim}} + +\renewbibmacro*{cite:labeldate+extradate}{% + \iffieldundef{labelyear} + {} + {\printtext[bibhyperref]{% + \printtext[\blx@delimcontext labeldate]{% + \printlabeldateextra}}}} + +\renewbibmacro*{cite:extradate}{% + \iffieldundef{extradate} + {} + {\printtext[bibhyperref]{% + \printtext[\blx@delimcontext labeldate]{% + \printfield{extradate}}}}} + +\newbibmacro*{cite:postnote}{% + \setunit{}% + \printtext{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}}% + \usebibmacro{postnote}} + +\renewbibmacro*{textcite}{% + \iffieldequals{namehash}{\cbx@lasthash} + {\iffieldundef{shorthand} + {\ifboolexpr{test {\iffieldequals{labelyear}{\cbx@lastyear}} + and (test {\ifnumequal{\value{multicitecount}}{0}} + or test {\iffieldundef{postnote}})} + {\setunit{\extradateonlycompcitedelim}% + \usebibmacro{cite:extradate}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{labelyear}{\cbx@lastyear}}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}} + {\ifnameundef{labelname} + {\iffieldundef{shorthand} + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{cite:labeldate+extradate}} + {\usebibmacro{cite:shorthand}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\iffieldundef{labelyear} + {\usebibmacro{cite:label}} + {\usebibmacro{cite:labeldate+extradate}}% + \savefield{labelyear}{\cbx@lastyear}} + {\usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@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@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}}} + {\setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}}} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\cite}[\mkoutercitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citeyear}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\parencite}[\mkouterparencitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citeyear}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\footcite}[\mkbibfootnote] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\cbx@textcite}[\mkoutertextcitedelim] + {\usebibmacro{cite:init}} + {\usebibmacro{citeindex}% + \usebibmacro{textcite}} + {} + {\usebibmacro{textcite:postnote}} + +\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim]{\cbx@textcite}{} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\setunit{\multicitedelim}} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite} + {\setunit{\multicitedelim}} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\setunit{\multicitedelim}} + +\DeclareCiteCommand{\bbx@cite@inxref}[\mkouterbibinxrefcitedelim] + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \boolfalse{backtracker}% + \usebibmacro{cite:init}} + {\usebibmacro{bbx:cite:inxref}} + {} + {\usebibmacro{cite:postnote}} + +\renewbibmacro*{bbx:cite:intro}{% + \usebibmacro{cite}% + \clearfield{postnote}% + \usebibmacro{cite:postnote}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.bbx new file mode 100644 index 00000000000..be1fa7159a6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authoryear-ibid.bbx} + [2018/03/18 v0.1 extended biblatex authoryear-ibid + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authoryear-ibid} +\RequireBibliographyStyle{ext-authoryear-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.cbx new file mode 100644 index 00000000000..2afa6d0f823 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.cbx @@ -0,0 +1,135 @@ +\ProvidesFile{ext-authoryear-ibid.cbx} + [2018/03/18 v0.1 extended biblatex authoryear-ibid + citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{authoryear-ibid} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} + +\DeclareFieldFormat{extblx@innercitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} +\DeclareFieldFormat{extblx@innerparencitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} +\DeclareFieldFormat{extblx@innertextcitedelim}{#1} +\DeclareFieldFormat{extblx@innerfootcitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} + +\DeclareFieldFormat{citelabeldate}{#1} +\DeclareFieldFormat{parencitelabeldate}{#1} +\DeclareFieldFormat{textcitelabeldate}{#1} +\DeclareFieldFormat{footcitelabeldate}{#1} + +\renewbibmacro*{cite:labeldate+extradate}{% + \iffieldundef{labelyear} + {} + {\printtext[extblx@inner\blx@delimcontext delim]{% + \printtext[bibhyperref]{% + \printtext[\blx@delimcontext labeldate]{% + \printlabeldateextra}}}}} + +\renewbibmacro*{textcite}{% + \global\boolfalse{cbx:loccit}% + \ifnameundef{labelname} + {\iffieldundef{shorthand} + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{cite:labeldate+extradate}} + {\usebibmacro{cite:shorthand}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\iffieldundef{labelyear} + {\usebibmacro{cite:label}} + {\usebibmacro{cite:labeldate+extradate}}}} + {\usebibmacro{cite:shorthand}}}} + +\renewbibmacro*{textcite:postnote}{% + \ifthenelse{\iffieldundef{postnote}\OR\boolean{cbx:loccit}} + {\ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}} + {}} + {\ifbool{cbx:parens} + {\postnotedelim} + {\extpostnotedelim + \csuse{extblx@citedelim@textcite@inner@open}}% + \printfield{postnote}% + \csuse{extblx@citedelim@textcite@inner@close}}} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citeyear}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citeyear}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\textcite}[\mkoutertextcitedelim] + {\boolfalse{cbx:parens}} + {\usebibmacro{citeindex}% + \iffirstcitekey + {\setcounter{textcitetotal}{1}} + {\stepcounter{textcitetotal}% + \textcitedelim}% + \usebibmacro{textcite}} + {\ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}} + {\usebibmacro{textcite:postnote}} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\multicitedelim} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite}{\multicitedelim} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\multicitedelim} +\DeclareMultiCiteCommand{\textcites}[\mkoutertextcitedelim]{\textcite}{} + +\DeclareFieldFormat{bbx:introcitelabeldate}{#1} +\DeclareFieldFormat{extblx@innerbbx:introcitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.bbx new file mode 100644 index 00000000000..c536ec08002 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authoryear-icomp.bbx} + [2018/03/18 v0.1 extended biblatex authoryear-icomp + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authoryear-icomp} +\RequireBibliographyStyle{ext-authoryear-common} + +\endinput 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 new file mode 100644 index 00000000000..3c35e97952b --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.cbx @@ -0,0 +1,225 @@ +\ProvidesFile{ext-authoryear-icomp.cbx} + [2018/03/18 v0.1 extended biblatex authoryear-icomp + citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{authoryear-icomp} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} + +\DeclareFieldFormat{citelabeldate}{#1} +\DeclareFieldFormat{parencitelabeldate}{#1} +\DeclareFieldFormat{textcitelabeldate}{#1} +\DeclareFieldFormat{footcitelabeldate}{#1} + +\newcommand*{\extradateonlycompcitedelim}{\addcomma} + +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\ifboolexpr{test {\ifnameundef{labelname}} or test {\iffieldundef{labelyear}}} + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \usebibmacro{cite:labeldate+extradate}% + \usebibmacro{cite:reinit}} + {\iffieldequals{namehash}{\cbx@lasthash} + {\ifboolexpr{test {\iffieldequals{labelyear}{\cbx@lastyear}} + and (test {\ifnumequal{\value{multicitecount}}{0}} + or test {\iffieldundef{postnote}})} + {\setunit{\extradateonlycompcitedelim}% + \usebibmacro{cite:extradate}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{labelyear}{\cbx@lastyear}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{namehash}{\cbx@lasthash}% + \savefield{labelyear}{\cbx@lastyear}}}}} + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \multicitedelim}} + +\renewbibmacro*{cite:labeldate+extradate}{% + \iffieldundef{labelyear} + {} + {\printtext[bibhyperref]{% + \printtext[\blx@delimcontext labeldate]{% + \printlabeldateextra}}}} + +\renewbibmacro*{cite:extradate}{% + \iffieldundef{extradate} + {} + {\printtext[bibhyperref]{% + \printtext[\blx@delimcontext labeldate]{% + \printfield{extradate}}}}} + +\renewbibmacro*{cite:postnote}{% + \setunit{}% + \printtext{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}}% + \ifbool{cbx:loccit} + {} + {\usebibmacro{postnote}}} + +\renewbibmacro*{textcite}{% + \iffieldequals{namehash}{\cbx@lasthash} + {\iffieldundef{shorthand} + {\ifboolexpr{test {\iffieldequals{labelyear}{\cbx@lastyear}} + and (test {\ifnumequal{\value{multicitecount}}{0}} + or test {\iffieldundef{postnote}})} + {\setunit{\extradateonlycompcitedelim}% + \usebibmacro{cite:extradate}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{labelyear}{\cbx@lastyear}}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}} + {\ifnameundef{labelname} + {\iffieldundef{shorthand} + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\usebibmacro{cite:labeldate+extradate}}} + {\usebibmacro{cite:shorthand}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\iffieldundef{labelyear} + {\usebibmacro{cite:label}} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\usebibmacro{cite:labeldate+extradate}}}% + \savefield{labelyear}{\cbx@lastyear}} + {\usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}} + +\renewbibmacro*{textcite:postnote}{% + \ifbool{cbx:loccit} + {} + {\usebibmacro{postnote}}% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}} + {\setunit{}% + \printtext{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}}} + {\setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}}} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\cite}[\mkoutercitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citeyear}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\parencite}[\mkouterparencitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citeyear}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\cbx@textcite}[\mkoutertextcitedelim] + {\usebibmacro{cite:init}} + {\usebibmacro{citeindex}% + \usebibmacro{textcite}} + {} + {\usebibmacro{textcite:postnote}} + + +\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim]{\cbx@textcite}{} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\setunit{\multicitedelim}} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim] + {\parencite}{\setunit{\multicitedelim}} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\setunit{\multicitedelim}} + +\DeclareCiteCommand{\bbx@cite@inxref}[\mkouterbibinxrefcitedelim] + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \boolfalse{backtracker}% + \usebibmacro{cite:init}} + {\usebibmacro{bbx:cite:inxref}} + {} + {\usebibmacro{cite:postnote}} + +\renewbibmacro*{bbx:cite:intro}{% + \usebibmacro{cite}% + \clearfield{postnote}% + \usebibmacro{cite:postnote}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.bbx new file mode 100644 index 00000000000..a53e81c8e3d --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authoryear-tcomp.bbx} + [2018/03/18 v0.1 extended biblatex authoryear-tcomp + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authoryear-comp} +\RequireBibliographyStyle{ext-authoryear-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.cbx new file mode 100644 index 00000000000..a1070eb3d55 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.cbx @@ -0,0 +1,124 @@ +\ProvidesFile{ext-authoryear-tcomp.cbx} + [2018/03/18 v0.1 extended biblatex authoryear-tcomp + citation style (MW)] + +\RequireCitationStyle{ext-authoryear-comp} +\ExecuteBibliographyOptions{singletitle,uniquename,uniquelist,autocite=inline} + +\renewcommand*{\iffinalcitedelim}{% + \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}} + +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\ifboolexpr{test {\ifnameundef{labelname}} or test {\iffieldundef{labelyear}}} + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \usebibmacro{cite:labeldate+extradate}% + \usebibmacro{cite:reinit}} + {\iffieldequals{namehash}{\cbx@lasthash} + {\ifboolexpr{test {\iffieldequals{labelyear}{\cbx@lastyear}} + and (test {\ifnumequal{\value{multicitecount}}{0}} + or test {\iffieldundef{postnote}})} + {\setunit{\extradateonlycompcitedelim}% + \usebibmacro{cite:extradate}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{labelyear}{\cbx@lastyear}}} + {\ifsingletitle + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{namehash}{\cbx@lasthash}% + \savefield{labelyear}{\cbx@lastyear}}}}} + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \multicitedelim}} + +\renewbibmacro*{textcite}{% + \iffieldequals{namehash}{\cbx@lasthash} + {\iffieldundef{shorthand} + {\ifboolexpr{test {\iffieldequals{labelyear}{\cbx@lastyear}} + and (test {\ifnumequal{\value{multicitecount}}{0}} + or test {\iffieldundef{postnote}})} + {\setunit{\extradateonlycompcitedelim}% + \usebibmacro{cite:extradate}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{labelyear}{\cbx@lastyear}}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}} + {\ifnameundef{labelname} + {\iffieldundef{shorthand} + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{cite:labeldate+extradate}} + {\usebibmacro{cite:shorthand}}} + {\ifthenelse{\ifsingletitle\AND + \(\iffieldundef{prenote}\OR\value{citecount}>1\)} + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\iffieldundef{labelyear} + {\usebibmacro{cite:label}} + {\usebibmacro{cite:labeldate+extradate}}% + \savefield{labelyear}{\cbx@lastyear}} + {\usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}}}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}} + +\renewbibmacro*{textcite:postnote}{% + \ifbool{cbx:parens} + {\setunit{\postnotedelim}} + {\setunit{% + \global\booltrue{cbx:parens}% + \extpostnotedelim + \csuse{extblx@citedelim@textcite@inner@open}}}% + \printfield{postnote}% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}} + {\setunit{}% + \printtext{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}}} + {\setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.bbx new file mode 100644 index 00000000000..350845537e2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authoryear-terse.bbx} + [2018/03/18 v0.1 extended biblatex authoryear-terse + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authoryear} +\RequireBibliographyStyle{ext-authoryear-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.cbx new file mode 100644 index 00000000000..e450938a7b5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.cbx @@ -0,0 +1,47 @@ +\ProvidesFile{ext-authoryear-terse.cbx} + [2018/03/18 v0.1 extended biblatex authoryear-terse + citation style (MW)] + +\RequireCitationStyle{ext-authoryear} +\ExecuteBibliographyOptions{singletitle,uniquename,uniquelist,autocite=inline} + +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}} + {\usebibmacro{cite:label}% + \setunit{\printdelim{nonameyeardelim}}} + {\ifsingletitle + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{\printdelim{nameyeardelim}}% + \usebibmacro{cite:labeldate+extradate}}}}% + {\usebibmacro{cite:shorthand}}} + +\renewbibmacro*{textcite}{% + \ifnameundef{labelname} + {\iffieldundef{shorthand} + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{cite:labeldate+extradate}} + {\usebibmacro{cite:shorthand}}} + {\ifthenelse{\ifsingletitle\AND + \(\iffieldundef{prenote}\OR\value{citecount}>1\)} + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{citeyear}}}} + +\endinput + diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.bbx new file mode 100644 index 00000000000..e698737b756 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-authoryear-ticomp.bbx} + [2018/03/18 v0.1 extended biblatex authoryear-ticomp + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authoryear-icomp} +\RequireBibliographyStyle{ext-authoryear-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.cbx new file mode 100644 index 00000000000..fb8f51b3f34 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.cbx @@ -0,0 +1,131 @@ +\ProvidesFile{ext-authoryear-ticomp.cbx} + [2018/03/18 v0.1 extended biblatex authoryear-ticomp citation style (MW)] + +\RequireCitationStyle{ext-authoryear-icomp} +\ExecuteBibliographyOptions{singletitle,uniquename,uniquelist,autocite=inline} + +\renewcommand*{\iffinalcitedelim}{% + \ifnumequal{\value{textcitecount}}{\value{textcitetotal}-1}} + +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\ifboolexpr{test {\ifnameundef{labelname}} or test {\iffieldundef{labelyear}}} + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \usebibmacro{cite:labeldate+extradate}% + \usebibmacro{cite:reinit}} + {\iffieldequals{namehash}{\cbx@lasthash} + {\ifboolexpr{test {\iffieldequals{labelyear}{\cbx@lastyear}} + and (test {\ifnumequal{\value{multicitecount}}{0}} + or test {\iffieldundef{postnote}})} + {\setunit{\extradateonlycompcitedelim}% + \usebibmacro{cite:extradate}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{labelyear}{\cbx@lastyear}}} + {\ifsingletitle + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}% + \csuse{extblx@citedelim@\blx@delimcontext @inner@open}}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{namehash}{\cbx@lasthash}% + \savefield{labelyear}{\cbx@lastyear}}}}}} + {\usebibmacro{cite:shorthand}% + \usebibmacro{cite:reinit}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@\blx@delimcontext @inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \multicitedelim}} + +\renewbibmacro*{textcite}{% + \iffieldequals{namehash}{\cbx@lasthash} + {\iffieldundef{shorthand} + {\ifboolexpr{test {\iffieldequals{labelyear}{\cbx@lastyear}} + and (test {\ifnumequal{\value{multicitecount}}{0}} + or test {\iffieldundef{postnote}})} + {\setunit{\extradateonlycompcitedelim}% + \usebibmacro{cite:extradate}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:labeldate+extradate}% + \savefield{labelyear}{\cbx@lastyear}}} + {\setunit{\compcitedelim}% + \usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}} + {\ifnameundef{labelname} + {\iffieldundef{shorthand} + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\usebibmacro{cite:labeldate+extradate}}} + {\usebibmacro{cite:shorthand}}} + {\ifthenelse{\ifsingletitle\AND + \(\iffieldundef{prenote}\OR\value{citecount}>1\)} + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \iffieldundef{shorthand} + {\iffieldundef{labelyear} + {\usebibmacro{cite:label}} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\usebibmacro{cite:labeldate+extradate}}}% + \savefield{labelyear}{\cbx@lastyear}} + {\usebibmacro{cite:shorthand}% + \global\undef\cbx@lastyear}}% + \stepcounter{textcitecount}}% + \savefield{namehash}{\cbx@lasthash}}% + \setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}} + +\renewbibmacro*{textcite:postnote}{% + \ifbool{cbx:parens} + {\setunit{\postnotedelim}} + {\setunit{% + \global\booltrue{cbx:parens}% + \extpostnotedelim + \csuse{extblx@citedelim@textcite@inner@open}}}% + \ifbool{cbx:loccit} + {} + {\printfield{postnote}}% + \ifnumequal{\value{multicitecount}}{\value{multicitetotal}} + {\setunit{}% + \printtext{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}}} + {\setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.bbx new file mode 100644 index 00000000000..e61d25b2909 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.bbx @@ -0,0 +1,8 @@ +\ProvidesFile{ext-authoryear.bbx} + [2018/03/18 v0.1 extended biblatex authoryear bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{authoryear} +\RequireBibliographyStyle{ext-authoryear-common} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.cbx new file mode 100644 index 00000000000..520179ffaa3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.cbx @@ -0,0 +1,127 @@ +\ProvidesFile{ext-authoryear.cbx} + [2018/03/18 v0.1 extended biblatex authoryear citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{authoryear} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} + +\DeclareFieldFormat{extblx@innercitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} +\DeclareFieldFormat{extblx@innerparencitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} +\DeclareFieldFormat{extblx@innertextcitedelim}{#1} +\DeclareFieldFormat{extblx@innerfootcitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} + +\DeclareFieldFormat{citelabeldate}{#1} +\DeclareFieldFormat{parencitelabeldate}{#1} +\DeclareFieldFormat{textcitelabeldate}{#1} +\DeclareFieldFormat{footcitelabeldate}{#1} + +\renewbibmacro*{cite:labeldate+extradate}{% + \iffieldundef{labelyear} + {} + {\printtext[extblx@inner\blx@delimcontext delim]{% + \printtext[bibhyperref]{% + \printtext[\blx@delimcontext labeldate]{% + \printlabeldateextra}}}}} + +\renewbibmacro*{textcite}{% + \ifnameundef{labelname} + {\iffieldundef{shorthand} + {\usebibmacro{cite:label}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nonameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{cite:labeldate+extradate}} + {\usebibmacro{cite:shorthand}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \printdelim{nameyeardelim}% + \csuse{extblx@citedelim@textcite@inner@open}}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{citeyear}}} + +\renewbibmacro*{textcite:postnote}{% + \iffieldundef{postnote} + {\ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}} + {}} + {\ifbool{cbx:parens} + {\setunit{\postnotedelim}} + {\setunit{\extpostnotedelim + \csuse{extblx@citedelim@textcite@inner@open}}}% + \printfield{postnote}\csuse{extblx@citedelim@textcite@inner@close}}} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand*{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citeyear}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand*{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{citeyear}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + + +\DeclareCiteCommand{\textcite}[\mkoutertextcitedelim] + {\boolfalse{cbx:parens}} + {\usebibmacro{citeindex}% + \iffirstcitekey + {\setcounter{textcitetotal}{1}} + {\stepcounter{textcitetotal}% + \textcitedelim}% + \usebibmacro{textcite}} + {\ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}} + {\usebibmacro{textcite:postnote}} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\multicitedelim} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite}{\multicitedelim} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\multicitedelim} +\DeclareMultiCiteCommand{\textcites}[\mkoutertextcitedelim]{\textcite}{} + +\DeclareFieldFormat{bbx:introcitelabeldate}{#1} +\DeclareFieldFormat{extblx@innerbbx:introcitedelim}{% + \csuse{mkpairedinner\blx@delimcontext delim}{#1}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-biblatex-aux.def b/Master/texmf-dist/tex/latex/biblatex-ext/ext-biblatex-aux.def new file mode 100644 index 00000000000..d7c970daa43 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-biblatex-aux.def @@ -0,0 +1,76 @@ +\ProvidesFile{ext-biblatex-aux.def} + [2018/03/18 v0.1 auxiliaries for extended biblatex citation style (MW)] + +\def\extblx@requiredbiblatexversion{3.11} +\def\extblx@requiredbiblatexdate{2018/02/20} + +\@ifpackagelater{biblatex}{\extblx@requiredbiblatexdate} + {} + {\PackageWarningNoLine{extbiblatex} + {Outdated version of biblatex detected.\MessageBreak + Upgrade to biblatex \extblx@requiredbiblatexversion\space + (\extblx@requiredbiblatexdate) or later.\MessageBreak + I found '\csuse{abx@version} (\csuse{abx@date})'}} + +%{<context>}{<opening delim>}{<closing delim>} +\newcommand*{\DeclareOuterCiteDelim}{% + \extblx@declareciteddelim{outer}} +\newrobustcmd*{\DeclareInnerCiteDelim}{% + \extblx@declareciteddelim{inner}} + +%{<inner/outer>}{<cite context>}{<opening delim>}{<closing delim>} +\def\extblx@declareciteddelim#1#2#3#4{% + \csdef{extblx@citedelim@#2@#1@open}{#3}% + \csdef{extblx@citedelim@#2@#1@close}{#4}} + +%{<context>} +\newcommand*{\UndeclareOuterCiteDelim}{% + \extblx@undeclareciteddelim{outer}} +\newrobustcmd*{\UndeclareInnerCiteDelim}{% + \extblx@undeclareciteddelim{inner}} + +%{<inner/outer>}{<cite context>} +\def\extblx@undeclareciteddelim#1#2{% + \csundef{extblx@citedelim@#2@#1@open}% + \csundef{extblx@citedelim@#2@#1@close}} + +%{<alias>}{<cite context>} +\newcommand*{\DeclareOuterCiteDelimAlias}{% + \@ifstar + {\extblx@declareciteddelim@alias@i{outer}} + {\extblx@declareciteddelim@alias{outer}}} +\newcommand*{\DeclareInnerCiteDelimAlias}{% + \@ifstar + {\extblx@declareciteddelim@alias@i{inner}} + {\extblx@declareciteddelim@alias{inner}}} + +%{<inner/outer>}{<alias>}{<cite context>} +\def\extblx@declareciteddelim@alias#1#2#3{% + \csdef{extblx@citedelim@#2@#1@open}{\csuse{extblx@citedelim@#3@#1@open}}% + \csdef{extblx@citedelim@#2@#1@close}{\csuse{extblx@citedelim@#3@#1@close}}} +\def\extblx@declareciteddelim@alias@i#1#2#3{% + \csletcs{extblx@citedelim@#2@#1@open}{extblx@citedelim@#3@#1@open}% + \csletcs{extblx@citedelim@#2@#1@close}{extblx@citedelim@#3@#1@close}} + +% declare \mkpaired...delim commands +\newrobustcmd*{\extblx@create@mkcitedelim}[2]{% + \protected\csdef{mk#1#2delim}##1{% + \begingroup + \blx@blxinit + \blx@setsfcodes + \csuse{extblx@citedelim@#2@#1@open}% + ##1% + \csuse{extblx@citedelim@#2@#1@close}% + \endgroup}} + +\extblx@create@mkcitedelim{outer}{cite} +\extblx@create@mkcitedelim{outer}{parencite} +\extblx@create@mkcitedelim{outer}{textcite} +\extblx@create@mkcitedelim{outer}{bibinxrefcite} + +\extblx@create@mkcitedelim{inner}{cite} +\extblx@create@mkcitedelim{inner}{parencite} +\extblx@create@mkcitedelim{inner}{textcite} +\extblx@create@mkcitedelim{inner}{footcite} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-dashed-common.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-dashed-common.bbx new file mode 100644 index 00000000000..9cc19172a35 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-dashed-common.bbx @@ -0,0 +1,73 @@ +\ProvidesFile{ext-dashed-common.bbx} + [2018/03/18 v0.1 common files for extended biblatex + dashed bibliography styles (MW)] + +% \DeclareBibliographyOption checks if an option is already defined. +% if we want to overwrite the definition we need to trick it into +% thinking the option has not been defined yet. +\csundef{KV@blx@opt@pre@dashed} +% We want to define 'dashed' with a new type, so we need to make biblatex +% forget about the old type when it passes the options over to Biber. +\ifundef\listcsremove + {\PackageWarningNoLine{biblatex-ext}{% + 'etoolbox' does not provide '\string\listcsremove'.\MessageBreak + Please update 'etoolbox' to v2.4 (2017-01-02)\MessageBreak or later}} + {\listcsremove{blx@globalopts@boolean}{dashed}} + +\DeclareBibliographyOption[string]{dashed}[true]{% + \ifcsdef{extblx@opt@dashed@#1} + {\csuse{extblx@opt@dashed@#1}} + {\PackageWarningNoLine{biblatex-ext}{% + Invalid value '#1' for option 'dashed'.\MessageBreak + Possible values are 'fullhash', 'true',\MessageBreak + 'bibnamehash', 'false'.\MessageBreak + Falling back to 'dashed=false'}% + \csuse{extblx@opt@dashed@false}}} + +\csdef{extblx@opt@dashed@fullhash}{% + \ExecuteBibliographyOptions{pagetracker}% + \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}% + \renewbibmacro*{bbx:dashcheck}[2]{% + \ifboolexpr{ + test {\iffieldequals{fullhash}{\bbx@lasthash}} + and + not test \iffirstonpage + and + ( + not bool {bbx@inset} + or + test {\iffieldequalstr{entrysetcount}{1}} + ) + } + {##1} + {##2}}} +\csletcs{extblx@opt@dashed@true}{extblx@opt@dashed@fullhash} + +\csdef{extblx@opt@dashed@bibnamehash}{% + \ExecuteBibliographyOptions{pagetracker}% + \renewbibmacro*{bbx:savehash}{\savefield{bibnamehash}{\bbx@lasthash}}% + \renewbibmacro*{bbx:dashcheck}[2]{% + \ifboolexpr{ + test {\iffieldequals{bibnamehash}{\bbx@lasthash}} + and + not test \iffirstonpage + and + ( + not bool {bbx@inset} + or + test {\iffieldequalstr{entrysetcount}{1}} + ) + } + {##1} + {##2}}} + +\csdef{extblx@opt@dashed@false}{% + \renewbibmacro*{bbx:savehash}{}% + \renewbibmacro*{bbx:dashcheck}[2]{##2}} + +% We need to execute the option that were already executed +% by the standard styles again, because we changed the +% underlying definitions. +\ExecuteBibliographyOptions{dashed=true}% + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.bbx new file mode 100644 index 00000000000..f6d5b31bcc3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.bbx @@ -0,0 +1,8 @@ +\ProvidesFile{ext-numeric-comp.bbx} + [2018/03/18 v0.1 extended biblatex numeric-comp + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{numeric-comp} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.cbx new file mode 100644 index 00000000000..131ae73da83 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.cbx @@ -0,0 +1,115 @@ +\ProvidesFile{ext-numeric-comp.cbx} + [2018/03/18 v0.1 extended biblatex numeric-comp citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{numeric-comp} + +\DeclareOuterCiteDelim{cite}{\bibopenbracket}{\bibclosebracket} +\DeclareOuterCiteDelimAlias{parencite}{cite} +\DeclareOuterCiteDelim{textcite}{}{} + +\DeclareInnerCiteDelim{textcite}{\bibopenbracket}{\bibclosebracket} + +\renewbibmacro*{textcite}{% + \iffieldequals{namehash}{\cbx@lasthash} + {\usebibmacro{cite:comp}} + {\usebibmacro{cite:dump}% + \ifbool{cbx:parens} + {\printtext{\csuse{extblx@citedelim@textcite@inner@close}}% + \global\boolfalse{cbx:parens}} + {}% + \iffirstcitekey + {} + {\textcitedelim}% + \usebibmacro{cite:init}% + \ifnameundef{labelname} + {\printfield[citetitle]{labeltitle}} + {\printnames{labelname}}% + \setunit*{\printdelim{namelabeldelim}}% + \printtext{\csuse{extblx@citedelim@textcite@inner@open}}% + \global\booltrue{cbx:parens}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{cite:comp}% + \stepcounter{textcitecount}% + \savefield{namehash}{\cbx@lasthash}}} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}} + {} + {\usebibmacro{cite:dump}% + \usebibmacro{postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}} + {} + {\usebibmacro{cite:dump}% + \usebibmacro{postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}} + {} + {\usebibmacro{cite:dump}% + \usebibmacro{postnote}} + +\DeclareCiteCommand{\supercite}[\mkbibsuperscript] + {\usebibmacro{cite:init}% + \let\multicitedelim=\supercitedelim + \iffieldundef{prenote} + {} + {\BibliographyWarning{Ignoring prenote argument}}% + \iffieldundef{postnote} + {} + {\BibliographyWarning{Ignoring postnote argument}}} + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}} + {} + {\usebibmacro{cite:dump}} + +\DeclareCiteCommand{\cbx@textcite}[\mkoutertextcitedelim] + {\usebibmacro{cite:init}} + {\usebibmacro{citeindex}% + \usebibmacro{textcite}} + {} + {\usebibmacro{cite:dump}% + \usebibmacro{postnote}% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}} + +\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim]{\cbx@textcite}{} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\multicitedelim} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite}{\multicitedelim} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\multicitedelim} + +\DeclareCiteCommand{\bbx@cite@inxref}[\mkouterbibinxrefcitedelim] + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \boolfalse{backtracker}% + \usebibmacro{cite:init}} + {\usebibmacro{cite:comp}} + {\usebibmacro{cite:dump}} + {} + +\renewbibmacro*{bbx:cite:intro}{% + \printfield{labelprefix}% + \printfield{labelnumber}% + \ifbool{bbx:subentry} + {\printfield{entrysetcount}} + {}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.bbx new file mode 100644 index 00000000000..328abc7bb35 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.bbx @@ -0,0 +1,8 @@ +\ProvidesFile{ext-numeric-verb.bbx} + [2018/03/18 v0.1 extended biblatex numeric-verb + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{numeric-verb} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.cbx new file mode 100644 index 00000000000..e50f4a44794 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.cbx @@ -0,0 +1,68 @@ +\ProvidesFile{ext-numeric-verb.cbx} + [2018/03/18 v0.1 extended biblatex numeric-verb citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{numeric-verb} + +\DeclareOuterCiteDelim{cite}{\bibopenbracket}{\bibclosebracket} +\DeclareOuterCiteDelimAlias{parencite}{cite} +\DeclareOuterCiteDelim{textcite}{}{} + +\DeclareInnerCiteDelim{textcite}{\bibopenbracket}{\bibclosebracket} + +\renewbibmacro*{textcite}{% + \ifnameundef{labelname} + {\printfield[citetitle]{labeltitle}} + {\printnames{labelname}}% + \printdelim{namelabeldelim}\csuse{extblx@citedelim@\blx@delimcontext @inner@open}% + \ifnumequal{\value{citecount}}{1} + {\usebibmacro{prenote}} + {}% + \usebibmacro{cite}} + +\DeclareCiteCommand{\cite} + {\csuse{extblx@citedelim@cite@outer@open}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \ifnumgreater{\value{citecount}}{1} + {\csuse{extblx@citedelim@cite@outer@open}} + {}% + \usebibmacro{cite}} + {\csuse{extblx@citedelim@cite@outer@close}% + \multicitedelim} + {\usebibmacro{postnote}% + \csuse{extblx@citedelim@cite@outer@close}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\textcite}[\mkoutertextcitedelim] + {} + {\usebibmacro{citeindex}% + \iffirstcitekey + {\setcounter{textcitetotal}{1}} + {\stepcounter{textcitetotal}% + \textcitedelim}% + \usebibmacro{textcite}} + {\csuse{extblx@citedelim@textcite@inner@close}} + {\usebibmacro{postnote}% + \csuse{extblx@citedelim@textcite@inner@close}} + +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite}{\multicitedelim} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\multicitedelim} +\DeclareMultiCiteCommand{\textcites}[\mkoutertextcitedelim]{\textcite}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.bbx new file mode 100644 index 00000000000..b7207c45ec4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.bbx @@ -0,0 +1,7 @@ +\ProvidesFile{ext-numeric.bbx} + [2018/03/18 v0.1 extended biblatex numeric bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{numeric} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.cbx new file mode 100644 index 00000000000..4074467bedf --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.cbx @@ -0,0 +1,87 @@ +\ProvidesFile{ext-numeric.cbx} + [2018/03/18 v0.1 extended biblatex numeric citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{numeric} + +\DeclareOuterCiteDelim{cite}{\bibopenbracket}{\bibclosebracket} +\DeclareOuterCiteDelimAlias{parencite}{cite} +\DeclareOuterCiteDelim{textcite}{}{} + +\DeclareInnerCiteDelim{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@textcite@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@textcite@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@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}}} + {\setunit{% + \ifbool{cbx:parens} + {\csuse{extblx@citedelim@textcite@inner@close}% + \global\boolfalse{cbx:parens}} + {}% + \textcitedelim}}} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\cbx@textcite}[\mkoutertextcitedelim] + {\usebibmacro{textcite:init}} + {\usebibmacro{citeindex}% + \usebibmacro{textcite}} + {} + {\usebibmacro{textcite:postnote}} + +\DeclareMultiCiteCommand{\cbx@textcites}[\mkoutertextcitedelim]{\cbx@textcite}{} + +\DeclareMultiCiteCommand{\cites}[\mkoutercitedelim]{\cite}{\multicitedelim} +\DeclareMultiCiteCommand{\parencites}[\mkouterparencitedelim]{\parencite}{\multicitedelim} +\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\smartcite}{\multicitedelim} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx new file mode 100644 index 00000000000..187bf667329 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx @@ -0,0 +1,1065 @@ +\ProvidesFile{ext-standard.bbx} + [2018/03/18 v0.1 extended biblatex standard style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireBibliographyStyle{standard} + +\providecommand*{\mkibid}[1]{#1} + +\newtoggle{bbx:citeinxref} +\newtoggle{bbx:innamebeforetitle} +\newtoggle{bbx:innameidem} +\newtoggle{bbx:articlein} +\newtoggle{bbx:maintitleaftertitle} + +\DeclareBibliographyOption[boolean]{citeinxref}[true]{% + \settoggle{bbx:citeinxref}{#1}} +\DeclareBibliographyOption[boolean]{innamebeforetitle}[true]{% + \settoggle{bbx:innamebeforetitle}{#1}} +\DeclareBibliographyOption[boolean]{innameidem}[true]{% + \settoggle{bbx:innameidem}{#1}} +\DeclareBibliographyOption[boolean]{articlein}[true]{% + \settoggle{bbx:articlein}{#1}} +\DeclareBibliographyOption[boolean]{maintitleaftertitle}[true]{% + \settoggle{bbx:maintitleaftertitle}{#1}} +\DeclareBibliographyOption[string]{introcite}[label]{% + \ifcsdef{extblx@opt@introcite@#1} + {\letcs\extblx@introcite{extblx@opt@introcite@#1}} + {\PackageWarningNoLine{biblatex-ext}{% + Invalid value '#1' for option 'introcite'.\MessageBreak + Possible values are 'false', 'label', 'plain'.\MessageBreak + Falling back to 'introcite=false'}% + \letcs\extblx@introcite{extblx@opt@introcite@false}}} +\def\extblx@opt@introcite@false{0} +\def\extblx@opt@introcite@label{1} +\def\extblx@opt@introcite@plain{2} + +\ExecuteBibliographyOptions{% + citeinxref = false, + innamebeforetitle = false, + innameidem = false, + articlein = true, + maintitleaftertitle = false, + introcite = false, +% maxbibnames = 999, +} + +\DeclareTypeOption[boolean]{citeinxref}[true]{% + \settoggle{bbx:citeinxref}{#1}} +\DeclareTypeOption[boolean]{innamebeforetitle}[true]{% + \settoggle{bbx:innamebeforetitle}{#1}} +\DeclareTypeOption[boolean]{innameidem}[true]{% + \settoggle{bbx:innameidem}{#1}} +\DeclareTypeOption[boolean]{articlein}[true]{% + \settoggle{bbx:articlein}{#1}} +\DeclareTypeOption[boolean]{maintitleaftertitle}[true]{% + \settoggle{bbx:maintitleaftertitle}{#1}} + +\DeclareEntryOption[boolean]{citeinxref}[true]{% + \settoggle{bbx:citeinxref}{#1}} +\DeclareEntryOption[boolean]{innamebeforetitle}[true]{% + \settoggle{bbx:innamebeforetitle}{#1}} +\DeclareEntryOption[boolean]{innameidem}[true]{% + \settoggle{bbx:innameidem}{#1}} +\DeclareEntryOption[boolean]{articlein}[true]{% + \settoggle{bbx:articlein}{#1}} +\DeclareEntryOption[boolean]{maintitleaftertitle}[true]{% + \settoggle{bbx:maintitleaftertitle}{#1}} + + +\newbibmacro*{bbx:cite:intro}{\usebibmacro{cite}} + +\extblx@create@mkcitedelim{inner}{bbx:introcite} +\DeclareInnerCiteDelimAlias{bbx:introcite}{cite} +\DeclareFieldFormat{bbx:introcite}{#1} +\newcommand*{\introcitepunct}{\addcolon\space} +\newcommand*{\introcitebreak}{\newline} + +\newlength{\extbl@introcitewidth} +\newlength{\introcitewidth} +\setlength{\introcitewidth}{8\biblabelsep} +\newlength{\introcitesep} +\setlength{\introcitesep}{.5\biblabelsep} + +\newbibmacro{introcite:typeset}{% + \begingroup + \delimcontext{bbx:introcite}% + \DeclareFieldFormat{bibhyperref}{##1}% + \csuse{blx@hook@cite}% + \csuse{blx@hook@citekey}% + \undef\cbx@lasthash + \undef\cbx@lastyear + \citetrackerfalse\pagetrackerfalse\backtrackerfalse + \defcounter{maxnames}{\blx@maxcitenames}% + \printtext[bbx:introcite]{\usebibmacro{bbx:cite:intro}}% + \endgroup +} + +\newbibmacro{introcite:plain}{% + \ifcsequal{extblx@introcite}{extblx@opt@introcite@plain} + {\usebibmacro{introcite:typeset}% + \printunit*{\introcitepunct}} + {}} + +% This macro is used in \defbibenvironment +\newbibmacro*{introcite:break}{% + \settowidth{\extbl@introcitewidth}{\usebibmacro{introcite:typeset}}% + \ifdimgreater{\extbl@introcitewidth+\introcitesep}{\introcitewidth} + {\leavevmode\introcitebreak} + {}} + + +\newbibmacro*{bbx:cite:inxref}{\usebibmacro{cite}} + +\DeclareCiteCommand{\bbx@cite@inxref}[\mkouterbibinxrefcitedelim] + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \boolfalse{backtracker}} + {\usebibmacro{bbx:cite:inxref}} + {} + {} + +\DeclareDelimcontextAlias{bbx@cite@inxref}{cite} +\DeclareOuterCiteDelimAlias{bibinxrefcite}{cite} + +\newbibmacro*{crosscite}[1]{% + \iftoggle{bbx:citeinxref} + {\iffieldundef{crossref} + {\iffieldundef{xref} + {\usebibmacro{#1}} + {\printtext{\bbx@cite@inxref{\thefield{xref}}}}} + {\printtext{\bbx@cite@inxref{\thefield{crossref}}}}} + {\usebibmacro{#1}}} + +\DeclareDelimAlias{innametitledelim}{nametitledelim} +\DeclareDelimAlias*[bib,biblist]{innametitledelim}{nametitledelim} + +\DeclareBibliographyDriver{article}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{bytranslator+others}% + \newunit\newblock + \printfield{version}% + \newunit\newblock + \iftoggle{bbx:articlein}{\usebibmacro{in:}}{}% + \usebibmacro{journal+issuetitle}% + \newunit + \usebibmacro{byeditor+others}% + \newunit + \usebibmacro{note+pages}% + \newunit\newblock + \usebibmacro{issn}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{book}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{maintitle+title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \usebibmacro{edition}% + \newunit + \usebibmacro{barevolume+volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \usebibmacro{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \usebibmacro{isbn}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{inbook}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{crosscite}{inbook:parent}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \usebibmacro{isbn}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + % with default inheritance 'related' is not inherited, + % so the test is not actually necessary + \ifboolexpr{togl {bbx:related} and not test {\iffieldxref{related}}} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\newbibmacro*{inbook:parent}{% + \usebibmacro{bybookauthor}% + \setunit{\printdelim{innametitledelim}}\newblock + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \usebibmacro{edition}% + \newunit + \usebibmacro{barevolume+volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \usebibmacro{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}} + + +\DeclareBibliographyDriver{collection}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{editor+others}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{maintitle+title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \usebibmacro{edition}% + \newunit + \usebibmacro{barevolume+volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \usebibmacro{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \usebibmacro{isbn}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{crosscite}{incollection:parent}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \usebibmacro{isbn}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + % with default inheritance 'related' is not inherited, + % so the test is not actually necessary + \ifboolexpr{togl {bbx:related} and not test {\iffieldxref{related}}} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\newbibmacro*{incollection:parent}{% + \iftoggle{bbx:innamebeforetitle} + {\usebibmacro{in:editor+others}% + \setunit{\printdelim{innametitledelim}}\newblock} + {}% + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \usebibmacro{edition}% + \newunit + \usebibmacro{barevolume+volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \usebibmacro{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}} + + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{editor+others}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{maintitle+title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{event+venue+date}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \usebibmacro{edition}% + \newunit + \usebibmacro{barevolume+volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \usebibmacro{note}% + \newunit\newblock + \printlist{organization}% + \newunit + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \usebibmacro{isbn}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{crosscite}{inproceedings:parent}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \usebibmacro{isbn}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + % with default inheritance 'related' is not inherited, + % so the test is not actually necessary + \ifboolexpr{togl {bbx:related} and not test {\iffieldxref{related}}} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\newbibmacro*{inproceedings:parent}{% + \iftoggle{bbx:innamebeforetitle} + {\usebibmacro{in:editor+others}% + \setunit{\printdelim{innametitledelim}}\newblock} + {}% + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{event+venue+date}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \usebibmacro{edition}% + \newunit + \usebibmacro{barevolume+volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \usebibmacro{note}% + \newunit\newblock + \printlist{organization}% + \newunit + \usebibmacro{publisher+location+date}} + + +\DeclareBibliographyDriver{booklet}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{howpublished}% + \newunit\newblock + \printfield{type}% + \newunit\newblock + \usebibmacro{note}% + \newunit\newblock + \usebibmacro{location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{manual}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor}% + \newunit\newblock + \usebibmacro{edition}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \usebibmacro{note}% + \newunit\newblock + \printlist{organization}% + \newunit + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \usebibmacro{isbn}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{online}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{version}% + \newunit + \usebibmacro{note}% + \newunit\newblock + \printlist{organization+location+date}% + \newunit\newblock + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \newunit\newblock + \usebibmacro{url+urldate}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{misc}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{howpublished}% + \newunit\newblock + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \usebibmacro{note}% + \newunit\newblock + \usebibmacro{organization+location+date}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{type+number}% + \iflistundef{location} + {} + {\setunit*{\addspace}% + \printtext[parens]{% + \printlist[][-\value{listtotal}]{location}}}% + \newunit\newblock + \usebibmacro{byholder}% + \newunit\newblock + \usebibmacro{note}% + \newunit\newblock + \usebibmacro{date}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{editor}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title+issuetitle}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byeditor}% + \newunit\newblock + \usebibmacro{note}% + \newunit\newblock + \usebibmacro{issn}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{report}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{type+number}% + \newunit\newblock + \printfield{version}% + \newunit + \usebibmacro{note}% + \newunit\newblock + \usebibmacro{institution+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \usebibmacro{isrn}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{note}% + \newunit\newblock + \printfield{type}% + \newunit + \usebibmacro{institution+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \usebibmacro{isbn}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + +\DeclareBibliographyDriver{unpublished}{% + \usebibmacro{introcite:plain}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\printdelim{nametitledelim}}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \printfield{howpublished}% + \newunit\newblock + \usebibmacro{note}% + \newunit\newblock + \usebibmacro{location+date}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\DeclareFieldFormat{volumeof}{\bibstring{volume}~#1} +\newcommand*{\titlemaintitledelim}{\newunitpunct} +\newcommand*{\maintitletitledelim}{\addcolon\space} +\renewbibmacro*{maintitle+title}{% + \iftoggle{bbx:maintitleaftertitle} + {} + {\iffieldsequal{maintitle}{title} + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}} + {\iffieldundef{maintitle} + {} + {\usebibmacro{maintitle}% + \newunit\newblock + \iffieldundef{volume} + {} + {\printfield{volume}% + \printfield{part}% + \setunit{\maintitletitledelim}}}}}% + \usebibmacro{title}% + \iftoggle{bbx:maintitleaftertitle} + {\iffieldsequal{maintitle}{title} + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}} + {\iffieldundef{maintitle} + {} + {\setunit{\titlemaintitledelim}% + \iffieldundef{volume} + {} + {\printfield[volumeof]{volume}% + \printfield{part}% + \setunit{\addspace}% + \bibstring{ofseries}% + \setunit{\addspace}}% + \usebibmacro{maintitle}}}} + {}% + \newunit} + +\renewbibmacro*{maintitle+booktitle}{% + \iftoggle{bbx:maintitleaftertitle} + {} + {\iffieldundef{maintitle} + {} + {\usebibmacro{maintitle}% + \newunit\newblock + \iffieldundef{volume} + {} + {\printfield{volume}% + \printfield{part}% + \setunit{\maintitletitledelim}}}}% + \usebibmacro{booktitle}% + \iftoggle{bbx:maintitleaftertitle} + {\iffieldundef{maintitle} + {} + {\setunit{\titlemaintitledelim}% + \iffieldundef{volume} + {} + {\printfield[volumeof]{volume}% + \printfield{part}% + \setunit{\addspace}% + \bibstring{ofseries}% + \setunit{\addspace}}% + \usebibmacro{maintitle}}} + {}% + \newunit} + +\renewbibmacro*{bybookauthor}{% + \ifnamesequal{author}{bookauthor} + {\iftoggle{bbx:innameidem} + {\bibstring[\mkibid]{idem\thefield{gender}}} + {}} + {\printnames{bookauthor}}} + +\DeclareNameAlias{ineditor}{default} + +% we assume {author/translator+others} +\newcommand*{\bbx@ineditoridem}{% + \ifboolexpr{ + ((test \ifuseauthor and not test {\ifnameundef{author}}) + and test {\ifnamesequal{editor}{author}}) + or + ((test \ifusetranslator and not test {\ifnameundef{translator}}) + and test {\ifnamesequal{editor}{translator}}) + }} + +\newbibmacro*{bbx:in:editor}[1]{% + \ifboolexpr{ + test \ifuseeditor + and + not test {\ifnameundef{editor}} + } + {\ifboolexpr{togl {bbx:innameidem} and test {\bbx@ineditoridem}} + {\bibstring[\mkibid]{idem\thefield{gender}}} + {\printnames[ineditor]{editor}}% + \setunit{\printdelim{editortypedelim}}% + \usebibmacro{#1}% + \clearname{editor}} + {}} + +\newbibmacro*{in:editor}{% + \usebibmacro{bbx:in:editor}{editorstrg}} +\newbibmacro*{in:editor+others}{% + \usebibmacro{bbx:in:editor}{editor+othersstrg}} + + +\newbibmacro*{edition}{\printfield{edition}} + +\newcommand*{\volnumdatedelim}{\addspace} + +\renewbibmacro*{journal+issuetitle}{% + \usebibmacro{journal}% + \setunit*{\addspace}% + \iffieldundef{series} + {} + {\setunit*{\addcomma\space}% + \printfield{series}% + \setunit{\addspace}}% + \usebibmacro{volume+number+eid}% + \setunit{\volnumdatedelim}% + \usebibmacro{issue+date}% + \setunit{\addcolon\space}% + \usebibmacro{issue}% + \newunit} + +\newcommand*{\volnumdelim}{\adddot} + +\renewbibmacro*{volume+number+eid}{% + \printfield{volume}% + \setunit*{\volnumdelim}% + \printfield{number}% + \setunit{\addcomma\space}% + \printfield{eid}} + +\newbibmacro*{barevolume+volumes}{% + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}} + +\newcommand*{\sernumdelim}{\addspace} + +\renewbibmacro*{series+number}{% + \printfield{series}% + \setunit*{\sernumdelim}% + \printfield{number}% + \newunit} + +\newcommand*{\locdatedelim}{\addcomma\space} +\newcommand*{\locpubdelim}{\addcolon\space} +\newcommand*{\publocdelim}{\addcomma\space} +\newcommand*{\pubdatedelim}{\addcomma\space} + +\newbibmacro*{pubinstorg+location+date}[1]{% + \printlist{location}% + \iflistundef{#1} + {\setunit*{\locdatedelim}} + {\setunit*{\locpubdelim}}% + \printlist{#1}% + \setunit*{\pubdatedelim}% + \usebibmacro{date}% + \newunit} + +\renewbibmacro*{publisher+location+date}{% + \usebibmacro{pubinstorg+location+date}{publisher}} + +\renewbibmacro*{institution+location+date}{% + \usebibmacro{pubinstorg+location+date}{institution}} + +\renewbibmacro*{organization+location+date}{% + \usebibmacro{pubinstorg+location+date}{organization}} + +\renewbibmacro*{location+date}{% + \printlist{location}% + \setunit*{\locdatedelim}% + \usebibmacro{date}% + \newunit} + +\renewbibmacro*{doi+eprint+url}{% + \ifboolexpr{togl {bbx:doi} and not test {\iffieldxref{doi}}} + {\printfield{doi}} + {}% + \newunit\newblock + \ifboolexpr{togl {bbx:eprint} and not test {\iffieldxref{eprint}}} + {\usebibmacro{eprint}} + {}% + \newunit\newblock + \ifboolexpr{togl {bbx:url} and not test {\iffieldxref{url}}} + {\usebibmacro{url+urldate}} + {}} + +\newbibmacro*{isbn}{% + \ifboolexpr{togl {bbx:isbn} and not test {\iffieldxref{isbn}}} + {\printfield{isbn}} + {}} + +\newbibmacro*{issn}{% + \ifboolexpr{togl {bbx:isbn} and not test {\iffieldxref{issn}}} + {\printfield{issn}} + {}} + +\newbibmacro*{isrn}{% + \iftoggle{bbx:isbn} + {\printfield{issn}} + {}} + +\DeclareFieldFormat{issuedate}{\mkbibparens{#1}} +\renewbibmacro*{issue+date}{% + \ifboolexpr{ + test {\iffieldundef{issue}} + and + test {\iffieldundef{year}} + } + {} + {\printtext[issuedate]{% + \printfield{issue}% + \setunit*{\addspace}% + \usebibmacro{date}}}% + \newunit} + +\newbibmacro*{language}{% + \printlist{language}} + +\newbibmacro*{type+number}{% + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}} + +\newbibmacro*{note}{% + \printfield{note}} + +\renewbibmacro*{addendum+pubstate}{% + \iffieldxref{addendum} + {} + {\printfield{addendum}}% + \newunit\newblock + \iffieldxref{pubstate} + {} + {\printfield{pubstate}}} + +\renewbibmacro*{related:bytranslator}[1]{% + \entrydata{#1}{% + \renewbibmacro*{name:hook}[1]{% + \ifnumequal{\value{listcount}}{1} + {\begingroup + \mkrelatedstring% + \lbx@initnamehook{#1}% + \endgroup} + {}}% + \printnames[bytranslator]{translator}% + \setunit*{\addspace\bibstring[\mkrelatedstring]{astitle}\space}% + \usebibmacro{title}% + \setunit{\addspace}% + \printtext[parens]{% + \printlist{location}% + \iflistundef{publisher} + {\setunit*{\locdatedelim}} + {\setunit*{\locpubdelim}}% + \printlist{publisher}% + \setunit*{\pubdatedelim}% + \printdate}}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.bbx new file mode 100644 index 00000000000..323a65c4cad --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.bbx @@ -0,0 +1,8 @@ +\ProvidesFile{ext-verbose-ibid.bbx} + [2018/03/18 v0.1 extended biblatex verbose-ibid + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{verbose-ibid} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.cbx new file mode 100644 index 00000000000..87d28e9c084 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.cbx @@ -0,0 +1,53 @@ +\ProvidesFile{ext-verbose-ibid.cbx} + [2018/03/18 v0.1 extended biblatex verbose-ibid citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{verbose-ibid} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \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 diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.bbx new file mode 100644 index 00000000000..52e35da5511 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.bbx @@ -0,0 +1,9 @@ +\ProvidesFile{ext-verbose-inote.bbx} + [2018/03/18 v0.1 extended biblatex verbose-inote + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{verbose-inote} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.cbx new file mode 100644 index 00000000000..a59778d6c05 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.cbx @@ -0,0 +1,59 @@ +\ProvidesFile{ext-verbose-inote.cbx} + [2018/03/18 v0.1 extended biblatex verbose-inote citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{verbose-inote} + +\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 diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.bbx new file mode 100644 index 00000000000..90c8b6387ac --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.bbx @@ -0,0 +1,8 @@ +\ProvidesFile{ext-verbose-note.bbx} + [2018/03/18 v0.1 extended biblatex verbose-note + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{verbose-note} + +\endinput 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 diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.bbx new file mode 100644 index 00000000000..13756084060 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.bbx @@ -0,0 +1,8 @@ +\ProvidesFile{ext-verbose-trad1.bbx} + [2018/03/18 v0.1 extended biblatex verbose-trad1 + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{verbose-trad1} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.cbx new file mode 100644 index 00000000000..de0c95ad2ac --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.cbx @@ -0,0 +1,53 @@ +\ProvidesFile{ext-verbose-trad1.cbx} + [2018/03/18 v0.1 extended biblatex verbose-trad1 citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{verbose-trad1} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \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 diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.bbx new file mode 100644 index 00000000000..b878166bb7c --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.bbx @@ -0,0 +1,12 @@ +\ProvidesFile{ext-verbose-trad2.bbx} + [2018/03/18 v0.1 extended biblatex verbose-trad2 + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{verbose-trad2} + +\ExecuteBibliographyOptions{ + inxref=false, +} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.cbx new file mode 100644 index 00000000000..2e89eb2f546 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.cbx @@ -0,0 +1,53 @@ +\ProvidesFile{ext-verbose-trad2.cbx} + [2018/03/18 v0.1 extended biblatex verbose-trad2 citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{verbose-trad2} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \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 diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.bbx new file mode 100644 index 00000000000..f0ed834292f --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.bbx @@ -0,0 +1,8 @@ +\ProvidesFile{ext-verbose-trad3.bbx} + [2018/03/18 v0.1 extended biblatex verbose-trad3 + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{verbose-trad3} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.cbx new file mode 100644 index 00000000000..7f1e43ab3c9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.cbx @@ -0,0 +1,53 @@ +\ProvidesFile{ext-verbose-trad3.cbx} + [2018/03/18 v0.1 extended biblatex verbose-trad3 citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{verbose-trad3} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \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 diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.bbx new file mode 100644 index 00000000000..f0e958001b6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.bbx @@ -0,0 +1,8 @@ +\ProvidesFile{ext-verbose.bbx} + [2018/03/18 v0.1 extended biblatex verbose + bibliography style (MW)] + +\RequireBibliographyStyle{ext-standard} +\RequireBibliographyStyle{verbose} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.cbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.cbx new file mode 100644 index 00000000000..67056ea0689 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.cbx @@ -0,0 +1,53 @@ +\ProvidesFile{ext-verbose.cbx} + [2018/03/18 v0.1 extended biblatex verbose citation style (MW)] + +\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{} + +\RequireCitationStyle{verbose} + +\DeclareOuterCiteDelim{parencite}{\bibopenparen}{\bibcloseparen} + +\DeclareInnerCiteDelim{textcite}{\bibopenparen}{\bibcloseparen} + +\DeclareCiteCommand{\cite}[\mkoutercitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkouterparencitedelim] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkouterparencitedelim\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \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 |