diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst | 276 |
1 files changed, 159 insertions, 117 deletions
diff --git a/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst b/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst index 908b062c1f4..48c1e0a475f 100644 --- a/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst +++ b/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst @@ -1,7 +1,7 @@ % !Mode:: "TeX:UTF-8" %% udesoftec.bst %% Copyright 2014-2015 J. Peter M. Schuler -%% 2016/08/15 v1.5.5 udesoftec +%% 2017/05/12 v1.6.0 udesoftec % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -53,7 +53,7 @@ ENTRY title type url - urldate + urldate volume year } @@ -67,12 +67,21 @@ FUNCTION {init.state.consts} #1 'mid.sentence := #2 'after.sentence := #3 'after.block := - #4 'before.bibitemtitle := - #5 'before.year := + #4 'before.bibitemtitle := + #5 'before.year := } STRINGS { s t } +FUNCTION {output.justdonothing} +{ 's := + output.state mid.sentence = + { "" * write$ } + { "" * write$ } +if$ + s +} + FUNCTION {output.justdo} { 's := output.state mid.sentence = @@ -100,23 +109,23 @@ FUNCTION {output.nonnull} "\newblock " write$ } { - output.state before.all = - 'write$ + output.state before.all = + 'write$ { - output.state before.bibitemtitle = - {"\bblAuthorTitleSep{}" * write$ } - { - output.state before.bibitemtitle = - 'write$ - { output.state before.year = - {"\bblAuthorYearSep{}" * write$ } - {add.period$ " " * write$ } - if$ - } - if$ - } - if$ - } + output.state before.bibitemtitle = + {"\bblAuthorTitleSep{}" * write$ } + { + output.state before.bibitemtitle = + 'write$ + { output.state before.year = + {"\bblAuthorYearSep{}" * write$ } + {add.period$ " " * write$ } + if$ + } + if$ + } + if$ + } if$ } if$ @@ -135,13 +144,13 @@ FUNCTION {output.nonnull2} "\newblock " write$ } { - output.state before.all = + output.state before.all = 'write$ - { output.state before.year = - {"\bblAuthorYearSep" * write$ } - {add.period$ " " * write$ } - if$ - } + { output.state before.year = + {"\bblAuthorYearSep" * write$ } + {add.period$ " " * write$ } + if$ + } if$ } if$ @@ -175,17 +184,17 @@ FUNCTION {fin.entry} FUNCTION {new.block} { output.state before.all = - 'skip$ + 'skip$ { output.state before.bibitemtitle = - 'skip$ - { - output.state before.year = - {before.bibitemtitle 'output.state := } - {after.block 'output.state := } - if$ - } - if$ - } + 'skip$ + { + output.state before.year = + {before.bibitemtitle 'output.state := } + {after.block 'output.state := } + if$ + } + if$ + } if$ } @@ -353,8 +362,8 @@ FUNCTION {format.authorStyleInList} { duplicate$ empty$ { pop$ "" } { - "\bblFontAuthorInList{" swap$ * "}" * - } + "\bblFontAuthorInList{" swap$ * "}" * + } if$ } @@ -362,7 +371,7 @@ FUNCTION {format.authors} % for reference list { author empty$ { "" } { author format.names format.authorStyleInList - } + } if$ } @@ -438,9 +447,9 @@ FUNCTION {format.title} { title empty$ { "" } { "\bblFontBookTitle{" title * "}" * - before.bibitemtitle 'output.state := + before.bibitemtitle 'output.state := - } + } if$ } @@ -572,8 +581,8 @@ FUNCTION {format.date} FUNCTION {format.year} { - "\bblFontYearInList{\bblYear{" format.date * "}}" * - before.year 'output.state := + "\bblFontYearInList{\bblYear{" format.date * "}}" * + before.year 'output.state := } FUNCTION {format.yearpublished} @@ -589,7 +598,7 @@ FUNCTION {format.standardpublished} FUNCTION {format.btitle} { - "\bblFontBookTitle{" title * "}" * + "\bblFontBookTitle{" title * "}" * before.bibitemtitle 'output.state := } @@ -609,13 +618,14 @@ FUNCTION {either.or.check} } FUNCTION {format.bvolume} -{ volume empty$ +{ + "volume and number" number either.or.check + volume empty$ { "" } { series empty$ - 'skip$ + { "\bblSeries{\bblvol{} " * volume * "}" } { "\bblVolumeOfSeries{" * volume * "}{" * series * "}" } if$ - "volume and number" number either.or.check } if$ } @@ -624,19 +634,23 @@ FUNCTION {format.number.series} { volume empty$ { number empty$ { series empty$ - { "" } - { "\bblSeries{" * series * "}" } - if$ - } + { "" } + { "\bblSeries{" * series * "}" } + if$ + } { series empty$ - 'skip$ - { "\bblVolumeOfSeries{" * volume * "}{" * series * "}" } - if$ - } - if$ + { "" } + { "\bblVolumeOfSeries{" * number * "}{" * series * "}" } + if$ + } + if$ } - { "" } - if$ + { series empty$ + { "" } + { "\bblVolumeOfSeries{" * volume * "}{" * series * "}" } + if$ + } + if$ } FUNCTION {format.edition} @@ -795,19 +809,20 @@ FUNCTION {article} author format.key output format.year output.nonnull format.title "title" output.check - new.block + new.block journal format.journaltitle "journal" output.check + eid empty$ { format.vol.num.pages output.justdo } { format.vol.num.eid output.justdo } if$ + format.doi empty$ - {format.issn output} - {} - if$ - format.doi output - format.url output - format.urldate output.justdo + { format.issn output + format.url output + format.urldate output.justdo} + { format.doi output} + if$ new.block note output fin.entry @@ -821,28 +836,28 @@ FUNCTION {book} } { format.authors output.nonnull - "author and editor" editor either.or.check + "author and editor" editor either.or.check } - if$ + if$ format.year output.nonnull format.btitle "title" output.check - format.bvolume output + format.bvolume output new.block format.number.series output new.sentence - format.edition output + format.edition output publisher "publisher" output.check format.address output format.doi empty$ - {format.isbn output} - {} - if$ - format.doi output + {format.isbn output format.url output - format.urldate output.justdo + format.urldate output.justdo} + {} + if$ + format.doi output new.block note output fin.entry @@ -858,12 +873,12 @@ FUNCTION {booklet} howpublished output format.address output format.doi empty$ - {format.isbn output} - {} - if$ - format.doi output + {format.isbn output format.url output - format.urldate output.justdo + format.urldate output.justdo} + {} + if$ + format.doi output new.block note output fin.entry @@ -882,7 +897,7 @@ FUNCTION {inbook} format.year output.nonnull format.btitle "title" output.check - format.bvolume output + format.bvolume output format.chapter.pages "chapter and pages" output.check new.block format.number.series output @@ -892,12 +907,12 @@ FUNCTION {inbook} format.edition output format.doi empty$ - {format.isbn output} - {} - if$ - format.doi output + {format.isbn output format.url output - format.urldate output.justdo + format.urldate output.justdo} + {} + if$ + format.doi output new.block note output fin.entry @@ -911,22 +926,25 @@ FUNCTION {incollection} format.title "title" output.check new.block - format.in.ed.booktitle "booktitle" output.check - format.bvolume output - format.number.series output - format.chapter.pages output - new.sentence - format.edition output - publisher "publisher" output.check - format.address output + format.in.ed.booktitle "booktitle" output.check + + format.bvolume output.justdonothing + + format.chapter.pages output + new.sentence + format.edition output + publisher "publisher" output.check + format.address output format.doi empty$ - {format.isbn output} - {} - if$ - format.doi output - format.url output - format.urldate output.justdo + { format.isbn output + format.url output + format.urldate output.justdo + } + { format.doi output + } + if$ + new.block note output fin.entry @@ -940,7 +958,7 @@ FUNCTION {inproceedings} format.title "title" output.check new.block - format.in.ed.booktitle "booktitle" output.check + format.in.ed.booktitle "booktitle" output.check format.bvolume output format.number.series output new.sentence @@ -948,7 +966,7 @@ FUNCTION {inproceedings} { organization publisher new.sentence.checkb organization output publisher output - + } { organization output @@ -959,12 +977,12 @@ FUNCTION {inproceedings} format.pages output format.doi empty$ - {format.isbn output} - {} - if$ - format.doi output + {format.isbn output format.url output - format.urldate output.justdo + format.urldate output.justdo} + {} + if$ + format.doi output new.block note output fin.entry @@ -976,7 +994,7 @@ FUNCTION {manual} { output.bibitem format.authors output author format.key output - format.year output.nonnull + format.year output.nonnull format.btitle "title" output.check organization address new.block.checkb organization output @@ -1047,14 +1065,14 @@ FUNCTION {techstandard} format.isbn output } if$ + format.url output + format.urldate output } { new.sentence format.doi output } if$ - format.url output - format.urldate output new.block note output @@ -1091,12 +1109,12 @@ FUNCTION {proceedings} publisher output format.address output format.doi empty$ - {format.isbn output} - {} - if$ - format.doi output + {format.isbn output format.url output - format.urldate output.justdo + format.urldate output.justdo} + {} + if$ + format.doi output new.block note output fin.entry @@ -1134,6 +1152,31 @@ FUNCTION {unpublished} fin.entry } +MACRO {jan} {""} + +MACRO {feb} {""} + +MACRO {mar} {""} + +MACRO {apr} {""} + +MACRO {may} {""} + +MACRO {jun} {""} + +MACRO {jul} {""} + +MACRO {aug} {""} + +MACRO {sep} {""} + +MACRO {oct} {""} + +MACRO {nov} {""} + +MACRO {dec} {""} + + FUNCTION {default.type} { misc } @@ -1215,7 +1258,7 @@ FUNCTION {author.key.organization.label} } FUNCTION {author.techstandard.label} { standard empty$ - { ' type " " * number * "-" * edition * "(" * } + { 'type " " * number * "-" * edition * "(" * } { standard format.authorStyleInText "(" * } if$ } @@ -1266,8 +1309,7 @@ FUNCTION {calc.label} 'skip$ if$ * - 'label := - } + } if$ 'label := } |