diff options
author | Karl Berry <karl@freefriends.org> | 2016-07-30 23:13:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-07-30 23:13:20 +0000 |
commit | e96ebef7fcb5a399544c72e789fda889859795c4 (patch) | |
tree | 7e74e915650a99f5352a35e013ead1d9a41e591b /Master/texmf-dist/bibtex/bst/gost/ugost2003.bst | |
parent | ad752eab7e8fbad49b6fbe4a023c71f97b8a9fa1 (diff) |
gost (26jul16)
git-svn-id: svn://tug.org/texlive/trunk@41778 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/gost/ugost2003.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/gost/ugost2003.bst | 354 |
1 files changed, 255 insertions, 99 deletions
diff --git a/Master/texmf-dist/bibtex/bst/gost/ugost2003.bst b/Master/texmf-dist/bibtex/bst/gost/ugost2003.bst index c1f63813b7e..dd43113fabc 100644 --- a/Master/texmf-dist/bibtex/bst/gost/ugost2003.bst +++ b/Master/texmf-dist/bibtex/bst/gost/ugost2003.bst @@ -17,7 +17,7 @@ %% This file has the LPPL maintenance status "maintained". %% Maintained by Igor A. Kotelnikov. %% -%% Current version: 1.2d, 2016.02.18 +%% Current version: 1.2g, 2016.07.25 %% %% Please, send bug report via e-mail: %% kia999 at mail dot ru <Igor Kotelnikov> @@ -27,6 +27,7 @@ + %% %% This bibstyle attempts to format bibliography according to %% GOST 7.80-2000 for bibliographic records. @@ -55,13 +56,15 @@ ENTRY school series title - medium % new in v1.2. + %medium % new in v1.2; renamed to media. + media % new in v1.2f type volume year language langid % new in v1.2c booklanguage + date % new in v1.2f; not implemented yet... pagetotal url urldate @@ -70,12 +73,32 @@ ENTRY eprinttype % = archivePrefix eprintclass % = primaryClass eprint + % new in v1.2f: + % appear in biblatex: + addendum + holder + location + subtitle + titleaddon + version + % Appear in biblatex-gost: + authorcountry % ?? + credits % statement of responsibility, other than provided in Biblatex + ipc % Code of the International Patent Classification + %media % General material designation NOTE: medium in the above + requestnumber % Registration number of the application to the patent document + publicationdate % Date of publication + publication % and information on the official gazette, which published patent + prioritydate % Information about the convention priority: the date of filing of the application, + prioritynumber % number and + prioritycountry % country name of convention priority. + requestdate % ?? } {} { label } INTEGERS { output.state before.all mid.sentence after.sentence after.block -after.dblslash after.slash after.column after.semicolumn } +after.dblslash after.slash after.colon after.semicolon } FUNCTION {init.state.consts} { #0 'before.all := @@ -84,8 +107,8 @@ FUNCTION {init.state.consts} #3 'after.block := #4 'after.dblslash := #5 'after.slash := - #6 'after.column := - #7 'after.semicolumn := + #6 'after.colon := + #7 'after.semicolon := } STRINGS { s t } @@ -110,7 +133,7 @@ FUNCTION {output.nonnull} { ", " * write$ } { output.state after.block = { add.period$ write$ - " \BibDash " write$ %%" " quote$ "--- " * * write$ % since v1.2c + " \BibDash " write$ newline$ "\newblock " write$ } @@ -120,9 +143,9 @@ FUNCTION {output.nonnull} { "~//" * change.language * " " * write$ } { output.state after.slash = { "~/ " * write$ } - { output.state after.column = + { output.state after.colon = { "~: " * write$ } - { output.state after.semicolumn = + { output.state after.semicolon = { "~; " * write$ } { add.period$ " " * write$ } if$ @@ -183,17 +206,17 @@ FUNCTION {new.slash} if$ } -FUNCTION {new.column} +FUNCTION {new.colon} { output.state before.all = 'skip$ - { after.column 'output.state := } + { after.colon 'output.state := } if$ } -FUNCTION {new.semicolumn} +FUNCTION {new.semicolon} { output.state before.all = 'skip$ - { after.semicolumn 'output.state := } + { after.semicolon 'output.state := } if$ } @@ -290,28 +313,25 @@ FUNCTION {emphasize} if$ } -FUNCTION {enclose.square.brackets} -{ duplicate$ empty$ - { pop$ "" } - { "[" swap$ * "]" * } - if$ -} - FUNCTION {bracify} { duplicate$ empty$ { pop$ "{}" } { "{" swap$ * "}" * } if$ } -FUNCTION {bracketise} -{ duplicate$ empty$ - { pop$ "[]" } + +FUNCTION {enclose.square.brackets} +{ + duplicate$ empty$ + { pop$ "" } { "[" swap$ * "]" * } if$ } -FUNCTION {parenthesify} -{ duplicate$ empty$ - { pop$ "()" } + +FUNCTION {enclose.round.brackets} +{ + duplicate$ empty$ + { pop$ "" } { "(" swap$ * ")" * } if$ } @@ -572,6 +592,20 @@ FUNCTION {bbl.ppage} % { "\bblP." } if$} if$} +FUNCTION {bbl.url} +{ curlanguage "english" = + {"Access mode"} + { curlanguage "ukrainian" = + { "{Режим доступу}" } + { curlanguage "russian" = + { "{Режим доступа}" } + { curlanguage "german" = + { "{online; abgerufen}" } + { "language is not defined: " language "urldate" * * warning$ "online; accessed" } + if$} + if$} + if$} +if$} FUNCTION {bbl.urldate} { curlanguage "english" = {"online; accessed"} @@ -665,23 +699,23 @@ FUNCTION {bbl.nnopublisher} if$} if$} -FUNCTION {bbl.medium.text} +FUNCTION {bbl.media.text} { curlanguage "english" = { "Text" } { curlanguage "russian" = curlanguage "ukrainian" = or { "{Текст}" } - { "language is not defined: " language "medium" * * warning$ "Text" } + { "language is not defined: " language "media" * * warning$ "Text" } if$} if$} -FUNCTION {bbl.medium.elres} +FUNCTION {bbl.media.elres} { curlanguage "english" = { "Electronic resource" } { curlanguage "russian" = { "{Электронный ресурс}" } { curlanguage "ukrainian" = { "{Електронний ресурс}" } - { "language is not defined: " language "medium" * * warning$ "Electronic resource" } + { "language is not defined: " language "media" * * warning$ "Electronic resource" } if$} if$} if$} @@ -705,17 +739,65 @@ FUNCTION {bbl.executor} { "{исполн.}" } { curlanguage "ukrainian" = { "{виконавець}" } - { "language is not defined: " language "medium" * * warning$ "Executor" } + { "language is not defined: " language "executor" * * warning$ "executor" } if$} if$} if$} -FUNCTION {bbl.medium} +FUNCTION {bbl.media} { type$ "online" = - { bbl.medium.elres } - { bbl.medium.text } + { bbl.media.elres } + { bbl.media.text } if$} +FUNCTION {bbl.req} +{ + curlanguage "english" = + { "req." } + { curlanguage "german" = + { "ang." } + { curlanguage "russian" = + { "{заявл.}" } + { "language is not defined: " language "req" * * warning$ "req" } + if$ + } + if$ + } + if$ +} + +FUNCTION {bbl.publ} +{ + curlanguage "english" = + { "publ." } + { curlanguage "german" = + { "ausg." } + { curlanguage "russian" = + { "{опубл.}" } + { "language is not defined: " language "publication" * * warning$ "publication" } + if$ + } + if$ + } + if$ +} + +FUNCTION {bbl.priority} +{ + curlanguage "english" = + { "priority" } + { curlanguage "german" = + { "Prioritat" } + { curlanguage "russian" = + { "{приоритет}" } + { "language is not defined: " language "priority" * * warning$ "priority" } + if$ + } + if$ + } + if$ +} + INTEGERS { nameptr namesleft numnames } @@ -870,7 +952,7 @@ FUNCTION {format.date} } { month empty$ 'year - { year ". \BibDash " format.month * * }%%{ year ". " quote$ "--- " month * * * * } + { year ". \BibDash " format.month * * } if$ } if$ @@ -888,7 +970,7 @@ FUNCTION {output.address.publisher} } { address output - new.column + new.colon publisher empty$ { bbl.nopublisher enclose.square.brackets } { publisher } @@ -900,20 +982,6 @@ FUNCTION {output.address.publisher} -%%FUNCTION {output.bibitem} -%%{ newline$ -%% "\bibitem" write$ -%% cite$ bracify write$ -%% newline$ -%% language empty$ -%% { "english" 'curlanguage := } -%% { language 'curlanguage := } -%% if$ -%% "\selectlanguageifdefined" curlanguage bracify * write$ -%% newline$ -%% "" -%% before.all 'output.state := -%%} FUNCTION {output.bibitem} { newline$ "\bibitem" write$ @@ -1246,7 +1314,7 @@ FUNCTION {author.after} author empty$ 'skip$ {format.authors.after output - new.semicolumn } + new.semicolon } if$ } @@ -1255,7 +1323,7 @@ FUNCTION {bookauthor.after} bookauthor empty$ 'skip$ {format.bookauthors.after output - new.semicolumn } + new.semicolon } if$ } @@ -1264,19 +1332,19 @@ FUNCTION {editor.organization.after} compiler empty$ {} { format.compiler.after output - new.semicolumn + new.semicolon } if$ editor empty$ {} { format.editors.after output - new.semicolumn + new.semicolon } if$ organization empty$ {} {organization output - new.semicolumn + new.semicolon } if$ } @@ -1285,7 +1353,7 @@ FUNCTION {format.url} { url empty$ { "" } { - "URL: \BibUrl{" url * "}" * + bbl.url ": \BibUrl{" * url * "}" * urldate empty$ { "" } { " (" bbl.urldate * ": " * urldate * ")" * } @@ -1294,6 +1362,14 @@ FUNCTION {format.url} if$ } +FUNCTION {output.url} +{ + url empty$ + 'skip$ + { format.url output } + if$ +} + FUNCTION {format.annote} { annote empty$ { "" } @@ -1324,14 +1400,14 @@ FUNCTION {add.doi} if$ } -FUNCTION {add.medium} +FUNCTION {add.media} { duplicate$ empty$ 'skip$ - { medium empty$ - { " " * bbl.medium enclose.square.brackets * } - { " " * medium enclose.square.brackets * } -%% { bbl.medium enclose.square.brackets * } -%% { medium enclose.square.brackets * } + { media empty$ + { " " * bbl.media enclose.square.brackets * } + { " " * media enclose.square.brackets * } +%% { bbl.media enclose.square.brackets * } +%% { media enclose.square.brackets * } if$ } if$ @@ -1368,11 +1444,52 @@ FUNCTION {output.eprint.url} +FUNCTION {add.number} +{ duplicate$ empty$ + { "" } + { bbl.nr swap$ tie.or.space.connect } + if$ +} + +FUNCTION {format.type.number} +{ + type empty$ + { "" } + { + number empty$ + { "" } + { type number tie.or.space.connect } + if$ + } + if$ +} + +FUNCTION {format.requestdate} +{ requestdate empty$ + { "" } + { bbl.req requestdate tie.or.space.connect } + if$ +} + +FUNCTION {format.publicationdate} +{ publicationdate empty$ + { "" } + { bbl.publ publicationdate tie.or.space.connect } + if$ +} + +FUNCTION {format.prioritydate} +{ prioritydate empty$ + { "" } + { bbl.priority prioritydate tie.or.space.connect } + if$ +} + FUNCTION {article} { output.bibitem author.before - format.title add.medium "title" output.check + format.title add.media "title" output.check new.slash author.after new.dblslash @@ -1396,7 +1513,7 @@ FUNCTION {book} { output.bibitem author.before - format.btitle add.doi add.medium "title" output.check + format.btitle add.doi add.media "title" output.check new.slash author.after editor.organization.after @@ -1425,7 +1542,7 @@ FUNCTION {booklet} { output.bibitem author.before - format.title add.doi add.medium "title" output.check + format.title add.doi add.media "title" output.check new.slash author.after editor.organization.after @@ -1445,7 +1562,7 @@ FUNCTION {inbook} { output.bibitem author.before - format.btitle add.doi add.medium "title" output.check + format.btitle add.doi add.media "title" output.check new.slash author.after new.dblslash @@ -1479,7 +1596,7 @@ FUNCTION {incollection} output.bibitem author.before new.sentence - format.title add.doi add.medium "title" output.check + format.title add.doi add.media "title" output.check new.slash author.after new.dblslash @@ -1505,7 +1622,7 @@ FUNCTION {incollection} FUNCTION {proceedings} { output.bibitem - format.btitle add.doi add.medium "title" output.check + format.btitle add.doi add.media "title" output.check new.slash editor.organization.after new.block @@ -1525,7 +1642,7 @@ FUNCTION {inproceedings} { output.bibitem author.before new.sentence - format.title add.doi add.medium "title" output.check + format.title add.doi add.media "title" output.check new.slash author.after new.dblslash @@ -1561,7 +1678,7 @@ FUNCTION {manual} { format.authors output.nonnull } if$ new.block - format.btitle add.doi add.medium "title" output.check + format.btitle add.doi add.media "title" output.check author empty$ { organization empty$ { @@ -1587,11 +1704,50 @@ FUNCTION {manual} fin.entry } +FUNCTION {patent} +{ + output.bibitem + title add.media output.nonnull + new.colon + format.type.number output + add.blank + location output + new.colon + ipc output + new.slash + format.authors.after "author" output.check + add.blank + authorcountry enclose.round.brackets output.nonnull + new.semicolon + holder output.nonnull + new.semicolon + credits output.nonnull + new.block + requestnumber add.number output + new.semicolon + format.requestdate output + new.semicolon + format.publicationdate output + publication output + new.semicolon + format.prioritydate output + prioritynumber output + prioritycountry enclose.round.brackets output + new.block + note output + new.sentence + output.url + format.annote output + new.block + pagetotal output + fin.entry +} + FUNCTION {misc} { output.bibitem format.authors output title howpublished new.sentence.checkb - format.title add.medium output + format.title add.media output howpublished new.block.checka howpublished output new.block @@ -1625,7 +1781,7 @@ FUNCTION {online} { output.bibitem format.authors output title howpublished new.sentence.checkb - format.title add.doi add.medium "title" output.check + format.title add.doi add.media "title" output.check howpublished new.dblslash.checka howpublished enclose.square.brackets output editor.organization.after @@ -1649,14 +1805,14 @@ FUNCTION {thesis} { output.bibitem format.authors "author" output.check new.sentence - format.btitle add.doi add.medium "title" output.check - new.column + format.btitle add.doi add.media "title" output.check + new.colon type "type" output.check - new.column + new.colon number output new.slash format.authors.after output - new.semicolumn + new.semicolon school "school" output.check new.block output.address.publisher @@ -1676,20 +1832,20 @@ FUNCTION {thesis} FUNCTION {report} { output.bibitem - format.title add.doi add.medium "title" output.check - new.column + format.title add.doi add.media "title" output.check + new.colon type "type" output.check - new.column + new.colon number output new.slash institution "institution" output.check - new.semicolumn + new.semicolon format.chief.after output % from editor field - new.semicolumn + new.semicolon format.executor.after output % from author field new.block address output - new.column + new.colon organization output format.date "year" output.check new.block % v.2 @@ -1706,14 +1862,14 @@ FUNCTION {phdthesis} { output.bibitem format.authors "author" output.check new.sentence - format.btitle add.doi add.medium "title" output.check - new.column + format.btitle add.doi add.media "title" output.check + new.colon bbl.phdthesis format.thesis.type output.nonnull - new.column + new.colon number output new.slash format.authors.after output - new.semicolumn + new.semicolon school "school" output.check new.block output.address.publisher @@ -1732,14 +1888,14 @@ FUNCTION {masterthesis} { output.bibitem format.authors "author" output.check new.sentence - format.btitle add.doi add.medium "title" output.check - new.column + format.btitle add.doi add.media "title" output.check + new.colon bbl.mthesis format.thesis.type output.nonnull - new.column + new.colon number output new.slash format.authors.after output - new.semicolumn + new.semicolon school "school" output.check new.block output.address.publisher @@ -1758,14 +1914,14 @@ FUNCTION {dscithesis} { output.bibitem format.authors "author" output.check new.sentence - format.btitle add.doi add.medium "title" output.check - new.column + format.btitle add.doi add.media "title" output.check + new.colon bbl.dscithesis format.thesis.type output.nonnull - new.column + new.colon number output new.slash format.authors.after output - new.semicolumn + new.semicolon school "school" output.check new.block output.address.publisher @@ -1787,20 +1943,20 @@ FUNCTION {conference} { inproceedings } FUNCTION {techreport} { output.bibitem - format.title add.doi add.medium "title" output.check - new.column + format.title add.doi add.media "title" output.check + new.colon format.techreport.type output - new.column + new.colon number output new.slash institution "institution" output.check - new.semicolumn + new.semicolon format.chief.after output % from editor field - new.semicolumn + new.semicolon format.executor.after output % from author field new.block address output - new.column + new.colon organization output format.date "year" output.check new.block % v.2 |