summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx39
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.cbx2
2 files changed, 15 insertions, 26 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.bbx
index 5cf9cb4bc7..100de6d671 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/03/26 v0.5]
+\ProvidesFile{lncs.bbx}[2022/12/15 v0.6]
\RequireBibliographyStyle{numeric}
@@ -132,31 +132,20 @@
{}%
}
-\DeclareNameFormat{author}{%
- \nameparts{#1}%
- \usebibmacro{name:family-given}
- {\namepartfamily}
- {\namepartgiveni}
- {\namepartprefix}
- {\namepartsuffix}
- \ifthenelse{\value{listcount}<\value{liststop}}
- {\addcomma\space}%
- {\ifmorenames{\addcomma~\bibstring[\emph]{andothers}:}{}}%
-}
+\renewbibmacro*{name:andothers}{% from biblatex.def
+ \ifboolexpr{
+ test {\ifnumequal{\value{listcount}}{\value{liststop}}}
+ and
+ test \ifmorenames
+ }
+ {\ifnumgreater{\value{liststop}}{1}
+ {\finalandcomma}
+ {}%
+ \printdelim{andothersdelim}\bibstring[\emph]{andothers}} % added: \emph
+ {}}
-\DeclareNameFormat{editor}{%
- \nameparts{#1}%
- \usebibmacro{name:family-given}
- {\namepartfamily}
- {\namepartgiveni}
- {\namepartprefix}
- {\namepartsuffix}
- \ifthenelse{\value{listcount}<\value{liststop}}
- {\addcomma\space}%
- {\ifmorenames{\addcomma~\bibstring[\emph]{andothers}}\space\ifthenelse{\value{listcount}>1}
- {(\bibstring{editors})}
- {(\bibstring{editor})}}%
-}
+\DeclareFieldFormat{editortype}{(#1)}
+\DeclareDelimFormat{editortypedelim}{\space}
\DeclareBibliographyDriver{article}{%
\usebibmacro{bibindex}%
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.cbx
index 4b6c71ce61..f8d7be9b39 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-lncs/lncs.cbx
@@ -1,4 +1,4 @@
-\ProvidesFile{lncs.cbx}[2022/01/17 v0.4]
+\ProvidesFile{lncs.cbx}[2022/12/15 v0.6]
\RequireCitationStyle{numeric}