summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/gost/gost2003.bst
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/gost/gost2003.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/gost/gost2003.bst354
1 files changed, 255 insertions, 99 deletions
diff --git a/Master/texmf-dist/bibtex/bst/gost/gost2003.bst b/Master/texmf-dist/bibtex/bst/gost/gost2003.bst
index 1cedcea6fbd..c83bb6d3b52 100644
--- a/Master/texmf-dist/bibtex/bst/gost/gost2003.bst
+++ b/Master/texmf-dist/bibtex/bst/gost/gost2003.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" =
+ { "{\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"}
@@ -669,23 +703,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$}
@@ -709,17 +743,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 }
@@ -875,7 +957,7 @@ FUNCTION {format.date}
}
{ month empty$
'year
- { year ". \BibDash " format.month * * }%%{ year ". " quote$ "--- " month * * * * }
+ { year ". \BibDash " format.month * * }
if$
}
if$
@@ -893,7 +975,7 @@ FUNCTION {output.address.publisher}
}
{
address output
- new.column
+ new.colon
publisher empty$
{ bbl.nopublisher enclose.square.brackets }
{ publisher }
@@ -905,20 +987,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$
@@ -1251,7 +1319,7 @@ FUNCTION {author.after}
author empty$
'skip$
{format.authors.after output
- new.semicolumn }
+ new.semicolon }
if$
}
@@ -1260,7 +1328,7 @@ FUNCTION {bookauthor.after}
bookauthor empty$
'skip$
{format.bookauthors.after output
- new.semicolumn }
+ new.semicolon }
if$
}
@@ -1269,19 +1337,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$
}
@@ -1290,7 +1358,7 @@ FUNCTION {format.url}
{ url empty$
{ "" }
{
- "URL: \BibUrl{" url * "}" *
+ bbl.url ": \BibUrl{" * url * "}" *
urldate empty$
{ "" }
{ " (" bbl.urldate * ": " * urldate * ")" * }
@@ -1299,6 +1367,14 @@ FUNCTION {format.url}
if$
}
+FUNCTION {output.url}
+{
+ url empty$
+ 'skip$
+ { format.url output }
+ if$
+}
+
FUNCTION {format.annote}
{ annote empty$
{ "" }
@@ -1329,14 +1405,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$
@@ -1373,11 +1449,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
@@ -1401,7 +1518,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
@@ -1430,7 +1547,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
@@ -1450,7 +1567,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
@@ -1484,7 +1601,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
@@ -1510,7 +1627,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
@@ -1530,7 +1647,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
@@ -1566,7 +1683,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$
{
@@ -1592,11 +1709,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
@@ -1630,7 +1786,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
@@ -1654,14 +1810,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
@@ -1681,20 +1837,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
@@ -1711,14 +1867,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
@@ -1737,14 +1893,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
@@ -1763,14 +1919,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
@@ -1792,20 +1948,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