diff options
author | Karl Berry <karl@freefriends.org> | 2015-12-24 23:08:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-12-24 23:08:08 +0000 |
commit | 21c374dac3e9da7af20b033b1356184556c0cb89 (patch) | |
tree | 006bb1542cfc82912d2d05613def55bec556145a /Master/texmf-dist/bibtex | |
parent | b0887a408058ad36d79cda138316ce8840398c8f (diff) |
thuthesis (24dec15)
git-svn-id: svn://tug.org/texlive/trunk@39192 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/thuthesis/thuthesis.bst (renamed from Master/texmf-dist/bibtex/bst/thuthesis/thubib.bst) | 57 |
1 files changed, 40 insertions, 17 deletions
diff --git a/Master/texmf-dist/bibtex/bst/thuthesis/thubib.bst b/Master/texmf-dist/bibtex/bst/thuthesis/thuthesis.bst index 5a452bf33b9..31212eb5941 100644 --- a/Master/texmf-dist/bibtex/bst/thuthesis/thubib.bst +++ b/Master/texmf-dist/bibtex/bst/thuthesis/thuthesis.bst @@ -1,13 +1,12 @@ -% BibTeX standard bibliography style `thubib.bst' derived from `unsrt' +% BibTeX standard bibliography style `thuthesis.bst' derived from `unsrt' % This file is part of `thuthesis' package. -% -% $Id$ ENTRY { address author booktitle chapter + citedate edition editor howpublished @@ -15,6 +14,7 @@ ENTRY journal key lang + modifydate month note number @@ -182,7 +182,7 @@ FUNCTION {fin.entry} } % FUNCTION {fin.entry} -% { add.period$ +% { add.period$ % write$ % %remove.dots % newline$ @@ -284,7 +284,7 @@ FUNCTION {format.names} { namesleft #0 > } { s nameptr %"{ff }{ll}" - "{ll }{f{~}}" + "{ll }{f{~}}" format.name$ remove.dots %bibinfo bibinfo.check @@ -325,11 +325,11 @@ FUNCTION {format.names} { ", " * t * } { lang "zh" = { ", " * t * } - 'skip$ + 'skip$ if$ } if$ - } + } if$ } if$ @@ -490,6 +490,19 @@ FUNCTION {format.url} if$ } +FUNCTION {format.modifydate} +{ modifydate empty$ + { "" } + { new.block "(" modifydate * ")" * } + if$ +} + +FUNCTION {format.citedate} +{ new.block "[" citedate * "]" * } + +FUNCTION {format.onlinemark} +{ "[EB/OL]" } + INTEGERS { multiresult } @@ -752,7 +765,7 @@ FUNCTION {format.title.type} if$ } -FUNCTION {book} +FUNCTION {book} { output.bibitem author empty$ { format.editors "author and editor" output.check } @@ -779,12 +792,12 @@ FUNCTION {book} format.edition output format.address.publisher output pages empty$ - { format.date "year" output.check + { format.date "year" output.check % new.sentence % format.pages output } { format.date ":" * format.pages * output } - if$ + if$ fin.entry } @@ -807,7 +820,7 @@ FUNCTION {article} } if$ new.block - format.note output + format.note output fin.entry } @@ -909,7 +922,7 @@ FUNCTION {inproceedings} year output } { %address output.nonnull - format.address.publisher output + format.address.publisher output %format.date "year" output.check year output new.sentence @@ -926,7 +939,7 @@ FUNCTION {inproceedings} } if$ new.block - note output + note output fin.entry } @@ -982,7 +995,7 @@ FUNCTION {mastersthesis} new.block format.address.school output %format.madd "address" output.check - %school "school" output.check + %school "school" output.check format.date "year" output.check new.block note output @@ -1005,7 +1018,7 @@ FUNCTION {bachelorthesis} new.block format.address.school output %format.madd "address" output.check - %school "school" output.check + %school "school" output.check format.date "year" output.check new.block note output @@ -1027,11 +1040,21 @@ FUNCTION {misc} empty.misc.check } +FUNCTION {online} +{ output.bibitem + format.authors output + new.block + format.title remove.dots format.onlinemark * output + format.modifydate remove.dots format.citedate * output + format.url output + fin.entry +} + FUNCTION {phdthesis.type} { lang empty$ { "[D]" } { "\thuphdbib" } - if$ + if$ } FUNCTION {phdthesis} @@ -1043,7 +1066,7 @@ FUNCTION {phdthesis} new.block format.address.school output %address output - %school "school" output.check + %school "school" output.check format.date "year" output.check new.block note output |