summaryrefslogtreecommitdiff
path: root/biblio/bibtex/contrib/ieejtran/IEEJtran.bst
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-01-28 03:02:00 +0000
committerNorbert Preining <norbert@preining.info>2023-01-28 03:02:00 +0000
commit261f52e7813eade06f278eda62023fda3d266980 (patch)
tree0d56bc08c2c97b37eda3497b1ed29eff56d02a1e /biblio/bibtex/contrib/ieejtran/IEEJtran.bst
parent924dfac8358e4caeec54b5bce18848ee52f36eac (diff)
CTAN sync 202301280301
Diffstat (limited to 'biblio/bibtex/contrib/ieejtran/IEEJtran.bst')
-rw-r--r--biblio/bibtex/contrib/ieejtran/IEEJtran.bst23
1 files changed, 14 insertions, 9 deletions
diff --git a/biblio/bibtex/contrib/ieejtran/IEEJtran.bst b/biblio/bibtex/contrib/ieejtran/IEEJtran.bst
index ae93901036..dc77f4fabe 100644
--- a/biblio/bibtex/contrib/ieejtran/IEEJtran.bst
+++ b/biblio/bibtex/contrib/ieejtran/IEEJtran.bst
@@ -2,9 +2,9 @@
%% IEEJtran.bst
%% BibTeX Bibliography Style file for IEEJ Journals and Conferences (unsorted)
%%
-%% Version 0.18 (2022/03/26)
+%% Version 0.19 (2023/01/26)
%%
-%% Copyright (c) 2020-2022 Haruki Ejiri and Yoshi Ri
+%% Copyright (c) 2020-2023 Haruki Ejiri and Yoshi Ri
%%
%% Original starting code base and algorithms obtained from the output of
%% Patrick W. Daly's makebst package as well as from prior versions of
@@ -68,8 +68,8 @@
%
FUNCTION{bst.file.name} { "IEEJtran.bst" }
-FUNCTION{bst.file.version} { "0.18" }
-FUNCTION{bst.file.date} { "2022/03/26" }
+FUNCTION{bst.file.version} { "0.19" }
+FUNCTION{bst.file.date} { "2023/01/26" }
FUNCTION{bst.file.website} { "https://github.com/ehki/jIEEEtran/" }
FUNCTION{bst.file.author} { "Haruki Ejiri and Yoshi Ri" }
@@ -646,7 +646,7 @@ INTEGERS { prev.status.punct this.status.punct punct.std
cap.no cap.yes
japanese.flag}
-INTEGERS { longest.label.width multiresult nameptr namesleft number.label numnames }
+INTEGERS { longest.label.width multiresult nameptr namesleft number.label numnames n}
INTEGERS { is.use.number.for.article
is.use.paper
@@ -1603,9 +1603,14 @@ FUNCTION {author.sep}
FUNCTION {author.sep.last}
-{ use.ieej.setting #0 =
- { japanese.flag #0 = % IEEE 形式の場合、and の取り扱いに注意
- { ", " * bbl.and space.word } % 英語ではカンマの後 and を挿入
+{ 'n :=
+ use.ieej.setting #0 =
+ { japanese.flag #0 = % IEEE 形式の場合、andの取り扱いに注意
+ { n #2 >
+ { ", " * bbl.and space.word } % 英語で著者が2人より多い場合、カンマの後に and を挿入
+ { "" * bbl.and space.word } % 英語で著者が2人以下の場合、カンマなしで and を挿入
+ if$
+ }
{ "," } % 日本語では他と同様に全角カンマのみ
if$
}
@@ -1869,7 +1874,7 @@ FUNCTION {format.names}
{ " " * bbl.etal emphasize }
if$ *
}
- { author.sep.last * t do.name.latex.cmd * }
+ { numnames author.sep.last * t do.name.latex.cmd * }
if$
}
if$