From d61004134d68c79416fe08a3938ede2b3e4476ef Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 5 Apr 2022 22:09:02 +0000 Subject: biblatex-lncs (27mar22) git-svn-id: svn://tug.org/texlive/trunk@62937 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/biblatex-lncs/lncs.bbx | 42 +++++++++------------- 1 file changed, 16 insertions(+), 26 deletions(-) (limited to 'Master/texmf-dist/tex/latex') 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} } -- cgit v1.2.3