summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-trad
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/biblatex-contrib/biblatex-trad
Initial commit
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-trad')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/README.md31
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/biblatex-trad.pdfbin0 -> 344845 bytes
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/biblatex-trad.tex168
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-abbrv.bbx83
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-abbrv.cbx12
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-alpha.bbx94
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-alpha.cbx12
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-plain.bbx78
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-plain.cbx12
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-standard.bbx779
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-standard.cbx10
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-unsrt.bbx60
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-unsrt.cbx12
13 files changed, 1351 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/README.md b/macros/latex/contrib/biblatex-contrib/biblatex-trad/README.md
new file mode 100644
index 0000000000..c58e1af416
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-trad/README.md
@@ -0,0 +1,31 @@
+biblatex-trad
+=============
+
+traditional bibliography styles with [`biblatex`](http://www.ctan.org/pkg/biblatex)
+
+Introduction
+-------------
+
+The complete idea was inspired by a question at [tex.stackexchange](http://tex.stackexchange.com/):
+[How to emulate the traditional BibTeX styles (plain, abbrv, unsrt, alpha) as closely as possible with biblatex?](https://tex.stackexchange.com/a/69706/)
+
+Installation
+-------------
+
+The package is published via [CTAN](https://www.ctan.org/pkg/biblatex-trad) and should be available via your favourite distribution.
+
+The development branch can be downloaded from github (https://github.com/moewew/biblatex-trad).
+Bugs reports and feature requests can be directed to the project's [issue page](https://github.com/plk/biblatex/issues)
+
+There is a simple `Makefile` which allows you to install the current development branch via
+
+ make localinstall
+
+Licence
+-------------
+Copyright (c) 2012 -- 2015 Marco Daniel
+ 2016 -- 2018 Moritz Wemheuer
+
+This package is released under the terms of the LaTeX Project
+Public License v1.3c (LPPL-1.3c) or later.
+See http://www.latex-project.org/lppl.txt \ No newline at end of file
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/biblatex-trad.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-trad/biblatex-trad.pdf
new file mode 100644
index 0000000000..10ee1e105b
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-trad/biblatex-trad.pdf
Binary files differ
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/biblatex-trad.tex b/macros/latex/contrib/biblatex-contrib/biblatex-trad/biblatex-trad.tex
new file mode 100644
index 0000000000..5971cd93a1
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-trad/biblatex-trad.tex
@@ -0,0 +1,168 @@
+% TEX root = path/to/root_file.tex
+% !TEX program = arara
+% !TEX encoding = utf8
+% !TEX spellcheck = en_GB
+% arara: pdflatex: {synctex: true}
+%: Start Header
+\documentclass{ltxdockit}[2011/03/25]
+\usepackage{btxdockit}
+\usepackage[utf8]{inputenc}
+\usepackage[british]{babel}
+\usepackage[strict]{csquotes}
+\usepackage{libertine}
+\usepackage[scaled=0.8]{beramono}
+\usepackage{microtype}
+\lstset{basicstyle=\ttfamily,keepspaces=true}
+\KOMAoptions{numbers=noenddot}
+\addtokomafont{paragraph}{\spotcolor}
+\addtokomafont{section}{\spotcolor}
+\addtokomafont{subsection}{\spotcolor}
+\addtokomafont{subsubsection}{\spotcolor}
+\addtokomafont{descriptionlabel}{\spotcolor}
+\pretocmd{\cmd}{\sloppy}{}{}
+\pretocmd{\bibfield}{\sloppy}{}{}
+\pretocmd{\bibtype}{\sloppy}{}{}
+
+
+\MakeAutoQuote*{<}{>}
+
+
+\titlepage{%
+ title={The \sty{biblatex-trad} Package},
+ subtitle={Traditional bibliography styles for \sty{biblatex}},
+ url={},
+ author={Marco Daniel\\Moritz Wemheuer},
+ email={},
+ revision={0.4a},
+ date={17th February 2018}}
+
+\hypersetup{%
+ pdftitle={The biblatex-trad Package},
+ pdfsubject={Traditional bibliography styles for biblatex},
+ pdfauthor={Marco Daniel},
+ pdfkeywords={tex, latex, biblatex, bibtex, bibliography, references, citation}}
+
+
+\newrobustcmd*{\Deprecated}{%
+ \textcolor{spot}{\margnotefont Deprecated}}
+\newrobustcmd*{\DeprecatedMark}{%
+ \leavevmode\marginpar{\Deprecated}}
+\newcommand*{\gitissuelink}[1]{%
+ \href{https://github.com/moewew/biblatex-trad/issues/#1}{issue \##1 on github}}
+
+\hyphenation{%
+ star-red
+ bib-lio-gra-phy
+ white-space
+}
+
+\begin{document}
+
+\printtitlepage
+\tableofcontents
+
+
+\section{Introduction}\label{sec:int}
+
+The package \sty{biblatex-trad} is a contribution to the great package \sty{biblatex}.
+
+It provides the implementation of the traditional bibliography styles (\sty{plain},
+\sty{unsrt}, \sty{alpha} and \sty{abbrv}) as a style for \sty{biblatex}.
+
+\subsection{Motivation}\label{subsec:int:mot}
+
+The package is motivated by a question at \tex{} -- \latex Stack Exchange
+\enquote{\href{http://tex.stackexchange.com/a/69706/}{How to emulate the traditional BibTeX styles
+(\sty{plain}, \sty{abbrv}, \sty{unsrt}, \sty{alpha}) as closely as possible with \sty{biblatex}?}}
+
+\subsection{Requirements}
+The use of the styles requires the \sty{biblatex} package.
+It is tested with the current version of \sty{biblatex} (at the time of writing that is 3.10).
+Care has been taken to retain backwards compatibility with older versions,
+but please do not expect the styles to work flawlessly with ancient versions of \sty{biblatex}.
+Note also that the style may fail silently with older versions, it need not necessarily emit noisy
+warnings or error messages, the output might just be wrong.
+
+Note that in recent versions of \sty{biblatex} the \bibtex backend has been degraded to
+the status of \enquote{fallback backend}.
+Some features of this style will only work properly if you use the default Biber backend.
+
+\subsection{License}
+
+Copyright \textcopyright\ 2012--2015 Marco Daniel, 2016--2018 Moritz Wemheuer. Permission is granted to copy, distribute and\slash or modify this software under the terms of the \lppl, version 1.3c.\fnurl{http://www.latex-project.org/lppl.txt}
+
+
+\subsection{Feedback}\label{subsec:int:feb}
+
+Please use the \sty{biblatex-trad} project page on GitHub to report bugs and submit feature requests.\fnurl{https://github.com/moewew/biblatex-trad}
+
+If you do not want to report a bug or request a feature but are simply in need of assistance, you might want to consider posting your question on the \texttt{comp.text.tex} newsgroup or \tex{} -- \latex Stack Exchange.\fnurl{http://tex.stackexchange.com/questions/tagged/biblatex}
+
+\section{Usage}
+
+\sty{biblatex-trad} is not a standalone package. As described in \secref{sec:int} it is
+a small collection of styles. So you can load the styles as follows:
+
+\begin{lstlisting}[style=latex,escapeinside={(*@}{@*)}]{}
+\usepackage[style=(*@$\langle$\normalfont\emph{style}$\rangle$@*)]{biblatex}
+\end{lstlisting}
+The available styles are listed below.
+\begin{marglist}
+
+\item[trad-plain] Implementation of the standard style \sty{plain}
+\item[trad-unsrt] Implementation of the standard style \sty{unsrt}
+\item[trad-alpha] Implementation of the standard style \sty{alpha}
+\item[trad-abbrv] Implementation of the standard style \sty{abbrv}
+
+\end{marglist}
+
+After loading the style you can use all options provided by \sty{biblatex}.
+That means also that all fields of the standard bibliography drivers are available,
+even if they are unknown to the traditional \texttt{.bst} files.
+
+\section{Limitations}
+
+Up to now the entry types \bibtype{article}, \bibtype{book}, \bibtype{incollection},
+\bibtype{inproceedings}, \bibtype{online}, \bibtype{proceedings}, \bibtype{thesis},
+\bibtype{report} and \bibtype{unpublished} are set up.
+
+Since the styles are based on \sty{biblatex} standard styles, the fields retain the meaning
+they have in \sty{biblatex} even if that may be at odds with how the traditional \sty{.bst}
+files handle those fields.
+
+
+\section{Revision History}\label{apx:log}
+\begin{changelog}
+\begin{release}{0.4a}{2018-02-17}
+\item Fixed alphabetic labels for names with prefix (\enquote{von} part) (\gitissuelink{34})
+\end{release}
+
+\begin{release}{0.4}{2018-02-02}
+\item Fixed incorrect bibstring for chapters (\gitissuelink{32})
+\item Various small modifications
+\end{release}
+
+\begin{release}{0.3}{2016-06-26}
+\item Fix issues with new name formats in \sty{biblatex} versions $\geq$~3.3 (\gitissuelink{25})
+\item Fix problems with the related mechanism (\gitissuelink{24})
+\item Proper support for \bibtype{thesis}-types (\gitissuelink{23})
+\item Modify \opt{maxalphanames}/\opt{minalphanames} and \cmd{labelalphaothers} in \sty{trad-alpha} to mirror \sty{alpha} more closely (\gitissuelink{22})
+\item Use \bibfield{labelprefix} instead of \bibfield{prefixnumber}
+\end{release}
+
+\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}
+\end{changelog}
+\end{document}
+
+\endinput
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-abbrv.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-abbrv.bbx
new file mode 100644
index 0000000000..6b7d144642
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-abbrv.bbx
@@ -0,0 +1,83 @@
+%% 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}[2018/02/17 v0.4a biblatex-trad abbrv bibliography style]
+
+\RequireBibliographyStyle{trad-standard}
+
+\ExecuteBibliographyOptions{%
+ sorting = nty , % sorting name - title - year
+ dateabbrev = true , % short form of dates
+ labelnumber= true ,
+}
+
+\@ifpackagelater{biblatex}{2016/03/01}
+ {\ExecuteBibliographyOptions{giveninits=true}}
+ {\ExecuteBibliographyOptions{firstinits=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}%
+ \printunit*{\addnbspace}}
+ {}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{setpageref}%
+ \finentry}
+
+\endinput
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-abbrv.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-abbrv.cbx
new file mode 100644
index 0000000000..6a1fd33cea
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/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}[2018/02/17 v0.4a biblatex-trad abbrv citation style]
+
+\RequireCitationStyle{numeric}
+
+\endinput
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-alpha.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-alpha.bbx
new file mode 100644
index 0000000000..3b00135b0c
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-alpha.bbx
@@ -0,0 +1,94 @@
+%% 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}[2018/02/17 v0.4a biblatex-trad alpha bibliograhy style]
+
+\RequireBibliographyStyle{trad-standard}
+
+\ExecuteBibliographyOptions{%
+ sorting = anyt , % sorting alphlabel-name-title year
+ 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[labelalphawidth]{%
+ \printfield{labelprefix}%
+ \printfield{labelalpha}%
+ \printfield{extraalpha}}}}
+
+\DeclareBibliographyDriver{set}{%
+ \entryset
+ {\ifbool{bbx:subentry}
+ {\printfield[bibentrysetcount]{entrysetcount}%
+ \printunit*{\addnbspace}}
+ {}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{setpageref}%
+ \finentry}
+
+\endinput
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-alpha.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-alpha.cbx
new file mode 100644
index 0000000000..172c00c310
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/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}[2018/02/17 v0.4a biblatex-trad alpha citation style]
+
+\RequireCitationStyle{alphabetic}
+
+\endinput
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-plain.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-plain.bbx
new file mode 100644
index 0000000000..ae036f5586
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-plain.bbx
@@ -0,0 +1,78 @@
+%% 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}[2018/02/17 v0.4a biblatex-trad plain bibliography style]
+
+\RequireBibliographyStyle{trad-standard}
+
+\ExecuteBibliographyOptions{%
+ sorting = nty , % sorting name - title - year
+ 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}%
+ \printunit*{\addnbspace}}
+ {}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{setpageref}%
+ \finentry}
+
+
+\endinput
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-plain.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-plain.cbx
new file mode 100644
index 0000000000..a9cd2dfcd4
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/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}[2018/02/17 v0.4a biblatex-trad plain citation style]
+
+\RequireCitationStyle{numeric}
+
+\endinput
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-standard.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-standard.bbx
new file mode 100644
index 0000000000..196e87ec79
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-standard.bbx
@@ -0,0 +1,779 @@
+%% Copyright (c) 2012 -- 2015 Marco Daniel
+%% 2016 -- 2018 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}[2018/02/17 v0.4a biblatex-trad base bibliography style]
+%==========================================%
+%==========================================%
+%==========================================%
+\RequireBibliographyStyle{standard}
+%==========================================%
+\ExecuteBibliographyOptions{%
+ maxnames = 999 , % set the maximum number of authors
+ abbreviate = false ,
+ dateabbrev = false , % no short form of dates
+ useprefix = true ,
+}
+%==========================================%
+%==========================================%
+\providebool{bbx:subentry}
+\DeclareBibliographyOption[boolean]{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{chapter}~#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}}}
+
+\renewbibmacro*{in:}{%
+ \printtext{%
+ \bibstring{in}%
+ \printunit{\intitlepunct}}}
+
+%==========================================%
+%==========================================%
+%==========================================%
+% Setting the bibliography drivers:
+\DeclareBibliographyDriver{article}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\printdelim{nametitledelim}}\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{\printdelim{nametitledelim}}\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{\printdelim{nametitledelim}}\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}%
+ \newunit
+ \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{\printdelim{nametitledelim}}\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{\printdelim{nametitledelim}}\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{\printdelim{nametitledelim}}\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{\printdelim{nametitledelim}}\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{\printdelim{nametitledelim}}\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{\printdelim{nametitledelim}}\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{\printdelim{nametitledelim}}\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[labelnumberwidth]{%
+ \printfield{prefixnumber}%
+ \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}{%
+ \printfield{issue}%
+ \newcommaunit*%
+ \usebibmacro{date}%
+ \newunit}
+
+
+\endinput
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-standard.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-standard.cbx
new file mode 100644
index 0000000000..c9b45419f8
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/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}[2018/02/17 v0.4a biblatex-trad base citation style]
+
+\endinput
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-unsrt.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-unsrt.bbx
new file mode 100644
index 0000000000..ee4f4bda0a
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-unsrt.bbx
@@ -0,0 +1,60 @@
+%% 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}[2018/02/17 v0.4a biblatex-trad unsrt bibliography style]
+
+\RequireBibliographyStyle{trad-standard}
+
+\ExecuteBibliographyOptions{%
+ sorting = none , % sorting none
+ 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}%
+ \printunit*{\addnbspace}}
+ {}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{setpageref}%
+ \finentry}
+
+
+\endinput
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-unsrt.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-trad/trad-unsrt.cbx
new file mode 100644
index 0000000000..83ae2cd2f9
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/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}[2018/02/17 v0.4a biblatex-trad unsrt citation style]
+
+\RequireCitationStyle{numeric}
+
+\endinput