summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-12-16 03:01:21 +0000
committerNorbert Preining <norbert@preining.info>2022-12-16 03:01:21 +0000
commit14c4ab52b25f4384f6db7938c2666fdd0f75a723 (patch)
tree00da17c9471442a0486f7901e54e4db06e0a6174 /macros/latex/contrib/biblatex-contrib
parent9e62b694b4955e33f16762e5c1f9f67bf736cf5b (diff)
CTAN sync 202212160301
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}