summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/thuthesis/thuthesis-author-year.bst
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/thuthesis/thuthesis-author-year.bst')
-rw-r--r--macros/latex/contrib/thuthesis/thuthesis-author-year.bst43
1 files changed, 31 insertions, 12 deletions
diff --git a/macros/latex/contrib/thuthesis/thuthesis-author-year.bst b/macros/latex/contrib/thuthesis/thuthesis-author-year.bst
index fe7e0d20dd..9a46a4e461 100644
--- a/macros/latex/contrib/thuthesis/thuthesis-author-year.bst
+++ b/macros/latex/contrib/thuthesis/thuthesis-author-year.bst
@@ -8,9 +8,9 @@
%% -------------------------------------------------------------------
%% GB/T 7714 BibTeX Style
%% https://github.com/zepinglee/gbt7714-bibtex-style
-%% Version: 2022/03/21 v2.1.4
+%% Version: 2024/03/08 v2.1.6
%% -------------------------------------------------------------------
-%% Copyright (C) 2016--2022 by Zeping Lee <zepinglee AT gmail.com>
+%% Copyright (C) 2016--2024 by Zeping Lee <zepinglee AT gmail.com>
%% -------------------------------------------------------------------
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -39,6 +39,7 @@ INTEGERS {
show.medium.type
short.journal
italic.journal
+ link.journal
bold.journal.volume
show.missing.address.publisher
space.before.pages
@@ -83,6 +84,7 @@ FUNCTION {load.config}
"slash" 'component.part.label :=
#0 'short.journal :=
#0 'italic.journal :=
+ #0 'link.journal :=
#0 'bold.journal.volume :=
#0 'show.missing.address.publisher :=
#1 'space.before.pages :=
@@ -745,7 +747,7 @@ FUNCTION {editor.full}
FUNCTION {make.full.names}
{ type$ "book" =
- type$ "inbook" =
+ type$ "inbook" = booktitle empty$ not and
or
'author.editor.full
{ type$ "collection" =
@@ -887,7 +889,7 @@ FUNCTION {format.volume}
{ volume is.number
{ entry.lang lang.zh =
{ "第 " volume * " 卷" * }
- { "volume" volume tie.or.space.connect }
+ { "Vol." volume tie.or.space.connect }
if$
}
{ volume }
@@ -902,7 +904,7 @@ FUNCTION {format.number}
{ number is.number
{ entry.lang lang.zh =
{ "第 " number * " 册" * }
- { "number" number tie.or.space.connect }
+ { "No." number tie.or.space.connect }
if$
}
{ number }
@@ -1067,7 +1069,7 @@ FUNCTION {get.journal.title}
}
FUNCTION {check.arxiv.preprint}
-{ #1 #5 substring$ "l" change.case$ "arxiv" =
+{ #1 #5 substring$ purify$ "l" change.case$ "arxiv" =
{ #1 }
{ #0 }
if$
@@ -1080,6 +1082,10 @@ FUNCTION {format.journal}
'emphasize
'skip$
if$
+ link.journal
+ 'add.link
+ 'skip$
+ if$
}
'skip$
if$
@@ -1976,6 +1982,10 @@ FUNCTION {preprint}
format.urldate "" output.after
output.eprint
output.url
+ show.preprint not eprint empty$ or
+ 'output.doi
+ 'skip$
+ if$
new.block
format.note output
fin.entry
@@ -2040,7 +2050,12 @@ FUNCTION {dataset}
electronic
}
-FUNCTION {inbook} { book }
+FUNCTION {inbook} {
+ booktitle empty$
+ 'book
+ 'incollection
+ if$
+}
FUNCTION {inproceedings}
{ "C" set.entry.mark
@@ -2058,7 +2073,7 @@ FUNCTION {map}
FUNCTION {manual} { monograph }
-FUNCTION {mastersthesis}
+FUNCTION {thesis}
{ "D" set.entry.mark
monograph
}
@@ -2073,7 +2088,9 @@ FUNCTION {online}
electronic
}
-FUNCTION {phdthesis} { mastersthesis }
+FUNCTION {mastersthesis} { thesis }
+
+FUNCTION {phdthesis} { thesis }
FUNCTION {proceedings}
{ "C" set.entry.mark
@@ -2090,11 +2107,13 @@ FUNCTION {standard}
misc
}
-FUNCTION {techreport}
+FUNCTION {report}
{ "R" set.entry.mark
misc
}
+FUNCTION {techreport} { report }
+
FUNCTION {unpublished} { misc }
FUNCTION {default.type} { misc }
@@ -2281,7 +2300,7 @@ FUNCTION {editor.key.organization.label}
FUNCTION {calc.short.authors}
{ "" 'short.label :=
type$ "book" =
- type$ "inbook" =
+ type$ "inbook" = booktitle empty$ not and
or
'author.editor.key.label
{ type$ "collection" =
@@ -2483,7 +2502,7 @@ FUNCTION {presort}
" "
*
type$ "book" =
- type$ "inbook" =
+ type$ "inbook" = booktitle empty$ not and
or
'author.editor.sort
{ type$ "collection" =