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 --- Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx | 39 ++++++++++++++++-------- 1 file changed, 26 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx') 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}% -- cgit v1.2.3