texlive[41632] Master/texmf-dist: biblatex-trad (5jul16)
commits+karl at tug.org
commits+karl at tug.org
Tue Jul 5 23:37:37 CEST 2016
Revision: 41632
http://tug.org/svn/texlive?view=revision&revision=41632
Author: karl
Date: 2016-07-05 23:37:36 +0200 (Tue, 05 Jul 2016)
Log Message:
-----------
biblatex-trad (5jul16)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.tex
Added Paths:
-----------
trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.cbx
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/biblatex-trad/README.txt
trunk/Master/texmf-dist/tex/latex/biblatex-trad/bbx/
trunk/Master/texmf-dist/tex/latex/biblatex-trad/cbx/
Deleted: trunk/Master/texmf-dist/doc/latex/biblatex-trad/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-trad/README.txt 2016-07-05 01:10:47 UTC (rev 41631)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-trad/README.txt 2016-07-05 21:37:36 UTC (rev 41632)
@@ -1,15 +0,0 @@
-================================================================
-Implementation of the tradition bibliography styles into
-biblatex.
-
-================================================================
-The current development is available at github:
-https://github.com/marcodaniel/trad-biblatex
-
-================================================================
-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.
-
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.tex 2016-07-05 01:10:47 UTC (rev 41631)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-trad/biblatex-trad.tex 2016-07-05 21:37:36 UTC (rev 41632)
@@ -7,11 +7,9 @@
\documentclass{ltxdockit}[2011/03/25]
\usepackage{btxdockit}
\usepackage[utf8]{inputenc}
-\usepackage[american]{babel}
+\usepackage[british]{babel}
\usepackage[strict]{csquotes}
-\usepackage{shortvrb}
-\usepackage{pifont}
-\usepackage{libertine-type1}
+\usepackage{libertine}
\usepackage[scaled=0.8]{beramono}
\usepackage{microtype}
\lstset{basicstyle=\ttfamily,keepspaces=true}
@@ -27,24 +25,22 @@
\MakeAutoQuote*{<}{>}
-\MakeShortVerb{\|}
-\newcommand*{\biber}{Biber\xspace}
\titlepage{%
title={The \sty{biblatex-trad} Package},
subtitle={Traditional bibliography styles for \sty{biblatex}},
url={},
- author={Marco Daniel},
- email={marco.daniel at mada-nada.de},
- revision={0.2},
- date={29. Sep 2012}}
+ author={Marco Daniel\\Moritz Wemheuer},
+ email={},
+ revision={0.3},
+ date={\today}}
\hypersetup{%
pdftitle={The biblatex-trad Package},
pdfsubject={Traditional bibliography styles for biblatex},
pdfauthor={Marco Daniel},
- pdfkeywords={tex, latex, bibtex, bibliography, references, citation}}
+ pdfkeywords={tex, latex, biblatex, bibtex, bibliography, references, citation}}
\newrobustcmd*{\Deprecated}{%
@@ -51,14 +47,8 @@
\textcolor{spot}{\margnotefont Deprecated}}
\newrobustcmd*{\DeprecatedMark}{%
\leavevmode\marginpar{\Deprecated}}
-\newrobustcmd*{\BiberOnly}{%
- \textcolor{spot}{\margnotefont Biber only}}
-\newrobustcmd*{\BiberOnlyMark}{%
- \leavevmode\marginpar{\BiberOnly}}
-\newrobustcmd*{\BibTeXOnly}{%
- \textcolor{spot}{\margnotefont BibTeX only}}
-\newrobustcmd*{\BibTeXOnlyMark}{%
- \leavevmode\marginpar{\BibTeXOnly}}
+\newcommand*{\gitissuelink}[1]{%
+ \href{https://github.com/moewew/biblatex-trad/issues/#1}{issue \##1 on github}}
\hyphenation{%
star-red
@@ -74,7 +64,7 @@
\section{Introduction}\label{sec:int}
-The package \sty{biblatex-trad} is a contribution to the great package \sty{biblatex}.
+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}.
@@ -81,53 +71,75 @@
\subsection{Motivation}\label{subsec:int:mot}
-The package is motivated by a question at \tex-\latex Stack Exchange \glqq \href{http://tex.stackexchange.com/}{How to emulate the traditional BibTeX styles (plain, abbrv, unsrt, alpha) as closely as possible with biblatex?}
+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 usage 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.4).
+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.
-The usage of the styles requires \sty{biblatex} 2.0 or newer.
+Note that in recent versions of \sty{biblatex} the \bibtex backend has been degraded to
+the status of \enquote{fallback backend}.
+Many features of this style will only work properly if you use the default Biber backend.
\subsection{License}
-Copyright \textcopyright\ 2006--2012 Marco Daniel. Permission is granted to copy, distribute and\slash or modify this software under the terms of the \lppl, version 1.3.\fnurl{http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt}.
+Copyright \textcopyright\ 2012--2015 Marco Daniel, 2016 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/marcodaniel/trad-biblatex}
+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}
+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} isn't a standalone package. As described in \secref{sec:int} it's
+\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]{}
-\usepackage[style=XXX]{biblatex}
+\begin{lstlisting}[style=latex,escapeinside={(*@}{@*)}]{}
+\usepackage[style=(*@$\langle$\normalfont\emph{style}$\rangle$@*)]{biblatex}
\end{lstlisting}
-The available styles are listet below.
+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] \BiberOnlyMark Implementation of the standard style \sty{alpha}
-\item[trad-abbrv] Implementation of the standard style \sty{abbrv}
+\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 the package \sty{biblatex}.
+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{Limitation}
+\section{Limitations}
-Up to know the entry types \bibtype{BOOK}, \bibtype{ARTICLE} and \bibtype{INCOLLECTION} are
-setup.
+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.
-\section{Revision History}
-\label{apx:log}
+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.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
@@ -141,9 +153,7 @@
\begin{release}{0.1}{2012-09-09}
\item First upload
\end{release}
-
\end{changelog}
\end{document}
\endinput
-
Added: trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.bbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.bbx 2016-07-05 21:37:36 UTC (rev 41632)
@@ -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
Added: trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.cbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-abbrv.cbx 2016-07-05 21:37:36 UTC (rev 41632)
@@ -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
Added: trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx 2016-07-05 21:37:36 UTC (rev 41632)
@@ -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
Added: trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.cbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.cbx 2016-07-05 21:37:36 UTC (rev 41632)
@@ -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
Added: trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx 2016-07-05 21:37:36 UTC (rev 41632)
@@ -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
Added: trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.cbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.cbx 2016-07-05 21:37:36 UTC (rev 41632)
@@ -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
Added: trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.bbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.bbx 2016-07-05 21:37:36 UTC (rev 41632)
@@ -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
Added: trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.cbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-standard.cbx 2016-07-05 21:37:36 UTC (rev 41632)
@@ -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
Added: trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.bbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.bbx 2016-07-05 21:37:36 UTC (rev 41632)
@@ -0,0 +1,63 @@
+%% 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}
+
+\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
Added: trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.cbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-trad/trad-unsrt.cbx 2016-07-05 21:37:36 UTC (rev 41632)
@@ -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
More information about the tex-live-commits
mailing list