Skip to content

Commit 7447e54

Browse files
committed
update crossover
1 parent 2a33ce0 commit 7447e54

File tree

11 files changed

+20122
-592
lines changed

11 files changed

+20122
-592
lines changed

bibstyle/thuthesis-author-year.bst

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
%% -------------------------------------------------------------------
99
%% GB/T 7714 BibTeX Style
1010
%% https://github.com/zepinglee/gbt7714-bibtex-style
11-
%% Version: 2022/03/21 v2.1.4
11+
%% Version: 2024/03/08 v2.1.6
1212
%% -------------------------------------------------------------------
13-
%% Copyright (C) 2016--2022 by Zeping Lee <zepinglee AT gmail.com>
13+
%% Copyright (C) 2016--2024 by Zeping Lee <zepinglee AT gmail.com>
1414
%% -------------------------------------------------------------------
1515
%% This file may be distributed and/or modified under the
1616
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -39,6 +39,7 @@ INTEGERS {
3939
show.medium.type
4040
short.journal
4141
italic.journal
42+
link.journal
4243
bold.journal.volume
4344
show.missing.address.publisher
4445
space.before.pages
@@ -83,6 +84,7 @@ FUNCTION {load.config}
8384
"slash" 'component.part.label :=
8485
#0 'short.journal :=
8586
#0 'italic.journal :=
87+
#0 'link.journal :=
8688
#0 'bold.journal.volume :=
8789
#0 'show.missing.address.publisher :=
8890
#1 'space.before.pages :=
@@ -745,7 +747,7 @@ FUNCTION {editor.full}
745747

746748
FUNCTION {make.full.names}
747749
{ type$ "book" =
748-
type$ "inbook" =
750+
type$ "inbook" = booktitle empty$ not and
749751
or
750752
'author.editor.full
751753
{ type$ "collection" =
@@ -887,7 +889,7 @@ FUNCTION {format.volume}
887889
{ volume is.number
888890
{ entry.lang lang.zh =
889891
{ "第 " volume * " 卷" * }
890-
{ "volume" volume tie.or.space.connect }
892+
{ "Vol." volume tie.or.space.connect }
891893
if$
892894
}
893895
{ volume }
@@ -902,7 +904,7 @@ FUNCTION {format.number}
902904
{ number is.number
903905
{ entry.lang lang.zh =
904906
{ "第 " number * " 册" * }
905-
{ "number" number tie.or.space.connect }
907+
{ "No." number tie.or.space.connect }
906908
if$
907909
}
908910
{ number }
@@ -1067,7 +1069,7 @@ FUNCTION {get.journal.title}
10671069
}
10681070

10691071
FUNCTION {check.arxiv.preprint}
1070-
{ #1 #5 substring$ "l" change.case$ "arxiv" =
1072+
{ #1 #5 substring$ purify$ "l" change.case$ "arxiv" =
10711073
{ #1 }
10721074
{ #0 }
10731075
if$
@@ -1080,6 +1082,10 @@ FUNCTION {format.journal}
10801082
'emphasize
10811083
'skip$
10821084
if$
1085+
link.journal
1086+
'add.link
1087+
'skip$
1088+
if$
10831089
}
10841090
'skip$
10851091
if$
@@ -1976,6 +1982,10 @@ FUNCTION {preprint}
19761982
format.urldate "" output.after
19771983
output.eprint
19781984
output.url
1985+
show.preprint not eprint empty$ or
1986+
'output.doi
1987+
'skip$
1988+
if$
19791989
new.block
19801990
format.note output
19811991
fin.entry
@@ -2040,7 +2050,12 @@ FUNCTION {dataset}
20402050
electronic
20412051
}
20422052

2043-
FUNCTION {inbook} { book }
2053+
FUNCTION {inbook} {
2054+
booktitle empty$
2055+
'book
2056+
'incollection
2057+
if$
2058+
}
20442059

20452060
FUNCTION {inproceedings}
20462061
{ "C" set.entry.mark
@@ -2058,7 +2073,7 @@ FUNCTION {map}
20582073

20592074
FUNCTION {manual} { monograph }
20602075

2061-
FUNCTION {mastersthesis}
2076+
FUNCTION {thesis}
20622077
{ "D" set.entry.mark
20632078
monograph
20642079
}
@@ -2073,7 +2088,9 @@ FUNCTION {online}
20732088
electronic
20742089
}
20752090

2076-
FUNCTION {phdthesis} { mastersthesis }
2091+
FUNCTION {mastersthesis} { thesis }
2092+
2093+
FUNCTION {phdthesis} { thesis }
20772094

20782095
FUNCTION {proceedings}
20792096
{ "C" set.entry.mark
@@ -2090,11 +2107,13 @@ FUNCTION {standard}
20902107
misc
20912108
}
20922109

2093-
FUNCTION {techreport}
2110+
FUNCTION {report}
20942111
{ "R" set.entry.mark
20952112
misc
20962113
}
20972114

2115+
FUNCTION {techreport} { report }
2116+
20982117
FUNCTION {unpublished} { misc }
20992118

21002119
FUNCTION {default.type} { misc }
@@ -2281,7 +2300,7 @@ FUNCTION {editor.key.organization.label}
22812300
FUNCTION {calc.short.authors}
22822301
{ "" 'short.label :=
22832302
type$ "book" =
2284-
type$ "inbook" =
2303+
type$ "inbook" = booktitle empty$ not and
22852304
or
22862305
'author.editor.key.label
22872306
{ type$ "collection" =
@@ -2483,7 +2502,7 @@ FUNCTION {presort}
24832502
" "
24842503
*
24852504
type$ "book" =
2486-
type$ "inbook" =
2505+
type$ "inbook" = booktitle empty$ not and
24872506
or
24882507
'author.editor.sort
24892508
{ type$ "collection" =

bibstyle/thuthesis-bachelor.bst

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
%% -------------------------------------------------------------------
99
%% GB/T 7714 BibTeX Style
1010
%% https://github.com/zepinglee/gbt7714-bibtex-style
11-
%% Version: 2022/03/21 v2.1.4
11+
%% Version: 2024/03/08 v2.1.6
1212
%% -------------------------------------------------------------------
13-
%% Copyright (C) 2016--2022 by Zeping Lee <zepinglee AT gmail.com>
13+
%% Copyright (C) 2016--2024 by Zeping Lee <zepinglee AT gmail.com>
1414
%% -------------------------------------------------------------------
1515
%% This file may be distributed and/or modified under the
1616
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -39,6 +39,7 @@ INTEGERS {
3939
show.medium.type
4040
short.journal
4141
italic.journal
42+
link.journal
4243
bold.journal.volume
4344
show.missing.address.publisher
4445
space.before.pages
@@ -78,6 +79,7 @@ FUNCTION {load.config}
7879
"slash" 'component.part.label :=
7980
#0 'short.journal :=
8081
#0 'italic.journal :=
82+
#0 'link.journal :=
8183
#0 'bold.journal.volume :=
8284
#0 'show.missing.address.publisher :=
8385
#1 'space.before.pages :=
@@ -735,7 +737,7 @@ FUNCTION {editor.full}
735737

736738
FUNCTION {make.full.names}
737739
{ type$ "book" =
738-
type$ "inbook" =
740+
type$ "inbook" = booktitle empty$ not and
739741
or
740742
'author.editor.full
741743
{ type$ "collection" =
@@ -877,7 +879,7 @@ FUNCTION {format.volume}
877879
{ volume is.number
878880
{ entry.lang lang.zh =
879881
{ "第 " volume * " 卷" * }
880-
{ "volume" volume tie.or.space.connect }
882+
{ "Vol." volume tie.or.space.connect }
881883
if$
882884
}
883885
{ volume }
@@ -892,7 +894,7 @@ FUNCTION {format.number}
892894
{ number is.number
893895
{ entry.lang lang.zh =
894896
{ "第 " number * " 册" * }
895-
{ "number" number tie.or.space.connect }
897+
{ "No." number tie.or.space.connect }
896898
if$
897899
}
898900
{ number }
@@ -1057,7 +1059,7 @@ FUNCTION {get.journal.title}
10571059
}
10581060

10591061
FUNCTION {check.arxiv.preprint}
1060-
{ #1 #5 substring$ "l" change.case$ "arxiv" =
1062+
{ #1 #5 substring$ purify$ "l" change.case$ "arxiv" =
10611063
{ #1 }
10621064
{ #0 }
10631065
if$
@@ -1070,6 +1072,10 @@ FUNCTION {format.journal}
10701072
'emphasize
10711073
'skip$
10721074
if$
1075+
link.journal
1076+
'add.link
1077+
'skip$
1078+
if$
10731079
}
10741080
'skip$
10751081
if$
@@ -1966,6 +1972,10 @@ FUNCTION {preprint}
19661972
format.urldate "" output.after
19671973
output.eprint
19681974
output.url
1975+
show.preprint not eprint empty$ or
1976+
'output.doi
1977+
'skip$
1978+
if$
19691979
new.block
19701980
format.note output
19711981
fin.entry
@@ -2030,7 +2040,12 @@ FUNCTION {dataset}
20302040
electronic
20312041
}
20322042

2033-
FUNCTION {inbook} { book }
2043+
FUNCTION {inbook} {
2044+
booktitle empty$
2045+
'book
2046+
'incollection
2047+
if$
2048+
}
20342049

20352050
FUNCTION {inproceedings}
20362051
{ "C" set.entry.mark
@@ -2048,7 +2063,7 @@ FUNCTION {map}
20482063

20492064
FUNCTION {manual} { monograph }
20502065

2051-
FUNCTION {mastersthesis}
2066+
FUNCTION {thesis}
20522067
{ "D" set.entry.mark
20532068
monograph
20542069
}
@@ -2063,7 +2078,9 @@ FUNCTION {online}
20632078
electronic
20642079
}
20652080

2066-
FUNCTION {phdthesis} { mastersthesis }
2081+
FUNCTION {mastersthesis} { thesis }
2082+
2083+
FUNCTION {phdthesis} { thesis }
20672084

20682085
FUNCTION {proceedings}
20692086
{ "C" set.entry.mark
@@ -2080,11 +2097,13 @@ FUNCTION {standard}
20802097
misc
20812098
}
20822099

2083-
FUNCTION {techreport}
2100+
FUNCTION {report}
20842101
{ "R" set.entry.mark
20852102
misc
20862103
}
20872104

2105+
FUNCTION {techreport} { report }
2106+
20882107
FUNCTION {unpublished} { misc }
20892108

20902109
FUNCTION {default.type} { misc }
@@ -2271,7 +2290,7 @@ FUNCTION {editor.key.organization.label}
22712290
FUNCTION {calc.short.authors}
22722291
{ "" 'short.label :=
22732292
type$ "book" =
2274-
type$ "inbook" =
2293+
type$ "inbook" = booktitle empty$ not and
22752294
or
22762295
'author.editor.key.label
22772296
{ type$ "collection" =

0 commit comments

Comments
 (0)