diff options
author | Karl Berry <karl@freefriends.org> | 2016-07-05 21:37:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-07-05 21:37:36 +0000 |
commit | 1cd84cc894bdbd7f3ffed0e5afef4bd34946e48c (patch) | |
tree | 3412de63522d2b50a9b9d95e36aeb62194705a54 /Master/texmf-dist/tex/latex/biblatex-trad | |
parent | 161640d432cf408b804bece2be5c761cd2d51281 (diff) |
biblatex-trad (5jul16)
git-svn-id: svn://tug.org/texlive/trunk@41632 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-trad')
19 files changed, 1114 insertions, 518 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-abbrv.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-abbrv.bbx deleted file mode 100644 index 790c78a8db5..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-abbrv.bbx +++ /dev/null @@ -1,68 +0,0 @@ -%% Copyright (c) 2012 Marco Daniel -%% -%% This package may be distributed under the terms of the LaTeX Project -%% Public License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -\ProvidesFile{trad-abbrv.bbx}[2012/09/29] - -\RequireBibliographyStyle{trad-standard} - -\ExecuteBibliographyOptions{% - maxnames = 99 , % set the maximum number of authors - sorting = nty , % sorting name - title - year - dateabbrev = true , % no short form of dates - abbreviate = true , - labelnumber= true , -} - -\DeclareNameFormat{abbrv}{% - \usebibmacro{name:first-last}{#1}{#4}{#6}{#8}% - \usebibmacro{name:andothers}} -\DeclareNameAlias{default}{abbrv} - - -\DeclareFieldFormat{bibentrysetcount}{\mkbibparens{\mknumalph{#1}}} -\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}} -\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} - -\defbibenvironment{bibliography} - {\list - {\printtext[labelnumberwidth]{% - \printfield{prefixnumber}% - \printfield{labelnumber}}} - {\setlength{\labelwidth}{\labelnumberwidth}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\labelsep}{\biblabelsep}% - \addtolength{\leftmargin}{\labelsep}% - \setlength{\itemsep}{\bibitemsep}% - \setlength{\parsep}{\bibparsep}}% - \renewcommand*{\makelabel}[1]{\hss##1}} - {\endlist} - {\item} - -\defbibenvironment{shorthands} - {\list - {\printfield[shorthandwidth]{shorthand}} - {\setlength{\labelwidth}{\shorthandwidth}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\labelsep}{\biblabelsep}% - \addtolength{\leftmargin}{\labelsep}% - \setlength{\itemsep}{\bibitemsep}% - \setlength{\parsep}{\bibparsep}% - \renewcommand*{\makelabel}[1]{\hss##1}}} - {\endlist} - {\item} - -\DeclareBibliographyDriver{set}{% - \entryset - {\ifbool{bbx:subentry} - {\printfield[bibentrysetcount]{entrysetcount}% - \setunit*{\addnbspace}} - {}} - {}% - \newunit\newblock - \usebibmacro{setpageref}% - \finentry} - - -\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-alpha.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-alpha.bbx deleted file mode 100644 index b1bfdbe0078..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-alpha.bbx +++ /dev/null @@ -1,57 +0,0 @@ -%% Copyright (c) 2012 Marco Daniel -%% -%% This package may be distributed under the terms of the LaTeX Project -%% Public License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -\ProvidesFile{trad-alpha.bbx}[2012/09/29] - -\RequireBibliographyStyle{trad-standard} - -\ExecuteBibliographyOptions{% - maxnames = 99 , % set the maximum number of authors - sorting = anyt , % sorting alphlabel-name-title year - dateabbrev = false , % no short form of dates - abbreviate = false , - labelalpha = true , - maxalphanames = 99, -} - - -\DeclareNameAlias{author}{default} -\DeclareNameAlias{editor}{default} -\DeclareNameAlias{translator}{default} - -\DeclareFieldFormat{labelalphawidth}{\mkbibbrackets{#1}} -\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} - - -\defbibenvironment{bibliography} - {\list - {\printtext[labelalphawidth]{% - \printfield{prefixnumber}% - \printfield{labelalpha}% - \printfield{extraalpha}}} - {\setlength{\labelwidth}{\labelalphawidth}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\labelsep}{\biblabelsep}% - \addtolength{\leftmargin}{\labelsep}% - \setlength{\itemsep}{\bibitemsep}% - \setlength{\parsep}{\bibparsep}}% - \renewcommand*{\makelabel}[1]{##1\hss}} - {\endlist} - {\item} - -\defbibenvironment{shorthands} - {\list - {\printfield[shorthandwidth]{shorthand}} - {\setlength{\labelwidth}{\shorthandwidth}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\labelsep}{\biblabelsep}% - \addtolength{\leftmargin}{\labelsep}% - \setlength{\itemsep}{\bibitemsep}% - \setlength{\parsep}{\bibparsep}% - \renewcommand*{\makelabel}[1]{##1\hss}}} - {\endlist} - {\item} - -\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-plain.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-plain.bbx deleted file mode 100644 index 254d5acb62c..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-plain.bbx +++ /dev/null @@ -1,62 +0,0 @@ -%% Copyright (c) 2012 Marco Daniel -%% -%% This package may be distributed under the terms of the LaTeX Project -%% Public License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -\ProvidesFile{trad-plain.bbx}[2012/09/29] - -\RequireBibliographyStyle{trad-standard} - -\ExecuteBibliographyOptions{% - maxnames = 99 , % set the maximum number of authors - sorting = nty , % sorting name - title - year - dateabbrev = false , % no short form of dates - abbreviate = false , - labelnumber= true , -} - -\DeclareFieldFormat{bibentrysetcount}{\mkbibparens{\mknumalph{#1}}} -\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}} -\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} - -\defbibenvironment{bibliography} - {\list - {\printtext[labelnumberwidth]{% - \printfield{prefixnumber}% - \printfield{labelnumber}}} - {\setlength{\labelwidth}{\labelnumberwidth}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\labelsep}{\biblabelsep}% - \addtolength{\leftmargin}{\labelsep}% - \setlength{\itemsep}{\bibitemsep}% - \setlength{\parsep}{\bibparsep}}% - \renewcommand*{\makelabel}[1]{\hss##1}} - {\endlist} - {\item} - -\defbibenvironment{shorthands} - {\list - {\printfield[shorthandwidth]{shorthand}} - {\setlength{\labelwidth}{\shorthandwidth}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\labelsep}{\biblabelsep}% - \addtolength{\leftmargin}{\labelsep}% - \setlength{\itemsep}{\bibitemsep}% - \setlength{\parsep}{\bibparsep}% - \renewcommand*{\makelabel}[1]{\hss##1}}} - {\endlist} - {\item} - -\DeclareBibliographyDriver{set}{% - \entryset - {\ifbool{bbx:subentry} - {\printfield[bibentrysetcount]{entrysetcount}% - \setunit*{\addnbspace}} - {}} - {}% - \newunit\newblock - \usebibmacro{setpageref}% - \finentry} - - -\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-standard.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-standard.bbx deleted file mode 100644 index 4c42610591f..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-standard.bbx +++ /dev/null @@ -1,272 +0,0 @@ -%% Copyright (c) 2012 Marco Daniel -%% -%% This package may be distributed under the terms of the LaTeX Project -%% Public License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -\ProvidesFile{trad-standard.bbx}[2012/09/29] - -\RequireBibliographyStyle{standard} - -\providebool{bbx:subentry} - -\DeclareBibliographyOption{subentry}[true]{% - \setbool{bbx:subentry}{#1}} - -\DeclareNameAlias{author}{default} -\DeclareNameAlias{editor}{default} -\DeclareNameAlias{translator}{default} - -% new commmands and redefinitions -\newcommand*{\volumenumberdelim}{} % delim between number and volume -\renewcommand*{\intitlepunct}{\addspace} % after the bibstring in -\renewcommand*{\newunitpunct}{\addperiod\space} -\newcommand*{\newcommaunit}{\setunit{\addcomma\space}} -\renewcommand*{\labelnamepunct}{\addperiod\space} -\renewcommand*{\subtitlepunct}{\addperiod\space} - -% Field formating -\DeclareFieldFormat*{title}{#1} -\DeclareFieldFormat[book,inbook,manual,phdthesis,proceedings]% - {title}{\mkbibemph{#1}} - -\DeclareFieldFormat*{number}{\mkbibparens{#1}} -\DeclareFieldFormat[incollection]{number}{\biblclstring{number}~#1} - -\DeclareFieldFormat{edition}{% - \ifinteger{#1} - {\mkbibordedition{#1}~\bibstring{edition}} - {\MakeLowercase{#1}~\bibstring{edition}}} - -\DeclareFieldFormat{chapter}{\biblcstring{part}~#1} - -\DeclareFieldFormat[article]{pages}{{#1}} - -\DeclareFieldFormat[book]{series}{\mkbibemph{#1}} - -\DeclareFieldFormat{journaltitle}{\mkbibemph{#1}\isdot} - -\DeclareFieldFormat*{titlecase}{\MakeSentenceCase{#1}} - -% Seting the bibliography drivers: -\DeclareBibliographyDriver{article}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author/translator+others}% - \setunit{\labelnamepunct}\newblock - \usebibmacro{title}% - \newunit - \printlist{language}% - \newunit\newblock - \usebibmacro{byauthor}% - \newunit\newblock - \usebibmacro{bytranslator+others}% - \newunit\newblock - \printfield{version}% - \newunit\newblock - \usebibmacro{journal+issuetitle}% - \newunit - \usebibmacro{byeditor+others}% - \newunit - \printfield{note}% - \newunit\newblock - \iftoggle{bbx:isbn} - {\printfield{issn}} - {}% - \newunit\newblock - \usebibmacro{doi+eprint+url}% - \newunit\newblock - \usebibmacro{addendum+pubstate}% - \setunit{\bibpagerefpunct}\newblock - \usebibmacro{pageref}% - \newunit\newblock - \usebibmacro{related}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{book}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author/editor+others/translator+others}% - \setunit{\labelnamepunct}\newblock - \usebibmacro{maintitle+title}% - \newunit - \printlist{language}% - \newunit\newblock - \usebibmacro{byauthor}% - \newunit\newblock - \usebibmacro{byeditor+others}% - \newunit\newblock - \usebibmacro{book:series+number}% - \newunit - \printfield{volumes}% - \newunit\newblock - \usebibmacro{publisher+location+date}% - \newunit\newblock - \usebibmacro{chapter+pages}% - \newunit - \printfield{pagetotal}% - \newunit\newblock - \iftoggle{bbx:isbn} - {\printfield{isbn}} - {}% - \newunit\newblock - \usebibmacro{doi+eprint+url}% - \newunit\newblock - \printfield{note}% - \newunit\newblock - \usebibmacro{addendum+pubstate}% - \setunit{\bibpagerefpunct}\newblock - \usebibmacro{pageref}% - \newunit\newblock - \usebibmacro{related}% - \usebibmacro{finentry}} - - -\DeclareBibliographyDriver{incollection}{% - \usebibmacro{bibindex}% - \usebibmacro{begentry}% - \usebibmacro{author/translator+others}% - \setunit{\labelnamepunct}\newblock - \usebibmacro{title}% - \newunit - \printlist{language}% - \newunit\newblock - \usebibmacro{byauthor}% - \newunit\newblock - \usebibmacro{in:}% - \usebibmacro{byeditor+others}% - \newcommaunit\newblock - \usebibmacro{maintitle+booktitle}% - \newunit\newblock - \iffieldundef{maintitle} - {\printfield{volume}% - \printfield{part}} - {}% - \newunit - \printfield{volumes}% - \newcommaunit\newblock - \usebibmacro{series+number}% - \newcommaunit\newblock - \usebibmacro{chapter+pages}% - \setunit{\addperiod\space} - \usebibmacro{publisher+location+date}% - \newunit\newblock - \iftoggle{bbx:isbn} - {\printfield{isbn}} - {}% - \newunit\newblock - \usebibmacro{doi+eprint+url}% - \newunit\newblock - \usebibmacro{addendum+pubstate}% - \newunit\newblock - \printfield{note}% - \setunit{\bibpagerefpunct}\newblock - \usebibmacro{pageref}% - \newunit\newblock - \usebibmacro{related}% - \usebibmacro{finentry}} - -\renewbibmacro*{journal+issuetitle}{% - \usebibmacro{journal}% - \setunit*{\addcomma\space}% - \iffieldundef{series} - {} - {\newunit - \printfield{series}% - \setunit{\addspace}}% - \usebibmacro{volume+number+pages+eid}% - \newcommaunit -% \setunit{\addspace}% - \usebibmacro{issue+date-parens}% - \setunit*{\addcolon\space}% - \usebibmacro{issue}% - \newunit} - -\newbibmacro*{volume+number+pages+eid}{% - \printfield{volume}% - \setunit*{\volumenumberdelim}% - \printfield{number}% - \setunit{\addcolon} - \printfield{pages}% - \newcommaunit% - \printfield{eid}}% - - -\renewbibmacro*{byeditor+others}{% - \ifnameundef{editor} - {} - {% - \printnames[byeditor]{editor}% - \setunit{\addcomma\space}% - \usebibmacro{editorlstr}% - \clearname{editor}% - \newunit}% - \usebibmacro{byeditorx}% - \usebibmacro{bytranslator+others} -} - - -\newbibmacro*{editorlstr}{% -\printtext{% - \ifboolexpr{ - test {\ifnumgreater{\value{editor}}{1}} - or - test {\ifandothers{editor}} - }% - {\biblstring{editors}}% - {\biblstring{editor}}}% -} - -\renewbibmacro*{series+number}{% - \printfield{number}% - \setunit*{\addspace}% - \iffieldundef{series}{}% - { - \usebibmacro{in:}% - \printfield{series}% - }% - \newunit} - -\newbibmacro*{book:series+number}{% - \iffieldundef{maintitle} - {\printfield{volume}% - \printfield{part}} - {}% - \printfield{number}% - \setunit*{\addspace}% - \iffieldundef{series}{}% - {\space\bibstring{ofseries}\space\printfield{series}}% - \newunit -} - -\renewbibmacro*{volume+number+eid}{% - \printfield{volume}% - \setunit*{\volumenumberdelim}% - \printfield{number}% - \setunit{\addcomma\space}% - \printfield{eid}% -} - -\renewbibmacro*{publisher+location+date}{% - \printlist{publisher}% - \setunit*{\addcomma\space}% - \printlist{location}% - \setunit*{\addcomma\space}% - \newcommaunit - \printfield{edition}% - \newcommaunit - \usebibmacro{date}% - \newunit} - - - -\newbibmacro*{issue+date-parens}{% - \iffieldundef{issue}% - {\usebibmacro{date}}% - {\printfield{issue}% - \setunit*{\addcomma\space}% - \usebibmacro{date}% - }% - \newunit} - - -\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-abbrv.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-abbrv.cbx deleted file mode 100644 index 7902982d5f2..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-abbrv.cbx +++ /dev/null @@ -1,10 +0,0 @@ -%% Copyright (c) 2012 Marco Daniel -%% -%% This package may be distributed under the terms of the LaTeX Project -%% Public License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -\ProvidesFile{trad-abbrv.cbx}[2012/09/29] - -\RequireCitationStyle{numeric} - -\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-alpha.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-alpha.cbx deleted file mode 100644 index 354c8081a51..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-alpha.cbx +++ /dev/null @@ -1,12 +0,0 @@ -%% Copyright (c) 2012 Marco Daniel -%% -%% This package may be distributed under the terms of the LaTeX Project -%% Public License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -\ProvidesFile{trad-alpha.cbx}[2012/09/29] - -\RequireCitationStyle{alphabetic} - -\endinput - - diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-plain.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-plain.cbx deleted file mode 100644 index d9ea57a3dd8..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-plain.cbx +++ /dev/null @@ -1,10 +0,0 @@ -%% Copyright (c) 2012 Marco Daniel -%% -%% This package may be distributed under the terms of the LaTeX Project -%% Public License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -\ProvidesFile{trad-plain.cbx}[2012/09/29] - -\RequireCitationStyle{numeric} - -\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-standard.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-standard.cbx deleted file mode 100644 index 15f011e98f5..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-standard.cbx +++ /dev/null @@ -1,8 +0,0 @@ -%% Copyright (c) 2012 Marco Daniel -%% -%% This package may be distributed under the terms of the LaTeX Project -%% Public License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -\ProvidesFile{trad-standard.cbx}[2012/09/29] - -\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-unsrt.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-unsrt.cbx deleted file mode 100644 index fa94820a43d..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-unsrt.cbx +++ /dev/null @@ -1,10 +0,0 @@ -%% Copyright (c) 2012 Marco Daniel -%% -%% This package may be distributed under the terms of the LaTeX Project -%% Public License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -\ProvidesFile{trad-unsrt.bbx}[2012/09/29] - -\RequireCitationStyle{numeric} - -\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.bbx new file mode 100644 index 00000000000..76949ca278f --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.bbx @@ -0,0 +1,103 @@ +%% Copyright (c) 2012 -- 2015 Marco Daniel +%% 2016 -- Moritz Wemheuer +%% +%% This package is released under the terms of the +%% LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% +\ProvidesFile{trad-abbrv.bbx}[2016/06/26 v0.3 biblatex-trad] + +\RequireBibliographyStyle{trad-standard} + +\ExecuteBibliographyOptions{% + maxnames = 99 , % set the maximum number of authors + sorting = nty , % sorting name - title - year + dateabbrev = true , % short form of dates + abbreviate = false , + labelnumber= true , +} + +\@ifpackagelater{biblatex}{2016/03/01}{% + \@ifpackagelater{biblatex}{2016/05/14}{% + \DeclareNameFormat{abbrv}{% + \usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefixi} + {\namepartsuffixi}% + \usebibmacro{name:andothers}}} + {\DeclareNameFormat{abbrv}{% + \nameparts{#1}% + \usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefixi} + {\namepartsuffixi}% + \usebibmacro{name:andothers}}}} +{\DeclareNameFormat{abbrv}{% + \usebibmacro{name:first-last}{#1}{#4}{#6}{#8}% + \usebibmacro{name:andothers}}} +\DeclareNameAlias{default}{abbrv} + + +\DeclareFieldFormat{bibentrysetcount}{\mkbibparens{\mknumalph{#1}}} +\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}} +\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} + +\@ifpackagelater{biblatex}{2016/05/14}{% + \defbibenvironment{bibliography} + {\list + {\printtext[labelnumberwidth]{% + \printfield{labelprefix}% + \printfield{labelnumber}}} + {\setlength{\labelwidth}{\labelnumberwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {\endlist} + {\item}% +}{% + \defbibenvironment{bibliography} + {\list + {\printtext[labelnumberwidth]{% + \printfield{prefixnumber}% + \printfield{labelnumber}}} + {\setlength{\labelwidth}{\labelnumberwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {\endlist} + {\item}% +} + +\defbibenvironment{shorthands} + {\list + {\printfield[shorthandwidth]{shorthand}} + {\setlength{\labelwidth}{\shorthandwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + \renewcommand*{\makelabel}[1]{\hss##1}}} + {\endlist} + {\item} + +\DeclareBibliographyDriver{set}{% + \entryset + {\ifbool{bbx:subentry} + {\printfield[bibentrysetcount]{entrysetcount}% + \setunit*{\addnbspace}} + {}} + {}% + \newunit\newblock + \usebibmacro{setpageref}% + \finentry} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.cbx new file mode 100644 index 00000000000..abe90797975 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.cbx @@ -0,0 +1,12 @@ +%% Copyright (c) 2012 -- 2015 Marco Daniel +%% 2016 -- Moritz Wemheuer +%% +%% This package is released under the terms of the +%% LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% +\ProvidesFile{trad-abbrv.cbx}[2016/06/26 v0.3 biblatex-trad] + +\RequireCitationStyle{numeric} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx new file mode 100644 index 00000000000..f0aa9333dc9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx @@ -0,0 +1,86 @@ +%% Copyright (c) 2012 -- 2015 Marco Daniel +%% 2016 -- Moritz Wemheuer +%% +%% This package is released under the terms of the +%% LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% +\ProvidesFile{trad-alpha.bbx}[2016/06/26 v0.3 biblatex-trad] + +\RequireBibliographyStyle{trad-standard} + +\ExecuteBibliographyOptions{% + maxnames = 99 , % set the maximum number of authors + sorting = anyt , % sorting alphlabel-name-title year + dateabbrev = false , % no short form of dates + abbreviate = false , + labelalpha = true , + maxalphanames = 3, + minalphanames = 3, +} + + +\DeclareNameAlias{author}{default} +\DeclareNameAlias{editor}{default} +\DeclareNameAlias{translator}{default} + +\DeclareFieldFormat{labelalphawidth}{\mkbibbrackets{#1}} +\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} +\renewcommand*{\labelalphaothers}{\textsuperscript{+}} + + +\@ifpackagelater{biblatex}{2016/05/14}{% + \defbibenvironment{bibliography} + {\list + {\printtext[labelalphawidth]{% + \printfield{labelprefix}% + \printfield{labelalpha}% + \printfield{extraalpha}}} + {\setlength{\labelwidth}{\labelalphawidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{##1\hss}} + {\endlist} + {\item}% +}{% + \defbibenvironment{bibliography} + {\list + {\printtext[labelalphawidth]{% + \printfield{prefixnumber}% + \printfield{labelalpha}% + \printfield{extraalpha}}} + {\setlength{\labelwidth}{\labelalphawidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{##1\hss}} + {\endlist} + {\item}% + +} + +\defbibenvironment{shorthands} + {\list + {\printfield[shorthandwidth]{shorthand}} + {\setlength{\labelwidth}{\shorthandwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + \renewcommand*{\makelabel}[1]{##1\hss}}} + {\endlist} + {\item} + +\renewbibmacro*{crossref:label}{% + \entrydata + {\strfield{crossref}} + {\printtext[brackets]{% + {\printfield{labelalpha}\printfield{extraalpha}}}}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.cbx new file mode 100644 index 00000000000..379b34bc9c6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.cbx @@ -0,0 +1,12 @@ +%% Copyright (c) 2012 -- 2015 Marco Daniel +%% 2016 -- Moritz Wemheuer +%% +%% This package is released under the terms of the +%% LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% +\ProvidesFile{trad-alpha.cbx}[2016/06/26 v0.3 biblatex-trad] + +\RequireCitationStyle{alphabetic} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx new file mode 100644 index 00000000000..531dfe4df02 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx @@ -0,0 +1,81 @@ +%% Copyright (c) 2012 -- 2015 Marco Daniel +%% 2016 -- Moritz Wemheuer +%% +%% This package is released under the terms of the +%% LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% +\ProvidesFile{trad-plain.bbx}[2016/06/26 v0.3 biblatex-trad] + +\RequireBibliographyStyle{trad-standard} + +\ExecuteBibliographyOptions{% + maxnames = 99 , % set the maximum number of authors + sorting = nty , % sorting name - title - year + dateabbrev = false , % no short form of dates + abbreviate = false , + labelnumber= true , +} + +\DeclareFieldFormat{bibentrysetcount}{\mkbibparens{\mknumalph{#1}}} +\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}} +\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} + +\@ifpackagelater{biblatex}{2016/05/14}{% + \defbibenvironment{bibliography} + {\list + {\printtext[labelnumberwidth]{% + \printfield{labelprefix}% + \printfield{labelnumber}}} + {\setlength{\labelwidth}{\labelnumberwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {\endlist} + {\item}% +}{% + \defbibenvironment{bibliography} + {\list + {\printtext[labelnumberwidth]{% + \printfield{prefixnumber}% + \printfield{labelnumber}}} + {\setlength{\labelwidth}{\labelnumberwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {\endlist} + {\item}% +} + +\defbibenvironment{shorthands} + {\list + {\printfield[shorthandwidth]{shorthand}} + {\setlength{\labelwidth}{\shorthandwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + \renewcommand*{\makelabel}[1]{\hss##1}}} + {\endlist} + {\item} + +\DeclareBibliographyDriver{set}{% + \entryset + {\ifbool{bbx:subentry} + {\printfield[bibentrysetcount]{entrysetcount}% + \setunit*{\addnbspace}} + {}} + {}% + \newunit\newblock + \usebibmacro{setpageref}% + \finentry} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.cbx new file mode 100644 index 00000000000..decd942ae5a --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.cbx @@ -0,0 +1,12 @@ +%% Copyright (c) 2012 -- 2015 Marco Daniel +%% 2016 -- Moritz Wemheuer +%% +%% This package is released under the terms of the +%% LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% +\ProvidesFile{trad-plain.cbx}[2016/06/26 v0.3 biblatex-trad] + +\RequireCitationStyle{numeric} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.bbx new file mode 100644 index 00000000000..5b5afcddf06 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.bbx @@ -0,0 +1,776 @@ +%% Copyright (c) 2012 -- 2015 Marco Daniel +%% 2016 -- Moritz Wemheuer +%% +%% This package is released under the terms of the +%% LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% +\ProvidesFile{trad-standard.bbx}[2016/06/26 v0.3 biblatex-trad] +%==========================================% +%==========================================% +%==========================================% +\RequireBibliographyStyle{standard} +%==========================================% +%==========================================% +%==========================================% +\providebool{bbx:subentry} +\DeclareBibliographyOption{subentry}[true]{% + \setbool{bbx:subentry}{#1}} +\newbool{bbxtrad:doisequal} +\newbool{bbxtrad:eprintsequal} +\newbool{bbxtrad:urlsequal} +\newbool{bbxtrad:notesequal} +\newbool{bbxtrad:addendumsequal} +%==========================================% +%==========================================% +%==========================================% +\DeclareNameAlias{author}{default} +\DeclareNameAlias{editor}{default} +\DeclareNameAlias{translator}{default} +%==========================================% +%==========================================% +%==========================================% +% new commands and redefinitions +\newcommand*{\volumenumberdelim}{} % delim between number and volume +\renewcommand*{\intitlepunct}{\addspace} % after the bibstring in +\renewcommand*{\newunitpunct}{\addperiod\space} +\newcommand*{\newcommaunit}{\@ifstar\newcommaunitStar\newcommaunitNoStar} +\newcommand*{\newcommaunitStar}{\setunit*{\addcomma\space}} +\newcommand*{\newcommaunitNoStar}{\setunit{\addcomma\space}} +\renewcommand*{\labelnamepunct}{\addperiod\space} +\renewcommand*{\subtitlepunct}{\addperiod\space} +%==========================================% +%==========================================% +%==========================================% +% Field formatting +\DeclareFieldFormat*{title}{#1} +\DeclareFieldFormat[book,inbook,manual,thesis,proceedings]% + {title}{\mkbibemph{#1}} + +\DeclareFieldFormat*{number}{\mkbibparens{#1}} +\DeclareFieldFormat[book,incollection,inproceedings,proceedings]{number}{\biblstring{number}~#1} +\DeclareFieldFormat[techreport,report]{number}{#1} +\DeclareFieldFormat{edition}{% + \ifinteger{#1} + {\mkbibordedition{#1}~\bibstring{edition}} + {\MakeLowercase{#1}~\bibstring{edition}}} +\DeclareFieldFormat{chapter}{\bibstring{part}~#1} +\DeclareFieldFormat[article]{pages}{{#1}} +\DeclareFieldFormat[book,inproceedings,proceedings]{series}{\mkbibemph{#1}} +\DeclareFieldFormat{journaltitle}{\mkbibemph{#1}\isdot} +\DeclareFieldFormat{titlecase}{\MakeTitleCase{#1}} + +\newrobustcmd{\MakeTitleCase}[1]{% + \ifthenelse{\ifcurrentfield{booktitle}\OR\ifcurrentfield{booksubtitle}% + \OR\ifcurrentfield{maintitle}\OR\ifcurrentfield{mainsubtitle}% + \OR\ifcurrentfield{journaltitle}\OR\ifcurrentfield{journalsubtitle}% + \OR\ifcurrentfield{issuetitle}\OR\ifcurrentfield{issuesubtitle}% + \OR\ifentrytype{book}\OR\ifentrytype{mvbook}\OR\ifentrytype{bookinbook}% + \OR\ifentrytype{booklet}\OR\ifentrytype{suppbook}% + \OR\ifentrytype{collection}\OR\ifentrytype{mvcollection}% + \OR\ifentrytype{suppcollection}\OR\ifentrytype{manual}% + \OR\ifentrytype{periodical}\OR\ifentrytype{suppperiodical}% + \OR\ifentrytype{proceedings}\OR\ifentrytype{mvproceedings}% + \OR\ifentrytype{reference}\OR\ifentrytype{mvreference}% + \OR\ifentrytype{report}\OR\ifentrytype{thesis}} + {#1} + {\MakeSentenceCase{#1}}} + +\newbibmacro*{in:}{% + \printtext{% + \bibstring{in}% + \printunit{\intitlepunct}}} + +%==========================================% +%==========================================% +%==========================================% +% Setting the bibliography drivers: +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{bytranslator+others}% + \newunit\newblock + \printfield{version}% + \newunit\newblock + \usebibmacro{journal+issuetitle}% + \newunit + \usebibmacro{byeditor+others}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{issn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{note}% + \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{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printlist{language}% + \newunit + \usebibmacro{byauthor}% + \newunit + \usebibmacro{byeditor+others}% + \newcommaunit + \usebibmacro{book:series+number}% + \newunit + \printfield{volumes}% + \newunit + \ifboolexpr{ + test {\iffieldundef{volume}} + and + test {\iffieldundef{part}} + and + test {\iffieldundef{number}} + }{}{\newblock}% + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{note}% + \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{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{byeditor+others}% + \newcommaunit\newblock + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newcommaunit\newblock + \usebibmacro{series+number}% + \newcommaunit\newblock + \usebibmacro{chapter+pages}% + \setunit{\addperiod\space} + \usebibmacro{publisher+location+date}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{note}% + \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{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{in:}% + \iffieldundef{crossref} + {\usebibmacro{inproc:crossref:full}} + {\usebibmacro{crossref:label}} + \usebibmacro{chapter+pages}% + \iffieldundef{crossref} + {\usebibmacro{inproc:crossref:extra}} + {\usebibmacro{inproc:crossref:conditional}} + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{online}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{version}% + \newunit\newblock + \printlist{organization}% + \newunit\newblock + \usebibmacro{date}% + \newunit\newblock + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \newunit\newblock + \usebibmacro{url+urldate}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{editor+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printlist{language}% + \newunit + \ifboolexpr{ + test {\iffieldundef{venue}} + and + test {\iffieldundef{eventtitle}} + and + test {\iffieldundef{eventyear}} + }% + {}% + {% + \newunit\newblock + \usebibmacro{event+venue+date}% + \newunit\newblock + }% + \usebibmacro{byeditor+others}% + \newcommaunit + \usebibmacro{book:series+number}% + \newcommaunit% + \iffieldundef{maintitle}% + {\printfield{volumes}% + \newcommaunit}% + {}% + \newunit + \printlist{location}% + \newcommaunit + \printfield{edition}% + \newcommaunit + \usebibmacro{date}% + \newunit + \printlist{organization}% + \newcommaunit* + \printlist{publisher}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{note}% + \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{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \printfield{type}% + \newcommaunit + \usebibmacro{institution+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +%added 20150828 +\DeclareBibliographyDriver{report}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}% + \newunit\newblock + \printfield{version}% + \newcommaunit\newblock + \usebibmacro{institution+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isrn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +%added 20150829 +% - changed order of note and date +\DeclareBibliographyDriver{misc}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{howpublished}% + \newcommaunit\newblock + \printfield{type}% + \newcommaunit + \printfield{version}% + \newcommaunit + \usebibmacro{organization+location+date}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{note}% + \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{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \printfield{howpublished}% + \newcommaunit* + \printfield{note}% + \newcommaunit* + \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}} + +%==========================================% +%==========================================% +%==========================================% +%new-/redefinition of bibmacros +\newbibmacro*{crossref:label}{% + \usebibmacro{maintitle+booktitle:noemph}% + \setunit{\addspace} + \entrydata + {\strfield{crossref}} + {\printtext{\mkbibbrackets{\printfield{labelnumber}}}}} + +\newbibmacro*{maintitle+booktitle:noemph}{% + \iffieldundef{maintitle} + {} + {\usebibmacro{maintitle:noemph}% + \newunit\newblock + \iffieldundef{volume} + {} + {\printfield{volume}% + \printfield{part}% + \setunit{\addcolon\space}}}% + \usebibmacro{booktitle:noemph}% + \newunit} + +\newbibmacro*{maintitle:noemph}{% + \ifboolexpr{ + test {\iffieldundef{maintitle}} + and + test {\iffieldundef{mainsubtitle}} + }% + {}% + {\printtext{% + \printfield[titlecase]{maintitle}% + \setunit{\subtitlepunct}% + \printfield[titlecase]{mainsubtitle}}% + \newunit}% + \printfield{maintitleaddon}} + +\newbibmacro*{booktitle:noemph}{% + \ifboolexpr{ + test {\iffieldundef{booktitle}} + and + test {\iffieldundef{booksubtitle}} + }% + {}% + {\printtext{% + \printfield[titlecase]{booktitle}% + \setunit{\subtitlepunct}% + \printfield[titlecase]{booksubtitle}}% + \newunit}% + \printfield{booktitleaddon}} + +\newbibmacro*{inproc:crossref:full}{% + \ifboolexpr{ + test {\ifnameundef{editor}} + and + test {\ifnameundef{editora}} + and + test {\ifnameundef{editorb}} + and + test {\ifnameundef{editorc}} + and + test {\ifnameundef{translator}} + }% + {}% + {\usebibmacro{byeditor+others}\newcommaunit}% + \usebibmacro{maintitle+booktitle}% + \newunit + \usebibmacro{event+venue+date}% + \newcommaunit + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}% + \ifboolexpr{ + test {\iffieldundef{volume}} + and + test {\iffieldundef{part}} + }% + {}% + {\setunit{\addspace\bibstring{ofseries}\addspace}}}% + {}% + \usebibmacro{series+number:emphcond}% + \newcommaunit% + \iffieldundef{maintitle}% + {\printfield{volumes}% + \newcommaunit}% + {}% +} + +\newbibmacro*{inproc:crossref:extra}{% + \newcommaunit + \printlist{location}% + \newcommaunit + \printfield{edition}% + \newunit + \printlist{organization}% + \newcommaunit* + \printlist{publisher}% + \newcommaunit + \usebibmacro{date}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url} + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{addendum+pubstate}} + +\newbibmacro*{inproc:crossref:conditional}{% + \entrydata*{\strfield{crossref}}{ + \iffieldsequal{doi}{saveddoi} + {\global\booltrue{bbxtrad:doisequal}} + {\global\boolfalse{bbxtrad:doisequal}} + \iffieldsequal{eprint}{savedeprint} + {\global\booltrue{bbxtrad:eprintsequal}} + {\global\boolfalse{bbxtrad:eprintsequal}} + \iffieldsequal{url}{savedurl} + {\global\booltrue{bbxtrad:urlsequal}} + {\global\boolfalse{bbxtrad:urlsequal}} + \iffieldsequal{note}{savednote} + {\global\booltrue{bbxtrad:notesequal}} + {\global\boolfalse{bbxtrad:notesequal}} + \iffieldsequal{addendum}{savedaddendum} + {\global\booltrue{bbxtrad:addendumsequal}} + {\global\boolfalse{bbxtrad:addendumsequal}}} + \newunit\newblock + \iftoggle{bbx:doi} + {\ifbool{bbxtrad:doisequal}{}{\printfield{saveddoi}}} + {}% + \newunit\newblock + \iftoggle{bbx:eprint} + {\ifbool{bbxtrad:eprintsequal}{}{\usebibmacro{eprint}}} + {}% + \newunit\newblock + \iftoggle{bbx:url} + {\ifbool{bbxtrad:urlsequal}{}{\usebibmacro{url+urldate}}} + {}% + \newunit\newblock + \ifbool{bbxtrad:notesequal}{}{\printfield{note}}% + \newunit\newblock + \ifbool{bbxtrad:addendumsequal}{}{\printfield{addendum}}} + +\renewbibmacro*{journal+issuetitle}{% + \usebibmacro{journal}% + \newcommaunit*% + \iffieldundef{series} + {} + {\newunit + \printfield{series}% + \setunit{\addcomma\space}}% + \usebibmacro{volume+number+pages+eid}% + \newcommaunit +% \setunit{\addspace}% + \usebibmacro{issue+date-parens}% + \setunit*{\addcolon\space}% + \usebibmacro{issue}% + \newunit} + +\newbibmacro*{volume+number+pages+eid}{% + \printfield{volume}% + \setunit*{\volumenumberdelim}% + \printfield{number}% + \setunit{\addcolon} + \printfield{pages}% + \newcommaunit% + \printfield{eid}}% + + +\renewbibmacro*{byeditor+others}{% + \ifnameundef{editor} + {} + {% + \printnames[byeditor]{editor}% + \setunit{\addcomma\space}% + \usebibmacro{editorlstr}% + \clearname{editor}% + \newunit}% + \usebibmacro{byeditorx}% + \usebibmacro{bytranslator+others} +} + + +\newbibmacro*{editorlstr}{% + \ifboolexpr{ + test {\ifnumgreater{\value{editor}}{1}} + or + test {\ifandothers{editor}} + }% + {\biblstring{editors}}% + {\biblstring{editor}}% +} + +\renewbibmacro*{series+number}{% + \printfield{number}% + \setunit*{\addspace\bibstring{inseries}\addspace}% + \printfield{series}% + \newunit} + +\newbibmacro*{series+number:emphcond}{% + \printfield{number}% + \setunit*{\addspace\bibstring{inseries}\addspace}% + \ifboolexpr{ + not test {\iffieldundef{volume}} + }% + {\printfield{series}}% + {\ifboolexpr{ + test {\iffieldundef{volume}} + and + test {\iffieldundef{part}} + and + test {\iffieldundef{number}} + and + test {\ifentrytype{book}} + }% + {\newunit\newblock}% + {}% + \printfield[noformat]{series}}% + \newunit} + +\newbibmacro*{book:series+number}{% + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}% + \ifboolexpr{ + test {\iffieldundef{volume}} + and + test {\iffieldundef{part}} + }% + {}% + {\setunit{\addspace\bibstring{ofseries}\addspace}}}% + {}% + \usebibmacro{series+number:emphcond}% + \newunit} + +\renewbibmacro*{volume+number+eid}{% + \printfield{volume}% + \setunit*{\volumenumberdelim}% + \printfield{number}% + \setunit{\addcomma\space}% + \printfield{eid}} + +\renewbibmacro*{publisher+location+date}{% + \printlist{publisher}% + \newcommaunit* + \printlist{location}% + \newcommaunit* + \printfield{edition}% + \newcommaunit* + \usebibmacro{date}% + \newunit} + +\renewbibmacro*{institution+location+date}{% + \printlist{institution}% + \newcommaunit* + \printlist{location}% + \newcommaunit* + \usebibmacro{date}% + \newunit} + +\newbibmacro*{location+date+publisher}{% + \printlist{location}% + \newcommaunit* + \printfield{edition}% + \newcommaunit* + \usebibmacro{date}% + \newunit + \printlist{publisher}} + +\newbibmacro*{issue+date-parens}{% + \iffieldundef{issue}% + {\usebibmacro{date}}% + {\printfield{issue}% + \newcommaunit*% + \usebibmacro{date}}% + \newunit} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.cbx new file mode 100644 index 00000000000..a6e97b168ca --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.cbx @@ -0,0 +1,10 @@ +%% Copyright (c) 2012 -- 2015 Marco Daniel +%% 2016 -- Moritz Wemheuer +%% +%% This package is released under the terms of the +%% LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% +\ProvidesFile{trad-standard.cbx}[2016/06/26 v0.3 biblatex-trad] + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-unsrt.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.bbx index 5db0a85c271..ff736172061 100644 --- a/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-unsrt.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.bbx @@ -1,9 +1,10 @@ -%% Copyright (c) 2012 Marco Daniel -%% -%% This package may be distributed under the terms of the LaTeX Project -%% Public License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -\ProvidesFile{trad-unsrt.bbx}[2012/09/29] +%% Copyright (c) 2012 -- 2015 Marco Daniel +%% 2016 -- Moritz Wemheuer +%% +%% This package is released under the terms of the +%% LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +\ProvidesFile{trad-unsrt.bbx}[2016/06/26 v0.3 biblatex-trad] \RequireBibliographyStyle{trad-standard} @@ -22,8 +23,8 @@ \defbibenvironment{bibliography} {\list {\printtext[labelnumberwidth]{% - \printfield{prefixnumber}% - \printfield{labelnumber}}} + \printfield{prefixnumber}% + \printfield{labelnumber}}} {\setlength{\labelwidth}{\labelnumberwidth}% \setlength{\leftmargin}{\labelwidth}% \setlength{\labelsep}{\biblabelsep}% @@ -51,7 +52,7 @@ \entryset {\ifbool{bbx:subentry} {\printfield[bibentrysetcount]{entrysetcount}% - \setunit*{\addnbspace}} + \setunit*{\addnbspace}} {}} {}% \newunit\newblock diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.cbx new file mode 100644 index 00000000000..ebc1810bc9d --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.cbx @@ -0,0 +1,12 @@ +%% Copyright (c) 2012 -- 2015 Marco Daniel +%% 2016 -- Moritz Wemheuer +%% +%% This package is released under the terms of the +%% LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% +\ProvidesFile{trad-unsrt.bbx}[2016/06/26 v0.3 biblatex-trad] + +\RequireCitationStyle{numeric} + +\endinput |