summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-11-09 22:02:19 +0000
committerKarl Berry <karl@freefriends.org>2023-11-09 22:02:19 +0000
commit61db6be356363b8647d54397e03383e4615a2d95 (patch)
tree48bf18149987b6177849670766e86ea8531a2cc0 /Master
parent6b36026f93101e57f322debf3b5814ca50454020 (diff)
biblatex-lni (9nov23)
git-svn-id: svn://tug.org/texlive/trunk@68755 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-lni/CHANGELOG.md43
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-lni/LNI-examples.bib13
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-lni/README.md46
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-lni/basic-test-de.tex (renamed from Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-de.tex)8
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-lni/basic-test-en.tex (renamed from Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-en.tex)6
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-lni/mwe-de.tex13
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-lni/mwe-en.tex15
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-lni/LNI-english.lbx3
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-lni/LNI-ngerman.lbx9
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx41
10 files changed, 144 insertions, 53 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-lni/CHANGELOG.md b/Master/texmf-dist/doc/latex/biblatex-lni/CHANGELOG.md
index e1862cdf155..5cb8215bc42 100644
--- a/Master/texmf-dist/doc/latex/biblatex-lni/CHANGELOG.md
+++ b/Master/texmf-dist/doc/latex/biblatex-lni/CHANGELOG.md
@@ -1,36 +1,61 @@
# 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/).
+The markdown syntax is inspired by the conventions proposed by [keepachangelog.com](https://keepachangelog.com/).
-## [v0.5] – 2019-02-03
+## [v0.6] - 2023-11-09
+
+### Changed
+
+* Added `doi` to the output. [#17](https://github.com/gi-ev/biblatex-lni/pull/17)
+* Volume and number are now output using parentheses. Example: 44(3) (instead of 44/3). [#20](https://github.com/gi-ev/biblatex-lni/pull/20)
+
+### Fixed
+
+* The font size of the bibliography is now `\small`. [#11](https://github.com/gi-ev/biblatex-lni/pull/11)
+* Heading of references section in German documents is "Literaturverzeichnis". [#24](https://github.com/gi-ev/biblatex-lni/pull/24)
+* Date is showing the year only. [#13](https://github.com/gi-ev/biblatex-lni/pull/13)
+
+## [v0.5] - 2019-02-03
+
+### Added
* Add support for ISBN and note to `@book`. Fixes [LNI/#74](https://github.com/gi-ev/LNI/issues/74).
-## [v0.4] – 2017-01-23
+## [v0.4] - 2017-01-23
+
+### Fixed
* The year is now printed after the pages in InCollection.
* url style is not changed to sans serif any more.
-## [v0.3] – 2016-10-30
+## [v0.3] - 2016-10-30
+
+### Added
* Support for empty editor in `InProceedings` and `InCollection`
* Explicit support for `InCollection`
+
+### Changed
+
* Improved examples in `LNI-examples.bib`
-## [v0.2] – 2016-10-13
+## [v0.2] - 2016-10-13
+
+### Fixed
-* 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
+* Labels do not include prefixes any more
* German: "et al." is printed instead of "u.a."
-## v0.1 – 2016-10-07
+## [v0.1] - 2016-10-07
Initial release.
+[v0.1]: https://github.com/gi-ev/biblatex-lni/tree/v0.1
[v0.2]: https://github.com/latextemplates/biblatex-lni/compare/v0.1...v0.2
[v0.3]: https://github.com/latextemplates/biblatex-lni/compare/v0.2...v0.3
[v0.4]: https://github.com/latextemplates/biblatex-lni/compare/v0.3...v0.4
[v0.5]: https://github.com/latextemplates/biblatex-lni/compare/v0.4...v0.5
-[Unreleased]: https://github.com/latextemplates/biblatex-lni/compare/v0.5...HEAD
+[v0.6]: https://github.com/latextemplates/biblatex-lni/compare/v0.5...v0.6
+[Unreleased]: https://github.com/latextemplates/biblatex-lni/compare/v0.6...HEAD
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 70d6bd39146..db6821802f9 100644
--- a/Master/texmf-dist/doc/latex/biblatex-lni/LNI-examples.bib
+++ b/Master/texmf-dist/doc/latex/biblatex-lni/LNI-examples.bib
@@ -185,4 +185,17 @@
note = {Quick answers to common problems},
}
+@Article{jabref,
+ author = {Oliver Kopp and Carl Christian Snethlage and Christoph Schwentker},
+ title = {JabRef: BibTeX-based literature management software},
+ journal = {TUGboat},
+ issn = {0896-3207},
+ issue = {138},
+ volume = {44},
+ number = {3},
+ pages = {441--447},
+ doi = {10.47397/tb/44-3/tb138kopp-jabref},
+ year = {2023},
+}
+
@Comment{jabref-meta: databaseType:biblatex;}
diff --git a/Master/texmf-dist/doc/latex/biblatex-lni/README.md b/Master/texmf-dist/doc/latex/biblatex-lni/README.md
index 16f91d70a55..e1a19dee704 100644
--- a/Master/texmf-dist/doc/latex/biblatex-lni/README.md
+++ b/Master/texmf-dist/doc/latex/biblatex-lni/README.md
@@ -1,13 +1,35 @@
-# biblatex-lni [![Build Status](https://circleci.com/gh/gi-ev/biblatex-lni/tree/master.svg?style=shield)](https://circleci.com/gh/gi-ev/biblatex-lni/) [![CTAN](https://img.shields.io/badge/CTAN-biblatex--lni-blue.svg?style=flat-square)](https://ctan.org/pkg/biblatex-lni)
+# biblatex-lni
-This is a [biblatex] style for [LNI], the Lecture Notes in Informatics of the [Gesellschaft für Informatik e.V.].
+This is a [biblatex] style for the [Lecture Notes in Informatics (LNI)](https://gi.de/service/publikationen/lni) of the [Gesellschaft für Informatik e.V.]
It requires at least [biblatex 3.5] and [biber] 2.6.
-## Usage
+> This style is available on CTAN at <https://ctan.org/pkg/biblatex-lni> and should directly be usable in your LaTeX distribution.
-This style has no specific requirements, thus you can just pass `style=LNI` as parameter to biblatex.
+## Usage in the context of the LNI class
-If you include the template in an existing document, following lines are recommended
+Typically, this class is used in the context of LNI publications, which are typeset using the [lni package](https://ctan.org/pkg/lni).
+
+```latex
+\documentclass[biblatex,english]{lni}
+\bibliography{LNI-examples.bib}
+\begin{document}
+\title{Title}
+\author{Firstname Lastname}
+\maketitle
+\begin{abstract}
+Text
+\end{abstract}
+\section{Introduction}
+Text~\cite{jabref}.
+\printbibliography
+\end{document}
+```
+
+## Usage outside LNI class
+
+This style has no specific requirements, thus you can just pass `style=LNI` as parameter to [biblatex].
+
+If you include the template in an existing document, following lines are recommended:
```latex
\usepackage[english]{babel}
@@ -25,22 +47,20 @@ Use `biber` instead of `bibtex` to generate the bibliography entries.
## Source and Feedback
The source of this package is maintained at <https://github.com/gi-ev/biblatex-lni>.
-This site also allows for filing issues in case something strange is encontered.
+This site also allows for filing issues in case something strange is encountered.
## License
-Copyright (c) 2016 Lukas C. Bossert, Georg Duffner, Oliver Kopp
+Copyright (c) 2016-2023 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.
- [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
+[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://gi.de
diff --git a/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-de.tex b/Master/texmf-dist/doc/latex/biblatex-lni/basic-test-de.tex
index 1e9abc1243e..542d3eaed25 100644
--- a/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-de.tex
+++ b/Master/texmf-dist/doc/latex/biblatex-lni/basic-test-de.tex
@@ -2,7 +2,7 @@
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{csquotes}
-\usepackage[
+\usepackage[
backend=biber,
style=LNI
]{biblatex}
@@ -13,10 +13,10 @@
Verlinkte Autoren:
\begin{itemize}
- \item Vier Autoren: \citeauthor{ABCD02} \cite{ABCD02}
- \item Drei Autoren: \citeauthor{ABC01} \cite{ABC01}
- \item Zwei Autoren: \citeauthor{AB00} \cite{AB00} und \citeauthor{vdAW2013} \cite{vdAW2013}.
\item Ein Autor: \citeauthor{Ez10} \cite{Ez10}, \citeauthor{Go10} \cite{Go10} und \citeauthor{latexcookbook} \cite{latexcookbook}.
+ \item Zwei Autoren: \citeauthor{AB00} \cite{AB00} und \citeauthor{vdAW2013} \cite{vdAW2013}.
+ \item Drei Autoren: \citeauthor{ABC01} \cite{ABC01} sowie \citeauthor{jabref} \cite{jabref}.
+ \item Vier Autoren: \citeauthor{ABCD02} \cite{ABCD02}.
\item Am Satzanfang: \Citeauthor{Go10}.
\end{itemize}
diff --git a/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-en.tex b/Master/texmf-dist/doc/latex/biblatex-lni/basic-test-en.tex
index e4f5abcf81f..c367254ed7d 100644
--- a/Master/texmf-dist/doc/latex/biblatex-lni/LNI-test-en.tex
+++ b/Master/texmf-dist/doc/latex/biblatex-lni/basic-test-en.tex
@@ -13,10 +13,10 @@
Hyperlinked authors:
\begin{itemize}
- \item Four authors: \citeauthor{ABCD02} \cite{ABCD02}
- \item Three authors: \citeauthor{ABC01} \cite{ABC01}
- \item Two authors: \citeauthor{AB00} \cite{AB00} and \citeauthor{vdAW2013} \cite{vdAW2013}.
\item One author: \citeauthor{Ez10} \cite{Ez10}, \citeauthor{Go10} \cite{Go10}, and \citeauthor{latexcookbook} \cite{latexcookbook}.
+ \item Two authors: \citeauthor{AB00} \cite{AB00} and \citeauthor{vdAW2013} \cite{vdAW2013}.
+ \item Three authors: \citeauthor{ABC01} \cite{ABC01} and \citeauthor{jabref} \cite{jabref}.
+ \item Four authors: \citeauthor{ABCD02} \cite{ABCD02}
\item At the beginning of a sentence: \Citeauthor{Go10}.
\end{itemize}
diff --git a/Master/texmf-dist/doc/latex/biblatex-lni/mwe-de.tex b/Master/texmf-dist/doc/latex/biblatex-lni/mwe-de.tex
new file mode 100644
index 00000000000..fa1d63b0ee9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-lni/mwe-de.tex
@@ -0,0 +1,13 @@
+\documentclass[biblatex]{lni}
+\bibliography{LNI-examples.bib}
+\begin{document}
+\title{Titel}
+\author{Vorname Nachname}
+\maketitle
+\begin{abstract}
+Text
+\end{abstract}
+\section{Einleitung}
+Text~\cite{jabref}.
+\printbibliography
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/biblatex-lni/mwe-en.tex b/Master/texmf-dist/doc/latex/biblatex-lni/mwe-en.tex
new file mode 100644
index 00000000000..ae449ffcaff
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-lni/mwe-en.tex
@@ -0,0 +1,15 @@
+% copied from README.md
+
+\documentclass[biblatex,english]{lni}
+\bibliography{LNI-examples.bib}
+\begin{document}
+\title{Title}
+\author{Firstname Lastname}
+\maketitle
+\begin{abstract}
+Text
+\end{abstract}
+\section{Introduction}
+Text~\cite{jabref}.
+\printbibliography
+\end{document}
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 d857bcab8a2..4d740550ac7 100644
--- a/Master/texmf-dist/tex/latex/biblatex-lni/LNI-english.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex-lni/LNI-english.lbx
@@ -14,9 +14,8 @@
[\LNI@lbxid]
\InheritBibliographyExtras{english}
-
\DeclareBibliographyStrings{%
inherit = {english},
in = {{In}{In}}
}
-\endinput \ No newline at end of file
+\endinput
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 886decdd8da..1449c94ec36 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, Georg Duffner, Oliver Kopp
+% Copyright (c) 2016-2023 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,8 +16,9 @@
\InheritBibliographyExtras{ngerman}
\DeclareBibliographyStrings{%
- inherit = {ngerman},
- urlseen = {{Stand}{Stand}},
- andothers = {{et al\adddot}{et al\adddot}}
+ inherit = {ngerman},
+ andothers = {{et al\adddot}{et al\adddot}},
+ references = {{Literaturverzeichnis}{Literaturverzeichnis}},
+ urlseen = {{Stand}{Stand}}
}
\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx b/Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx
index ec5f0df8c15..fce3e0e8d13 100644
--- a/Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-lni/LNI.bbx
@@ -1,6 +1,6 @@
% LNI --%
%
-% Copyright (c) 2016 Lukas C. Bossert, Georg Duffner, Oliver Kopp
+% Copyright (c) 2016-2023 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,8 +9,8 @@
% 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{2019-02-03}
-\def\LNI@version{0.5}
+\def\LNI@date{2023-11-09}
+\def\LNI@version{0.6}
\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)}
@@ -42,10 +42,14 @@
maxcitenames = 2,
eprint = true,
url = true,
- doi = false,
+ doi = true,
isbn = true,
- backref = false
+ backref = false,
+ date = year,
}
+
+\renewcommand*{\bibfont}{\small} % font size 9pt required by LNI template
+
\DeclareRedundantLanguages{ngerman}{german,ngerman,austrian,naustrian}
\DeclareRedundantLanguages{english,american}{english,american,british,%
canadian,australian,newzealand,USenglish,UKenglish}
@@ -64,9 +68,17 @@
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewcommand{\multinamedelim}{\addsemicolon\space}
\renewcommand{\finalnamedelim}{\multinamedelim}
-\newcommand*{\volnumdelim}{\addslash}
\newcommand*{\aftertitledelim}{\addperiod\addspace}
+% Source: https://tex.stackexchange.com/a/81573/9075
+\renewbibmacro*{volume+number+eid}{%
+ \printfield{volume}%
+ \setunit*{\addnbthinspace}%
+ \printfield{number}%
+ \setunit{\addcomma\space}%
+ \printfield{eid}}
+\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}
+
% Don't uppercase name prefixes
\renewbibmacro*{begentry}{\midsentence}
@@ -172,8 +184,7 @@
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
+ {\usebibmacro{volume+number+eid}}
{}%
\newunit
\printfield{volumes}%
@@ -216,8 +227,7 @@
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
+ {\usebibmacro{volume+number+eid}}
{}%
\newunit
\printfield{volumes}%
@@ -262,8 +272,7 @@
\usebibmacro{event+venue+date}%
\printunit{\aftertitledelim}\newblock
\iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
+ {\usebibmacro{volume+number+eid}}
{}%
\newunit
\printfield{volumes}%
@@ -308,8 +317,7 @@
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
+ {\usebibmacro{volume+number+eid}}
{}%
\newunit
\printfield{volumes}%
@@ -362,10 +370,7 @@
{\newunit
\printfield{series}%
\setunit{\addspace}}%
- \printfield{volume}%
- \printtext{\volnumdelim}%
- \printfield{number}%
- \setunit{\addspace}%
+ \usebibmacro{volume+number+eid}%
\usebibmacro{issue}%
\newunit
\usebibmacro{byeditor+others}%