summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-10-15 22:51:31 +0000
committerKarl Berry <karl@freefriends.org>2016-10-15 22:51:31 +0000
commit75b84dd5e44892181a2c157b61ce74ef6a803b8a (patch)
tree60bdbb3feadc61cc6765e93d4cfa4a8c1be26289 /Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx
parentbdca005b9c5b680e145fec55ef1186f1092a4639 (diff)
biblatex-lni (14oct16)
git-svn-id: svn://tug.org/texlive/trunk@42265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx39
1 files changed, 26 insertions, 13 deletions
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}%