texlive[62937] Master/texmf-dist: biblatex-lncs (27mar22)

commits+karl at tug.org commits+karl at tug.org
Wed Apr 6 00:09:02 CEST 2022


Revision: 62937
          http://tug.org/svn/texlive?view=revision&revision=62937
Author:   karl
Date:     2022-04-06 00:09:02 +0200 (Wed, 06 Apr 2022)
Log Message:
-----------
biblatex-lncs (27mar22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/biblatex-lncs/README.md
    trunk/Master/texmf-dist/tex/latex/biblatex-lncs/lncs.bbx

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-lncs/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-lncs/README.md	2022-04-05 22:08:50 UTC (rev 62936)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-lncs/README.md	2022-04-05 22:09:02 UTC (rev 62937)
@@ -5,8 +5,7 @@
 
 ## 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 @@
 
 ## 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

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-lncs/lncs.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-lncs/lncs.bbx	2022-04-05 22:08:50 UTC (rev 62936)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-lncs/lncs.bbx	2022-04-05 22:09:02 UTC (rev 62937)
@@ -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}
 }



More information about the tex-live-commits mailing list.