diff options
author | Norbert Preining <norbert@preining.info> | 2020-01-06 03:01:05 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-01-06 03:01:05 +0000 |
commit | 9d0c8699c4a9f01ec5cc8aeb7e3b14956b3d51c1 (patch) | |
tree | 570162c5a6220ea63dffe4e5471f477e99e77c99 /macros/latex/contrib/thuthesis/thuthesis-numeric.bst | |
parent | d703bc2777b69363e791c0ec50045947b1a399da (diff) |
CTAN sync 202001060301
Diffstat (limited to 'macros/latex/contrib/thuthesis/thuthesis-numeric.bst')
-rw-r--r-- | macros/latex/contrib/thuthesis/thuthesis-numeric.bst | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/macros/latex/contrib/thuthesis/thuthesis-numeric.bst b/macros/latex/contrib/thuthesis/thuthesis-numeric.bst index 17f186e6de..c8cd10f4b8 100644 --- a/macros/latex/contrib/thuthesis/thuthesis-numeric.bst +++ b/macros/latex/contrib/thuthesis/thuthesis-numeric.bst @@ -39,7 +39,6 @@ INTEGERS { FUNCTION {load.config} { - #1 'uppercase.name := #0 'uppercase.name := #3 'max.num.authors := #1 'sentence.case.title := @@ -49,9 +48,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 := } @@ -143,7 +141,7 @@ FUNCTION {bbl.colon} { ": " } FUNCTION {bbl.wide.space} { "\ " } -FUNCTION {bbl.slash} { "//\allowbreak " } +FUNCTION {bbl.slash} { " // " } FUNCTION {bbl.sine.loco} { entry.lang lang.zh = @@ -617,19 +615,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 * "}" * } @@ -877,6 +871,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 @@ -885,7 +882,7 @@ FUNCTION {format.mark} if$ } if$ - "\allowbreak[" entry.mark * "]" * + " [" entry.mark * "]" * } { "" } if$ |