summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-lncs
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-03-27 03:00:34 +0000
committerNorbert Preining <norbert@preining.info>2022-03-27 03:00:34 +0000
commitcfc8605fb8316f9b12730374e205212fc07b49ff (patch)
tree9e98cfdd05c32369ff8d0ea82ea954235f7b05e6 /macros/latex/contrib/biblatex-contrib/biblatex-lncs
parentc441617a2cd82c0b0907d0106dbf047987ffd97d (diff)
CTAN sync 202203270300
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-lncs')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-lncs/README.md5
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx42
2 files changed, 18 insertions, 29 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lncs/README.md b/macros/latex/contrib/biblatex-contrib/biblatex-lncs/README.md
index 40cc180f56..a49a43d17a 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-lncs/README.md
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-lncs/README.md
@@ -5,8 +5,7 @@ BibLaTeX style for Springer Lecture Notes in Computer Science
## Introduction
-The code works with `biblatex 2.2` and it requires `biber 1.2` as backend. It
-extends the standard `BiBTeX` model by an `acronym` entry.
+This style extends the standard `BiBTeX` model by an `acronym` entry.
## Usage
@@ -26,7 +25,7 @@ For building the included `biblatex-lncs-test.tex` the `llncs` class from the Sp
## License
-Copyright (c) 2021 Merlin Göttlinger and contributors
+Copyright (c) 2022 Merlin Göttlinger and contributors
Forked from <https://github.com/neapel/biblatex-lncs.git>,
who forked from <https://github.com/jossco/biblatex-lncs.git>, by Joseph Scott
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx
index 14007cc66f..5cf9cb4bc7 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx
@@ -1,4 +1,4 @@
-\ProvidesFile{lncs.bbx}[2022/01/17 v0.4]
+\ProvidesFile{lncs.bbx}[2022/03/26 v0.5]
\RequireBibliographyStyle{numeric}
@@ -28,7 +28,7 @@
\DeclareFieldFormat{labelnumberwidth}{#1.}
\DeclareFieldFormat{journaltitle}{#1}
-\DeclareFieldFormat[article,book,inproceedings,incollection, online,report,thesis]{title}{#1}
+\DeclareFieldFormat[article,book,inproceedings,incollection,online,report,thesis,misc]{title}{#1}
\DeclareFieldFormat{booktitle}{#1}
\DeclareFieldFormat[article]{pages}{#1}
\DeclareFieldFormat{year}{(#1)}
@@ -126,6 +126,12 @@
\renewcommand{\labelnamepunct}{\addcolon\space}
+\newbibmacro{doi}{%
+ \iftoggle{bbx:doi}
+ {\printfield{doi}}
+ {}%
+}
+
\DeclareNameFormat{author}{%
\nameparts{#1}%
\usebibmacro{name:family-given}
@@ -135,7 +141,7 @@
{\namepartsuffix}
\ifthenelse{\value{listcount}<\value{liststop}}
{\addcomma\space}%
- {\ifmorenames{\addcomma\nbspace\bibstring[\emph]{andothers}:}}%
+ {\ifmorenames{\addcomma~\bibstring[\emph]{andothers}:}{}}%
}
\DeclareNameFormat{editor}{%
@@ -147,7 +153,7 @@
{\namepartsuffix}
\ifthenelse{\value{listcount}<\value{liststop}}
{\addcomma\space}%
- {\ifmorenames{\addcomma\nbspace\bibstring[\emph]{andothers}}\space\ifthenelse{\value{listcount}>1}
+ {\ifmorenames{\addcomma~\bibstring[\emph]{andothers}}\space\ifthenelse{\value{listcount}>1}
{(\bibstring{editors})}
{(\bibstring{editor})}}%
}
@@ -170,9 +176,7 @@
{\usebibmacro{related:init}%
\usebibmacro{related}}
{}%
- \iftoggle{bbx:doi}
- {\printfield{doi}}
- {}%
+ \usebibmacro{doi}%
\nopunct%
\usebibmacro{finentry}%
}
@@ -198,9 +202,6 @@
{\usebibmacro{related:init}%
\usebibmacro{related}}
{}%
- \iftoggle{bbx:doi}
- {\printfield{doi}}
- {}%
\nopunct%
\usebibmacro{finentry}%
}
@@ -252,9 +253,7 @@
{\usebibmacro{related:init}%
\usebibmacro{related}}
{}%
- \iftoggle{bbx:doi}
- {\printfield{doi}}
- {}%
+ \usebibmacro{doi}%
\nopunct%
\usebibmacro{finentry}%
}
@@ -291,9 +290,7 @@
{\usebibmacro{related:init}%
\usebibmacro{related}}
{}%
- \iftoggle{bbx:doi}
- {\printfield{doi}}
- {}%
+ \usebibmacro{doi}%
\nopunct%
\usebibmacro{finentry}%
}
@@ -344,9 +341,7 @@
{\usebibmacro{related:init}%
\usebibmacro{related}}
{}%
- \iftoggle{bbx:doi}
- {\printfield{doi}}
- {}%
+ \usebibmacro{doi}%
\nopunct%
\usebibmacro{finentry}
}
@@ -363,9 +358,7 @@
\printfield{type}
\addcomma\newunit
\usebibmacro{institution+location+date}%
- \iftoggle{bbx:doi}
- {\printfield{doi}}
- {}%
+ \usebibmacro{doi}%
\usebibmacro{finentry}%
}
@@ -399,7 +392,6 @@
\newunit\newblock
\usebibmacro{institution+location+date}%
%\newunit\newblock
- %\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
@@ -409,9 +401,7 @@
{\usebibmacro{related:init}%
\usebibmacro{related}}
{}%
- \iftoggle{bbx:doi}
- {\printfield{doi}}
- {}%
+ \usebibmacro{doi}%
\nopunct%
\usebibmacro{finentry}
}