diff options
author | Karl Berry <karl@freefriends.org> | 2020-01-16 21:56:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-01-16 21:56:31 +0000 |
commit | eca3def1a12bdc38ac511c97fb25c3adecd56865 (patch) | |
tree | 1a25e97bb450a975eeca9cef98cc934790613617 /Master/texmf-dist/bibtex | |
parent | 4891c2339425a6cee4c793d84059bd6340706296 (diff) |
bath-bst (16jan20)
git-svn-id: svn://tug.org/texlive/trunk@53422 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/bath-bst/bath.bst | 11 | ||||
-rw-r--r-- | Master/texmf-dist/bibtex/bst/bath-bst/bathx.bst | 23 |
2 files changed, 28 insertions, 6 deletions
diff --git a/Master/texmf-dist/bibtex/bst/bath-bst/bath.bst b/Master/texmf-dist/bibtex/bst/bath-bst/bath.bst index e42be4ff86a..f3aea4b2043 100644 --- a/Master/texmf-dist/bibtex/bst/bath-bst/bath.bst +++ b/Master/texmf-dist/bibtex/bst/bath-bst/bath.bst @@ -240,7 +240,7 @@ FUNCTION {either.or.check} FUNCTION {is.online} { type$ "software" = { #0 } - { url empty$ + { url empty$ doi empty$ and { type$ "online" = { #1 } { #0 } @@ -852,7 +852,12 @@ FUNCTION {format.thesis.type} FUNCTION {format.booklet.type} { type duplicate$ empty$ { pop$ "" } - { "type" bibinfo.check} + { "type" bibinfo.check + is.online author empty$ and editor empty$ and + { " " * bbl.online * } + 'skip$ + if$ + } if$ } FUNCTION {add.cmd.number} @@ -2420,6 +2425,6 @@ FUNCTION {end.bib} } EXECUTE {end.bib} %% -%% Copyright (C) 2019 by University of Bath +%% Copyright (C) 2020 by University of Bath %% %% End of file `bath.bst'. diff --git a/Master/texmf-dist/bibtex/bst/bath-bst/bathx.bst b/Master/texmf-dist/bibtex/bst/bath-bst/bathx.bst index 61da24f5ecb..e7f61277456 100644 --- a/Master/texmf-dist/bibtex/bst/bath-bst/bathx.bst +++ b/Master/texmf-dist/bibtex/bst/bath-bst/bathx.bst @@ -240,7 +240,7 @@ FUNCTION {either.or.check} FUNCTION {is.online} { type$ "software" = { #0 } - { url empty$ + { url empty$ doi empty$ and { type$ "online" = { #1 } { #0 } @@ -668,6 +668,18 @@ FUNCTION {get.title.addenda} and journal empty$ and + type empty$ + type$ "booklet" = not + type$ "audio" = not + and + type$ "video" = not + and + type$ "music" = not + and + type$ "movie" = not + and + or + and { bbl.online output } 'skip$ if$ @@ -872,7 +884,12 @@ FUNCTION {format.thesis.type} FUNCTION {format.booklet.type} { type duplicate$ empty$ { pop$ "" } - { "type" bibinfo.check} + { "type" bibinfo.check + is.online author empty$ and editor empty$ and + { " " * bbl.online * } + 'skip$ + if$ + } if$ } FUNCTION {add.cmd.number} @@ -2458,6 +2475,6 @@ FUNCTION {end.bib} } EXECUTE {end.bib} %% -%% Copyright (C) 2019 by University of Bath +%% Copyright (C) 2020 by University of Bath %% %% End of file `bathx.bst'. |