diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/gost/gost2008ns.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/gost/gost2008ns.bst | 324 |
1 files changed, 250 insertions, 74 deletions
diff --git a/Master/texmf-dist/bibtex/bst/gost/gost2008ns.bst b/Master/texmf-dist/bibtex/bst/gost/gost2008ns.bst index 691ea1524a1..eb1f4b1b44e 100644 --- a/Master/texmf-dist/bibtex/bst/gost/gost2008ns.bst +++ b/Master/texmf-dist/bibtex/bst/gost/gost2008ns.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.0.5-2008 for bibliographic reference. @@ -81,13 +82,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 @@ -96,12 +99,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 extra.label sort.label short.list } 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 := @@ -110,8 +133,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 } @@ -146,9 +169,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$ @@ -209,17 +232,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$ } @@ -326,23 +349,25 @@ FUNCTION {emphasize} if$ } -FUNCTION {enclose.square.brackets} { } - 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$ } @@ -617,6 +642,20 @@ FUNCTION {bbl.ppage} % { "\bblP." } if$} if$} +FUNCTION {bbl.url} +{ curlanguage "english" = + {"Access mode"} + { curlanguage "ukrainian" = + { "{\CYRR\cyre\cyrzh\cyri\cyrm\ \cyrd\cyro\cyrs\cyrt\cyru\cyrp\cyru}" } + { curlanguage "russian" = + { "{\CYRR\cyre\cyrzh\cyri\cyrm\ \cyrd\cyro\cyrs\cyrt\cyru\cyrp\cyra}" } + { curlanguage "german" = + { "{online; abgerufen}" } + { "language is not defined: " language "urldate" * * warning$ "online; accessed" } + if$} + if$} + if$} +if$} FUNCTION {bbl.urldate} { curlanguage "english" = {"online; accessed"} @@ -714,23 +753,23 @@ FUNCTION {bbl.nnopublisher} if$} if$} -FUNCTION {bbl.medium.text} +FUNCTION {bbl.media.text} { curlanguage "english" = { "Text" } { curlanguage "russian" = curlanguage "ukrainian" = or { "{\cyr\CYRT\cyre\cyrk\cyrs\cyrt}" } - { "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" = { "{\cyr\CYREREV\cyrl\cyre\cyrk\cyrt\cyrr\cyro\cyrn\cyrn\cyrery\cyrishrt\ \cyrr\cyre\cyrs\cyru\cyrr\cyrs}" } { curlanguage "ukrainian" = { "{\cyr\CYRE\cyrl\cyre\cyrk\cyrt\cyrr\cyro\cyrn\cyrn\cyri\cyrishrt\ \cyrr\cyre\cyrs\cyru\cyrr\cyrs}" } - { "language is not defined: " language "medium" * * warning$ "Electronic resource" } + { "language is not defined: " language "media" * * warning$ "Electronic resource" } if$} if$} if$} @@ -754,17 +793,65 @@ FUNCTION {bbl.executor} { "{\cyr\cyri\cyrs\cyrp\cyro\cyrl\cyrn.}" } { curlanguage "ukrainian" = { "{\cyr\cyrv\cyri\cyrk\cyro\cyrn\cyra\cyrv\cyre\cyrc\cyrsftsn}" } - { "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" = + { "{\cyr\cyrz\cyra\cyrya\cyrv\cyrl.}" } + { "language is not defined: " language "req" * * warning$ "req" } + if$ + } + if$ + } + if$ +} + +FUNCTION {bbl.publ} +{ + curlanguage "english" = + { "publ." } + { curlanguage "german" = + { "ausg." } + { curlanguage "russian" = + { "{\cyr\cyro\cyrp\cyru\cyrb\cyrl.}" } + { "language is not defined: " language "publication" * * warning$ "publication" } + if$ + } + if$ + } + if$ +} + +FUNCTION {bbl.priority} +{ + curlanguage "english" = + { "priority" } + { curlanguage "german" = + { "Prioritat" } + { curlanguage "russian" = + { "{\cyr\cyrp\cyrr\cyri\cyro\cyrr\cyri\cyrt\cyre\cyrt}" } + { "language is not defined: " language "priority" * * warning$ "priority" } + if$ + } + if$ + } + if$ +} + INTEGERS { nameptr namesleft numnames } @@ -1083,7 +1170,7 @@ FUNCTION {output.address.publisher} { address output publisher empty$ 'skip$ - { new.column } + { new.colon } if$ } if$ @@ -1517,7 +1604,7 @@ FUNCTION {author.after} 'skip$ {author num.names$ #3 > {format.authors.after output - new.semicolumn } + new.semicolon } 'skip$ if$} if$ @@ -1528,7 +1615,7 @@ FUNCTION {bookauthor.after} bookauthor empty$ 'skip$ {format.bookauthors.after output - new.semicolumn } + new.semicolon } if$ } @@ -1537,19 +1624,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$ } @@ -1558,7 +1645,7 @@ FUNCTION {format.url} { url empty$ { "" } { - "URL: \BibUrl{" url * "}" * + bbl.url ": \BibUrl{" * url * "}" * urldate empty$ { "" } { " (" bbl.urldate * ": " * urldate * ")" * } @@ -1567,6 +1654,14 @@ FUNCTION {format.url} if$ } +FUNCTION {output.url} +{ + url empty$ + 'skip$ + { format.url output } + if$ +} + FUNCTION {format.annote} { annote empty$ { "" } @@ -1597,7 +1692,7 @@ FUNCTION {add.doi} if$ } -FUNCTION {add.medium} { } +FUNCTION {add.media} { } @@ -1630,12 +1725,53 @@ 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 author format.key output - format.title add.medium "title" output.check + format.title add.media "title" output.check new.slash author.after new.dblslash @@ -1660,7 +1796,7 @@ FUNCTION {book} output.bibitem author.before author format.key output - 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 @@ -1690,7 +1826,7 @@ FUNCTION {booklet} output.bibitem author.before author format.key output - 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 @@ -1711,7 +1847,7 @@ FUNCTION {inbook} output.bibitem author.before author format.key output - format.btitle add.doi add.medium "title" output.check + format.btitle add.doi add.media "title" output.check new.slash author.after new.dblslash @@ -1746,7 +1882,7 @@ FUNCTION {incollection} author.before author format.key output 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 @@ -1773,7 +1909,7 @@ FUNCTION {proceedings} { output.bibitem editor format.key output - 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 @@ -1794,7 +1930,7 @@ FUNCTION {inproceedings} author.before author format.key output 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 @@ -1831,7 +1967,7 @@ FUNCTION {manual} if$ author format.key output new.block - format.btitle add.doi add.medium "title" output.check + format.btitle add.doi add.media "title" output.check author empty$ { organization empty$ { @@ -1857,12 +1993,52 @@ 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 + author format.key output + 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 author format.key output title howpublished new.sentence.checkb - format.title add.medium output + format.title add.media output howpublished new.block.checka howpublished output new.block @@ -1898,9 +2074,9 @@ FUNCTION {online} format.authors output author format.key 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 + howpublished output editor.organization.after new.sentence new.block @@ -1923,14 +2099,14 @@ FUNCTION {thesis} format.authors "author" output.check author format.key output 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 @@ -1950,21 +2126,21 @@ FUNCTION {thesis} FUNCTION {report} { output.bibitem - format.title add.doi add.medium "title" output.check + format.title add.doi add.media "title" output.check title format.key output - new.column + 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 @@ -1982,14 +2158,14 @@ FUNCTION {phdthesis} format.authors "author" output.check author format.key output 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 @@ -2009,14 +2185,14 @@ FUNCTION {masterthesis} format.authors "author" output.check author format.key output 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 @@ -2036,14 +2212,14 @@ FUNCTION {dscithesis} format.authors "author" output.check author format.key output 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 @@ -2065,21 +2241,21 @@ FUNCTION {conference} { inproceedings } FUNCTION {techreport} { output.bibitem - format.title add.doi add.medium "title" output.check + format.title add.doi add.media "title" output.check title format.key output - new.column + 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 |