summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/thuthesis/thuthesis-author-year.bst
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-01-06 03:01:05 +0000
committerNorbert Preining <norbert@preining.info>2020-01-06 03:01:05 +0000
commit9d0c8699c4a9f01ec5cc8aeb7e3b14956b3d51c1 (patch)
tree570162c5a6220ea63dffe4e5471f477e99e77c99 /macros/latex/contrib/thuthesis/thuthesis-author-year.bst
parentd703bc2777b69363e791c0ec50045947b1a399da (diff)
CTAN sync 202001060301
Diffstat (limited to 'macros/latex/contrib/thuthesis/thuthesis-author-year.bst')
-rw-r--r--macros/latex/contrib/thuthesis/thuthesis-author-year.bst24
1 files changed, 10 insertions, 14 deletions
diff --git a/macros/latex/contrib/thuthesis/thuthesis-author-year.bst b/macros/latex/contrib/thuthesis/thuthesis-author-year.bst
index 350d534aa6..370aa0520f 100644
--- a/macros/latex/contrib/thuthesis/thuthesis-author-year.bst
+++ b/macros/latex/contrib/thuthesis/thuthesis-author-year.bst
@@ -44,10 +44,8 @@ INTEGERS {
FUNCTION {load.config}
{
- #1 'uppercase.name :=
#0 'uppercase.name :=
#3 'max.num.authors :=
- #0 'period.between.author.year :=
#1 'period.between.author.year :=
#1 'sentence.case.title :=
#0 'link.title :=
@@ -56,9 +54,8 @@ FUNCTION {load.config}
#0 'in.booktitle :=
#0 'italic.jounal :=
#0 'bold.journal.volume :=
- #1 'show.missing.address.publisher :=
+ #0 'show.missing.address.publisher :=
#1 'show.url :=
- #1 'show.doi :=
#0 'show.doi :=
#0 'show.note :=
#1 'lang.zh.order :=
@@ -155,7 +152,7 @@ FUNCTION {bbl.colon} { ": " }
FUNCTION {bbl.wide.space} { "\ " }
-FUNCTION {bbl.slash} { "//\allowbreak " }
+FUNCTION {bbl.slash} { " // " }
FUNCTION {bbl.sine.loco}
{ entry.lang lang.zh =
@@ -629,19 +626,15 @@ FUNCTION {make.full.names}
FUNCTION {output.bibitem}
{ newline$
"\bibitem[" write$
- label write$
- ")" make.full.names duplicate$ short.list =
+ label ")" *
+ make.full.names duplicate$ short.list =
{ pop$ }
{ * }
if$
's :=
s text.length$ 'charptr :=
- { charptr #0 > }
- { s charptr #1 substring$ "]" =
- { #0 'charptr := }
- { charptr #1 - 'charptr := }
- if$
- }
+ { charptr #0 > s charptr #1 substring$ "[" = not and }
+ { charptr #1 - 'charptr := }
while$
charptr #0 >
{ "{" s * "}" * }
@@ -889,6 +882,9 @@ FUNCTION {set.entry.mark}
FUNCTION {format.mark}
{ show.mark
+ type$ "phdthesis" = type$ "mastersthesis" = or type$ "patent" = or
+ medium empty$ not or entry.is.electronic or
+ and
{ medium empty$ not
{ entry.mark "/" * medium * 'entry.mark := }
{ entry.is.electronic
@@ -897,7 +893,7 @@ FUNCTION {format.mark}
if$
}
if$
- "\allowbreak[" entry.mark * "]" *
+ " [" entry.mark * "]" *
}
{ "" }
if$