From 11aba51d3fef3cd393347c53c6e83645a01155e9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 29 Sep 2012 22:41:39 +0000 Subject: biblatex-trad (29sep12) git-svn-id: svn://tug.org/texlive/trunk@27852 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/biblatex-trad/README.txt | 2 +- .../doc/latex/biblatex-trad/biblatex-trad.pdf | Bin 364386 -> 242084 bytes .../doc/latex/biblatex-trad/biblatex-trad.tex | 16 +- .../tex/latex/biblatex-trad/bbx/trad-abbrv.bbx | 68 ++++++ .../tex/latex/biblatex-trad/bbx/trad-alpha.bbx | 57 +++++ .../tex/latex/biblatex-trad/bbx/trad-plain.bbx | 62 +++++ .../tex/latex/biblatex-trad/bbx/trad-standard.bbx | 272 +++++++++++++++++++++ .../tex/latex/biblatex-trad/bbx/trad-unsrt.bbx | 62 +++++ .../tex/latex/biblatex-trad/cbx/trad-abbrv.cbx | 10 + .../tex/latex/biblatex-trad/cbx/trad-alpha.cbx | 12 + .../tex/latex/biblatex-trad/cbx/trad-plain.cbx | 10 + .../tex/latex/biblatex-trad/cbx/trad-standard.cbx | 8 + .../tex/latex/biblatex-trad/cbx/trad-unsrt.cbx | 10 + .../tex/latex/biblatex-trad/trad-abbrv.bbx | 68 ------ .../tex/latex/biblatex-trad/trad-abbrv.cbx | 10 - .../tex/latex/biblatex-trad/trad-alpha.bbx | 57 ----- .../tex/latex/biblatex-trad/trad-alpha.cbx | 12 - .../tex/latex/biblatex-trad/trad-plain.bbx | 62 ----- .../tex/latex/biblatex-trad/trad-plain.cbx | 10 - .../tex/latex/biblatex-trad/trad-standard.bbx | 264 -------------------- .../tex/latex/biblatex-trad/trad-standard.cbx | 8 - .../tex/latex/biblatex-trad/trad-unsrt.bbx | 62 ----- .../tex/latex/biblatex-trad/trad-unsrt.cbx | 10 - 23 files changed, 585 insertions(+), 567 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-abbrv.bbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-alpha.bbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-plain.bbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-standard.bbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-unsrt.bbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-abbrv.cbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-alpha.cbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-plain.cbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-standard.cbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-unsrt.cbx delete mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.bbx delete mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.cbx delete mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx delete mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.cbx delete mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx delete mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.cbx delete mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.bbx delete mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.cbx delete mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.bbx delete mode 100644 Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.cbx diff --git a/Master/texmf-dist/doc/latex/biblatex-trad/README.txt b/Master/texmf-dist/doc/latex/biblatex-trad/README.txt index 2ac1afc48b4..f4630b98331 100644 --- a/Master/texmf-dist/doc/latex/biblatex-trad/README.txt +++ b/Master/texmf-dist/doc/latex/biblatex-trad/README.txt @@ -4,7 +4,7 @@ biblatex. ================================================================ The current development is available at github: -https://github.com/marcodaniel/mdframed +https://github.com/marcodaniel/trad-biblatex ================================================================ Copyright (c) 2012 Marco Daniel diff --git a/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.pdf b/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.pdf index eb54bd7ff73..d3494dc5dd4 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.pdf and b/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.pdf differ diff --git a/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.tex b/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.tex index 0b372a6e904..f79e111ffda 100644 --- a/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.tex +++ b/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.tex @@ -11,7 +11,7 @@ \usepackage[strict]{csquotes} \usepackage{shortvrb} \usepackage{pifont} -\usepackage{libertine} +\usepackage{libertine-type1} \usepackage[scaled=0.8]{beramono} \usepackage{microtype} \lstset{basicstyle=\ttfamily,keepspaces=true} @@ -37,8 +37,8 @@ url={}, author={Marco Daniel}, email={marco.daniel@mada-nada.de}, - revision={0.1}, - date={9. Sep 2012}} + revision={0.2}, + date={29. Sep 2012}} \hypersetup{% pdftitle={The biblatex-trad Package}, @@ -126,8 +126,18 @@ setup. \section{Revision History} \label{apx:log} + \begin{changelog} +\begin{release}{0.2}{2012-09-29} +\item fixed missing comma after journal name if journal name has a period +\item make titles sentence case +\item removed extra \emph{in} +\item removed extra \cmd{printfield} +\item fixed extra comma if \bibtype{article} doesn't have a year +\item use package \sty{libertine-type1} for documentation +\end{release} + \begin{release}{0.1}{2012-09-09} \item First upload \end{release} 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 new file mode 100644 index 00000000000..790c78a8db5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-abbrv.bbx @@ -0,0 +1,68 @@ +%% 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 new file mode 100644 index 00000000000..b1bfdbe0078 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-alpha.bbx @@ -0,0 +1,57 @@ +%% 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 new file mode 100644 index 00000000000..254d5acb62c --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-plain.bbx @@ -0,0 +1,62 @@ +%% 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 new file mode 100644 index 00000000000..4c42610591f --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-standard.bbx @@ -0,0 +1,272 @@ +%% 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/bbx/trad-unsrt.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-unsrt.bbx new file mode 100644 index 00000000000..5db0a85c271 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/bbx/trad-unsrt.bbx @@ -0,0 +1,62 @@ +%% 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] + +\RequireBibliographyStyle{trad-standard} + +\ExecuteBibliographyOptions{% + maxnames = 99 , % set the maximum number of authors + sorting = none , % sorting none + 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/cbx/trad-abbrv.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-abbrv.cbx new file mode 100644 index 00000000000..7902982d5f2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-abbrv.cbx @@ -0,0 +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-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 new file mode 100644 index 00000000000..354c8081a51 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-alpha.cbx @@ -0,0 +1,12 @@ +%% 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 new file mode 100644 index 00000000000..d9ea57a3dd8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-plain.cbx @@ -0,0 +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-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 new file mode 100644 index 00000000000..15f011e98f5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-standard.cbx @@ -0,0 +1,8 @@ +%% 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 new file mode 100644 index 00000000000..fa94820a43d --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/cbx/trad-unsrt.cbx @@ -0,0 +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] + +\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 deleted file mode 100644 index 7868341bda2..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/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/09] - -\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/trad-abbrv.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.cbx deleted file mode 100644 index d1c66e456a9..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/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/09] - -\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 deleted file mode 100644 index 0002d56dc3f..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/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/09] - -\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/trad-alpha.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.cbx deleted file mode 100644 index a97fc217f0f..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/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/09] - -\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 deleted file mode 100644 index 332f2c77046..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/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/09] - -\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/trad-plain.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.cbx deleted file mode 100644 index 83c8fbecc5f..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/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/09] - -\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 deleted file mode 100644 index b33e9d3f0ee..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.bbx +++ /dev/null @@ -1,264 +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/09] - -\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}} - -% 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}% - \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}{% - \printtext{% - \iffieldundef{issue} - {\usebibmacro{date}} - {\printfield{issue}% - \setunit*{\addspace}% - \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 deleted file mode 100644 index ebaf41fadaa..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/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/09] - -\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.bbx deleted file mode 100644 index 81a2ef70394..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.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-unsrt.bbx}[2012/09/09] - -\RequireBibliographyStyle{trad-standard} - -\ExecuteBibliographyOptions{% - maxnames = 99 , % set the maximum number of authors - sorting = none , % sorting none - 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/trad-unsrt.cbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.cbx deleted file mode 100644 index 8bc900992a8..00000000000 --- a/Master/texmf-dist/tex/latex/biblatex-trad/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/09] - -\RequireCitationStyle{numeric} - -\endinput -- cgit v1.2.3