From 75b84dd5e44892181a2c157b61ce74ef6a803b8a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 15 Oct 2016 22:51:31 +0000 Subject: biblatex-lni (14oct16) git-svn-id: svn://tug.org/texlive/trunk@42265 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/biblatex-lni/LNI-english.lbx | 3 +- .../tex/latex/biblatex-lni/LNI-ngerman.lbx | 9 ++--- Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx | 39 ++++++++++++++-------- Master/texmf-dist/tex/latex/biblatex-lni/LNI.cbx | 16 +++++++++ 4 files changed, 49 insertions(+), 18 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/biblatex-lni/LNI-english.lbx b/Master/texmf-dist/tex/latex/biblatex-lni/LNI-english.lbx index a13ec9e5951..d857bcab8a2 100644 --- a/Master/texmf-dist/tex/latex/biblatex-lni/LNI-english.lbx +++ b/Master/texmf-dist/tex/latex/biblatex-lni/LNI-english.lbx @@ -1,6 +1,6 @@ % LNI --% % -% Copyright (c) 2016 Lukas C. Bossert +% Copyright (c) 2016 Lukas C. Bossert, Georg Duffner, Oliver Kopp % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -9,6 +9,7 @@ % http://www.latex-project.org/lppl.txt % and version 1.3 or later is part of all distributions of LaTeX % version 2005/12/01 or later. + \ProvidesFile{LNI-english.lbx} [\LNI@lbxid] \InheritBibliographyExtras{english} diff --git a/Master/texmf-dist/tex/latex/biblatex-lni/LNI-ngerman.lbx b/Master/texmf-dist/tex/latex/biblatex-lni/LNI-ngerman.lbx index c73e3391cfb..886decdd8da 100644 --- a/Master/texmf-dist/tex/latex/biblatex-lni/LNI-ngerman.lbx +++ b/Master/texmf-dist/tex/latex/biblatex-lni/LNI-ngerman.lbx @@ -1,6 +1,6 @@ % LNI --% -% -% Copyright (c) 2016 Lukas C. Bossert +% +% Copyright (c) 2016 Lukas C. Bossert, Georg Duffner, Oliver Kopp % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -16,7 +16,8 @@ \InheritBibliographyExtras{ngerman} \DeclareBibliographyStrings{% - inherit = {ngerman}, - urlseen = {{Stand}{Stand}} + inherit = {ngerman}, + urlseen = {{Stand}{Stand}}, + andothers = {{et al\adddot}{et al\adddot}} } \endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx b/Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx index c68ac5844ee..f08c77639b2 100644 --- a/Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx @@ -1,8 +1,19 @@ -\def\LNI@date{2016-10-07} -\def\LNI@version{0.1} -\def\LNI@bbxid{\LNI@date\space v\LNI@version\space biblatex-LNI bibliography style (LCB/GD)} -\def\LNI@cbxid{\LNI@date\space v\LNI@version\space biblatex-LNI citation style (LCB/GD)} -\def\LNI@lbxid{\LNI@date\space v\LNI@version\space biblatex-LNI localization (LCB/GD)} +% LNI --% +% +% Copyright (c) 2016 Lukas C. Bossert, Georg Duffner, Oliver Kopp +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +\def\LNI@date{2016-10-13} +\def\LNI@version{0.2} +\def\LNI@bbxid{\LNI@date\space v\LNI@version\space biblatex-LNI bibliography style (LCB/GD/OK)} +\def\LNI@cbxid{\LNI@date\space v\LNI@version\space biblatex-LNI citation style (LCB/GD/OK)} +\def\LNI@lbxid{\LNI@date\space v\LNI@version\space biblatex-LNI localization (LCB/GD/OK)} \ProvidesFile{LNI.bbx}[\LNI@bbxid] \RequireBibliographyStyle{alphabetic} @@ -18,23 +29,18 @@ %http://tex.stackexchange.com/a/196192/9075 \renewcommand*\bibnamedelimc{\addnbspace} \renewcommand*\bibnamedelimd{\addnbspace} - - %Do not put "vd" in the label, but put it at "\citeauthor" - %Source: http://tex.stackexchange.com/a/30277/9075 - \makeatletter - \AtBeginDocument{\toggletrue{blx@useprefix}} - \AtBeginBibliography{\togglefalse{blx@useprefix}} } + \def\LNIversion{\LNI@version} \def\LNIdate{\LNI@date} \ExecuteBibliographyOptions{% bibencoding = utf8, sortcites = true, giveninits = true, - useprefix = false, + useprefix = true, maxbibnames = 99, - maxcitenames = 3, + maxcitenames = 2, eprint = true, url = true, doi = false, @@ -62,6 +68,9 @@ \newcommand*{\volnumdelim}{\addslash} \newcommand*{\aftertitledelim}{\addperiod\addspace} +% Don't uppercase name prefixes +\renewbibmacro*{begentry}{\midsentence} + \newbibmacro*{publisher+location}{% \printlist{publisher}% \newunit% @@ -112,6 +121,10 @@ } } +% Don't use prefixes in labels +\DeclareLabelalphaNameTemplate{ + \namepart{family} +} \DeclareBibliographyDriver{book}{% \usebibmacro{bibindex}% diff --git a/Master/texmf-dist/tex/latex/biblatex-lni/LNI.cbx b/Master/texmf-dist/tex/latex/biblatex-lni/LNI.cbx index cbf199efdb0..beb8b787992 100644 --- a/Master/texmf-dist/tex/latex/biblatex-lni/LNI.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-lni/LNI.cbx @@ -1,11 +1,27 @@ +% LNI --% +% +% Copyright (c) 2016 Lukas C. Bossert, Georg Duffner, Oliver Kopp +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. \ProvidesFile{LNI.cbx}[\LNI@cbxid] \RequireCitationStyle{alphabetic} + %enable hyperlinked author names when using \citeauthor %source: http://tex.stackexchange.com/a/75916/9075 \DeclareCiteCommand{\citeauthor} {\boolfalse{citetracker}% \boolfalse{pagetracker}% + \renewcommand*{\multinamedelim}{\addcomma\space}% + \renewcommand*{\finalnamedelim}{% + \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}% + \addspace\bibstring{and}\space} \usebibmacro{prenote}} {\ifciteindex {\indexnames{labelname}} -- cgit v1.2.3