summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-04-05 22:09:02 +0000
committerKarl Berry <karl@freefriends.org>2022-04-05 22:09:02 +0000
commitd61004134d68c79416fe08a3938ede2b3e4476ef (patch)
tree2f882d8e8fbda029c956321e61003e88961f9a74 /Master/texmf-dist/tex
parent8f814fdcffdfd813b99957e1b2dd5336f6f2dec2 (diff)
biblatex-lncs (27mar22)
git-svn-id: svn://tug.org/texlive/trunk@62937 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-lncs/lncs.bbx42
1 files changed, 16 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-lncs/lncs.bbx b/Master/texmf-dist/tex/latex/biblatex-lncs/lncs.bbx
index 14007cc66fc..5cf9cb4bc70 100644
--- a/Master/texmf-dist/tex/latex/biblatex-lncs/lncs.bbx
+++ b/Master/texmf-dist/tex/latex/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}
}