diff options
author | Karl Berry <karl@freefriends.org> | 2016-10-15 22:51:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-10-15 22:51:31 +0000 |
commit | 75b84dd5e44892181a2c157b61ce74ef6a803b8a (patch) | |
tree | 60bdbb3feadc61cc6765e93d4cfa4a8c1be26289 /Master/texmf-dist | |
parent | bdca005b9c5b680e145fec55ef1186f1092a4639 (diff) |
biblatex-lni (14oct16)
git-svn-id: svn://tug.org/texlive/trunk@42265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
9 files changed, 141 insertions, 46 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-lni/CHANGELOG.md b/Master/texmf-dist/doc/latex/biblatex-lni/CHANGELOG.md new file mode 100644 index 00000000000..e582d0eeb4d --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-lni/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog + +All notable changes to this project will be documented in this file. +This project **does not** adhere to [Semantic Versioning](http://semver.org/). +The markdown syntax is inspired by the conventions proposed by [keepachangelog.com](http://keepachangelog.com/). + +## [v0.2] - 2016-10-13 +* Labels do not include prefixes any more +* `\citeauthor` prints one author if one author, two authors if two authors, and the first author + "et al." in the case of three or more +* German: "et al." is printed instead of "u.a." + +## v0.1 - 2016-10-07 + +Initial release. + +[Unreleased]: https://github.com/latextemplates/biblatex-lni/v0.2...HEAD +[v0.2]: https://github.com/latextemplates/biblatex-lni/v0.1...v0.2 diff --git a/Master/texmf-dist/doc/latex/biblatex-lni/LNI-examples.bib b/Master/texmf-dist/doc/latex/biblatex-lni/LNI-examples.bib index ffcb8515d55..73cec3c30e9 100644 --- a/Master/texmf-dist/doc/latex/biblatex-lni/LNI-examples.bib +++ b/Master/texmf-dist/doc/latex/biblatex-lni/LNI-examples.bib @@ -14,12 +14,22 @@ crossref = {Gl09}, } +@InCollection{vdAW2013, + author = {Wil M. P. van der Aalst and Mathias Weske}, + title = {The {P2P} Approach to Interorganizational Workflows}, + booktitle = {Seminal Contributions to Information Systems Engineering}, + year = {2013}, + publisher = {Springer Science + Business Media}, + pages = {289--305}, + doi = {10.1007/978-3-642-36926-1_23}, +} + @Book{AB00, + author = {K. Abel and U. Bibel}, title = {Formatierungsrichtlinien für Tagungsbände}, publisher = {Format-Verlag}, + location = {Bonn}, year = {2000}, - author = {K. Abel and U. Bibel}, - address = {Bonn}, } @Book{Ez10, @@ -29,14 +39,31 @@ author = {O. Ezgarani}, } +@Online{GI14, + author = {{Gesellschaft für Informatik e.\,V.}}, + label = {GI}, + year = {2014}, + url = {http://www.gi-ev.de}, + urldate = {2014-12-24} +} + @Article{Gl06, - author = {H. I. Glück}, - title = {Formatierung leicht gemacht}, - journal = {Formatierungsjournal}, - volume = {11}, - number = {09}, - year = {2009}, - pages = {23-27}, + author = {H. I. Glück}, + title = {Formatierung leicht gemacht}, + journaltitle = {Formatierungsjournal}, + volume = {11}, + pages = {23-27}, + year = {2009}, + number = {09}, +} + +@Book{Go10, + author = {Johann Wolfgang von Goethe}, + title = {Farbenlehre}, + year = {1810}, + volumes = {2}, + publisher = {Cotta}, + location = {Tübingen}, } @Book{Wa14, @@ -57,21 +84,21 @@ title = {Proc. 7th Int. Conf. on Formatting of Workshop-Proceedings}, year = {2001}, editor = {Glück, H. I.}, - address = {San Francisco}, publisher = {Noah \& Sons}, - venue = {New York}, - eventdate = {2009}, booktitle = {Proc. 7th Int. Conf. on Formatting of Workshop-Proceedings}, + eventdate = {2009}, + location = {San Francisco}, + venue = {New York}, } @Book{Gl09, + editor = {H. I. Glück}, title = {Formatierung 2009}, publisher = {Format-Verlag}, + location = {Bonn}, year = {2009}, - editor = {H. I. Glück}, - number = {999}, series = {LNI}, - address = {Bonn}, + number = {999}, booktitle = {Formatierung 2009}, } @@ -82,14 +109,6 @@ year = {2014}, } -@Online{GI14, - author = {{Gesellschaft für Informatik e.\,V.}}, - label = {GI}, - year = {2014}, - url = {http://www.gi-ev.de}, - urldate = {2014-12-24} -} - -@Comment{jabref-meta: databaseType:bibtex;} +@Comment{jabref-meta: databaseType:biblatex;} @Comment{jabref-meta: saveOrderConfig:specified;author;false;year;false;title;false;} diff --git a/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-de.tex b/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-de.tex index 472cec1349e..915bdd65eb1 100644 --- a/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-de.tex +++ b/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-de.tex @@ -10,7 +10,15 @@ \addbibresource{LNI-examples.bib} \begin{document} \chapter{Zitierungen} -Verlinkte Autoren: \citeauthor{ABC01} \cite{ABC01}. +Verlinkte Autoren: + +Drei und mehr: \citeauthor{ABC01} \cite{ABC01}. + +Zwei Autoren: \citeauthor{AB00} \cite{AB00} und \citeauthor{vdAW2013} \cite{vdAW2013}. + +Ein Autor: \citeauthor{Ez10} \cite{Ez10} und \citeauthor{Go10} \cite{Go10}. +Am Satzanfang: \Citeauthor{Go10}. + \nocite{*} \printbibliography \end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-en.tex b/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-en.tex index 80c49256f27..62af6876d42 100644 --- a/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-en.tex +++ b/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-en.tex @@ -10,7 +10,15 @@ \addbibresource{LNI-examples.bib} \begin{document} \chapter{Cites} -Hyperlinked authors: \citeauthor{ABC01} \cite{ABC01}. +Hyperlinked authors: + +Three and more authors: \citeauthor{ABC01} \cite{ABC01}. + +Two authors: \citeauthor{AB00} \cite{AB00} and \citeauthor{vdAW2013} \cite{vdAW2013}. + +One author: \citeauthor{Ez10} \cite{Ez10} and \citeauthor{Go10} \cite{Go10}. +At the beginning of a sentence: \Citeauthor{Go10}. + \nocite{*} \printbibliography \end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex-lni/README.md b/Master/texmf-dist/doc/latex/biblatex-lni/README.md index 52ce97901b5..3c5ccbabe86 100644 --- a/Master/texmf-dist/doc/latex/biblatex-lni/README.md +++ b/Master/texmf-dist/doc/latex/biblatex-lni/README.md @@ -1,6 +1,7 @@ # biblatex-lni This is a [biblatex] style for [LNI], the Lecture Notes in Informatics of the [Gesellschaft für Informatik e.V.]. +It requires at least [biblatex 3.5] and [biber] 3.6. ## Usage @@ -15,20 +16,31 @@ If you include the template in an existing document, following lines are recomme backend=biber, style=LNI ]{biblatex} -\addbibresource{paper.bib} +\addbibresource{LNI-examples.bib} ``` Use `\printbibliography` in your document to print the bibliography. Use `biber` instead of `bibtex` to generate the bibliography entries. +## Source and Feedback + +The source of this package is maintained at <https://github.com/latextemplates/biblatex-lni>. +This site also allows for filing issues in case something strange is encontered. + ## License Copyright (c) 2016 Lukas C. Bossert, Georg Duffner, Oliver Kopp +This work has the LPPL maintenance status _maintained_. +The current maintainer of this work is Oliver Kopp. + + 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.3 or, at your option, any later version. - [biblatex]: https://www.ctan.org/pkg/biblatex + [biber]: https://github.com/plk/biber#overview + [biblatex]: https://github.com/plk/biblatex#overview + [biblatex 3.5]: https://github.com/plk/biblatex/blob/dev/doc/latex/biblatex/CHANGES.org#release-notes-for-version-35 [Gesellschaft für Informatik e.V.]: https://www.gi.de [LNI]: https://www.gi.de/service/publikationen/lni/autorenrichtlinien.html 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}} |