Skip to content

Commit 742353f

Browse files
committed
update bst files for biliography
Former-commit-id: 2faf36f
1 parent 3a4d20c commit 742353f

File tree

2 files changed

+56
-86
lines changed

2 files changed

+56
-86
lines changed

Biblio/gbt7714-plain.bst

+31-43
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,15 @@ FUNCTION {is.in.chinese}
348348
FUNCTION {format.et.al}
349349
{ is.in.chinese
350350
{ "等"}
351-
{ "et~al." }
351+
{ lang.ja entry.lang =
352+
{ "他"}
353+
{ lang.ru entry.lang =
354+
{ "идр" }
355+
{ "et~al." }
356+
if$
357+
}
358+
if$
359+
}
352360
if$
353361
}
354362

@@ -376,7 +384,8 @@ FUNCTION {format.names}
376384
{ format.et.al }
377385
{ t get.str.lang 'name.lang :=
378386
name.lang lang.en =
379-
{ t #1 "{vv~}{ll}{ f{~}}" format.name$ "u" change.case$
387+
{ t #1 "{vv~}{ll}{ f{~}}" format.name$
388+
"u" change.case$
380389
t #1 "{, jj}" format.name$ *
381390
}
382391
{ t #1 "{ll}{ff}" format.name$ }
@@ -909,20 +918,6 @@ FUNCTION {format.edition}
909918
if$
910919
}
911920

912-
FUNCTION {format.sine.loco}
913-
{ is.in.chinese
914-
{ "[出版地不详]" }
915-
{ "[S.l.]" }
916-
if$
917-
}
918-
919-
FUNCTION {format.sine.nomine}
920-
{ is.in.chinese
921-
{ "[出版者不详]" }
922-
{ "[s.n.]" }
923-
if$
924-
}
925-
926921
FUNCTION {format.publisher}
927922
{ publisher empty$ not
928923
{ publisher }
@@ -942,36 +937,17 @@ FUNCTION {format.publisher}
942937
if$
943938
}
944939

945-
FUNCTION {format.sine.loco.sine.nomine}
946-
{ is.in.chinese
947-
{ "[出版地不详: 出版者不详]" }
948-
{ "[S.l.: s.n.]" }
949-
if$
950-
}
951-
952940
FUNCTION {format.address.publisher}
953941
{ address empty$ not
954942
{ address
955943
format.publisher empty$ not
956944
{ ": " * format.publisher * }
957-
{ url empty$ doi empty$ and
958-
{ ": " * format.sine.nomine * }
959-
'skip$
960-
if$
961-
}
945+
'skip$
962946
if$
963947
}
964-
{ url empty$ doi empty$ and
965-
{ format.publisher empty$ not
966-
{ format.sine.loco ": " * format.publisher * }
967-
{ format.sine.loco.sine.nomine }
968-
if$
969-
}
970-
{ format.publisher empty$ not
971-
{ format.publisher }
972-
{ "" }
973-
if$
974-
}
948+
{ format.publisher empty$ not
949+
{ format.publisher }
950+
{ "" }
975951
if$
976952
}
977953
if$
@@ -994,6 +970,10 @@ FUNCTION {format.journal.number}
994970
if$
995971
}
996972

973+
FUNCTION {format.journal}
974+
{ journal
975+
}
976+
997977
FUNCTION {format.periodical.year.volume.number}
998978
{ year empty$ not
999979
{ year extract.before.dash }
@@ -1129,6 +1109,7 @@ FUNCTION {monograph}
11291109
}
11301110
if$
11311111
output
1112+
new.sentence
11321113
format.year "year" output.check
11331114
new.block
11341115
format.series.vol.num.title "title" output.check
@@ -1151,6 +1132,7 @@ FUNCTION {incollection}
11511132
{ output.bibitem
11521133
format.authors "author" output.check
11531134
author format.key output
1135+
new.sentence
11541136
format.year "year" output.check
11551137
new.block
11561138
format.title "title" output.check
@@ -1177,6 +1159,7 @@ FUNCTION {periodical}
11771159
{ output.bibitem
11781160
format.authors "author" output.check
11791161
author format.key output
1162+
new.sentence
11801163
format.year "year" output.check
11811164
new.block
11821165
format.title "title" output.check
@@ -1192,17 +1175,18 @@ FUNCTION {periodical}
11921175
fin.entry
11931176
}
11941177

1195-
FUNCTION {article}
1178+
FUNCTION {article.in.journal}
11961179
{ output.bibitem
11971180
format.authors "author" output.check
11981181
author format.key output
1182+
new.sentence
11991183
format.year "year" output.check
12001184
new.block
12011185
format.title "title" output.check
12021186
"J" set.mark
12031187
format.mark "" output.after
12041188
new.block
1205-
journal "journal" output.check
1189+
format.journal "journal" output.check
12061190
volume output
12071191
format.journal.number "" output.after
12081192
format.pages punct.colon output.after
@@ -1217,6 +1201,7 @@ FUNCTION {patent}
12171201
{ output.bibitem
12181202
format.authors output
12191203
author format.key output
1204+
new.sentence
12201205
format.year "year" output.check
12211206
new.block
12221207
format.title
@@ -1239,6 +1224,7 @@ FUNCTION {online}
12391224
{ output.bibitem
12401225
format.authors output
12411226
author format.key output
1227+
new.sentence
12421228
format.year "year" output.check
12431229
new.block
12441230
format.series.vol.num.title "title" output.check
@@ -1256,7 +1242,7 @@ FUNCTION {online}
12561242

12571243
FUNCTION {misc}
12581244
{ journal empty$ not
1259-
'article
1245+
'article.in.journal
12601246
{ booktitle empty$ not
12611247
'incollection
12621248
{ url empty$ not
@@ -1277,6 +1263,8 @@ FUNCTION {archive}
12771263
misc
12781264
}
12791265

1266+
FUNCTION {article} { misc }
1267+
12801268
FUNCTION {book} { monograph }
12811269

12821270
FUNCTION {collection}
@@ -1315,7 +1303,7 @@ FUNCTION {mastersthesis}
13151303

13161304
FUNCTION {newspaper}
13171305
{ "N" set.mark
1318-
article
1306+
article.in.journal
13191307
}
13201308

13211309
FUNCTION {phdthesis} { mastersthesis }

Biblio/gbt7714-unsrt.bst

+25-43
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,15 @@ FUNCTION {is.in.chinese}
348348
FUNCTION {format.et.al}
349349
{ is.in.chinese
350350
{ "等"}
351-
{ "et~al." }
351+
{ lang.ja entry.lang =
352+
{ "他"}
353+
{ lang.ru entry.lang =
354+
{ "идр" }
355+
{ "et~al." }
356+
if$
357+
}
358+
if$
359+
}
352360
if$
353361
}
354362

@@ -376,7 +384,8 @@ FUNCTION {format.names}
376384
{ format.et.al }
377385
{ t get.str.lang 'name.lang :=
378386
name.lang lang.en =
379-
{ t #1 "{vv~}{ll}{ f{~}}" format.name$ "u" change.case$
387+
{ t #1 "{vv~}{ll}{ f{~}}" format.name$
388+
"u" change.case$
380389
t #1 "{, jj}" format.name$ *
381390
}
382391
{ t #1 "{ll}{ff}" format.name$ }
@@ -909,20 +918,6 @@ FUNCTION {format.edition}
909918
if$
910919
}
911920

912-
FUNCTION {format.sine.loco}
913-
{ is.in.chinese
914-
{ "[出版地不详]" }
915-
{ "[S.l.]" }
916-
if$
917-
}
918-
919-
FUNCTION {format.sine.nomine}
920-
{ is.in.chinese
921-
{ "[出版者不详]" }
922-
{ "[s.n.]" }
923-
if$
924-
}
925-
926921
FUNCTION {format.publisher}
927922
{ publisher empty$ not
928923
{ publisher }
@@ -942,36 +937,17 @@ FUNCTION {format.publisher}
942937
if$
943938
}
944939

945-
FUNCTION {format.sine.loco.sine.nomine}
946-
{ is.in.chinese
947-
{ "[出版地不详: 出版者不详]" }
948-
{ "[S.l.: s.n.]" }
949-
if$
950-
}
951-
952940
FUNCTION {format.address.publisher}
953941
{ address empty$ not
954942
{ address
955943
format.publisher empty$ not
956944
{ ": " * format.publisher * }
957-
{ url empty$ doi empty$ and
958-
{ ": " * format.sine.nomine * }
959-
'skip$
960-
if$
961-
}
945+
'skip$
962946
if$
963947
}
964-
{ url empty$ doi empty$ and
965-
{ format.publisher empty$ not
966-
{ format.sine.loco ": " * format.publisher * }
967-
{ format.sine.loco.sine.nomine }
968-
if$
969-
}
970-
{ format.publisher empty$ not
971-
{ format.publisher }
972-
{ "" }
973-
if$
974-
}
948+
{ format.publisher empty$ not
949+
{ format.publisher }
950+
{ "" }
975951
if$
976952
}
977953
if$
@@ -994,6 +970,10 @@ FUNCTION {format.journal.number}
994970
if$
995971
}
996972

973+
FUNCTION {format.journal}
974+
{ journal
975+
}
976+
997977
FUNCTION {format.periodical.year.volume.number}
998978
{ year empty$ not
999979
{ year extract.before.dash }
@@ -1192,7 +1172,7 @@ FUNCTION {periodical}
11921172
fin.entry
11931173
}
11941174

1195-
FUNCTION {article}
1175+
FUNCTION {article.in.journal}
11961176
{ output.bibitem
11971177
format.authors "author" output.check
11981178
author format.key output
@@ -1201,7 +1181,7 @@ FUNCTION {article}
12011181
"J" set.mark
12021182
format.mark "" output.after
12031183
new.block
1204-
journal "journal" output.check
1184+
format.journal "journal" output.check
12051185
format.date "year" output.check
12061186
volume output
12071187
format.journal.number "" output.after
@@ -1258,7 +1238,7 @@ FUNCTION {online}
12581238

12591239
FUNCTION {misc}
12601240
{ journal empty$ not
1261-
'article
1241+
'article.in.journal
12621242
{ booktitle empty$ not
12631243
'incollection
12641244
{ url empty$ not
@@ -1279,6 +1259,8 @@ FUNCTION {archive}
12791259
misc
12801260
}
12811261

1262+
FUNCTION {article} { misc }
1263+
12821264
FUNCTION {book} { monograph }
12831265

12841266
FUNCTION {collection}
@@ -1317,7 +1299,7 @@ FUNCTION {mastersthesis}
13171299

13181300
FUNCTION {newspaper}
13191301
{ "N" set.mark
1320-
article
1302+
article.in.journal
13211303
}
13221304

13231305
FUNCTION {phdthesis} { mastersthesis }

0 commit comments

Comments
 (0)