diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/disser/gost705s.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/disser/gost705s.bst | 101 |
1 files changed, 65 insertions, 36 deletions
diff --git a/Master/texmf-dist/bibtex/bst/disser/gost705s.bst b/Master/texmf-dist/bibtex/bst/disser/gost705s.bst index 372a9df5ee7..5bf7af3d437 100644 --- a/Master/texmf-dist/bibtex/bst/disser/gost705s.bst +++ b/Master/texmf-dist/bibtex/bst/disser/gost705s.bst @@ -11,28 +11,6 @@ %% %% This file is part of the disser package. %% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% -%% This bibliography style attempts -%% to format bibliography according to -%% GOST 7.1-84 with some conventional modifications. -%% -%% Based on style gost71u.bst by Maksym Polyakov. -%% -%% For the Russian bibliographic entries -%% you need to create field -%% language = {russian}. -%% Default language is English. -%% Field numpages for books must contain number of pages. -%% Optional field url will format url (using hyperref, if loaded). -%% -%% Requires 8-bit bibtex with switch -B and csf file -%% supporting cyrillic. -%% -%% bibtex8 -B -c <encoding>.csf <your_document> -%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - ENTRY @@ -68,6 +46,10 @@ ENTRY urldate isbn doi + archive + archivePrefix + primaryClass + eprint } {} { label } @@ -743,11 +725,9 @@ FUNCTION {output.address.publisher.date} FUNCTION {output.bibitem} { newline$ - "\bibitem[" write$ - "\BibPrefix" write$ + "\bibitem[\BibPrefix" write$ label write$ - "\BibPostfix" write$ - "]{" write$ + "\BibPostfix]{" write$ cite$ write$ "}" write$ newline$ @@ -1076,6 +1056,16 @@ FUNCTION {editor.organization.after} if$ } +FUNCTION {format.annote} +{ + annote empty$ + { "" } + { after.sentence 'output.state := + "\BibAnnote{" annote add.period$ * "}" * + } + if$ +} + FUNCTION {format.url} { url empty$ @@ -1104,16 +1094,6 @@ FUNCTION {output.url} if$ } -FUNCTION {format.annote} -{ - annote empty$ - { "" } - { after.sentence 'output.state := - "\BibAnnote{" annote add.period$ * "}" * - } - if$ -} - FUNCTION {format.isbn} { isbn empty$ @@ -1135,6 +1115,27 @@ FUNCTION {add.doi} if$ } +FUNCTION {format.eprint} +{ eprint empty$ + { "" } + { primaryClass empty$ + { " \href{http://arxiv.org/abs/" eprint * "}" * + "{" * eprint * "}" * + } + { archivePrefix empty$ + { " \href{http://arxiv.org/abs/" eprint * "}" * + "{" * primaryClass * "/" * eprint * "}" * + } + { " \href{http://arxiv.org/abs/" eprint * "}" * + "{" * archivePrefix * ":" * primaryClass * "/" * eprint * "}" * + } + if$ + } + if$ +} + if$ +} + FUNCTION {article} { output.bibitem @@ -1152,6 +1153,8 @@ FUNCTION {article} new.block note output new.sentence + format.eprint output + new.block output.url format.annote output fin.entry @@ -1178,6 +1181,8 @@ FUNCTION {book} new.block note output new.sentence + format.eprint output + new.block output.url format.annote output fin.entry @@ -1196,6 +1201,8 @@ FUNCTION {booklet} new.block note output new.sentence + format.eprint output + new.block output.url format.annote output fin.entry @@ -1225,6 +1232,8 @@ FUNCTION {inbook} new.block note output new.sentence + format.eprint output + new.block output.url format.annote output fin.entry @@ -1250,6 +1259,8 @@ FUNCTION {incollection} new.block note output new.block + format.eprint output + new.block output.url format.annote output fin.entry @@ -1284,6 +1295,8 @@ FUNCTION {inproceedings} new.block note output new.sentence + format.eprint output + new.block output.url format.annote output fin.entry @@ -1324,6 +1337,8 @@ FUNCTION {manual} new.block note output new.sentence + format.eprint output + new.block output.url format.annote output fin.entry @@ -1343,6 +1358,8 @@ FUNCTION {mastersthesis} new.block note output new.block + format.eprint output + new.block output.url format.annote output fin.entry @@ -1361,6 +1378,8 @@ FUNCTION {misc} new.block note output new.sentence + format.eprint output + new.block output.url format.annote output fin.entry @@ -1382,6 +1401,8 @@ FUNCTION {phdthesis} format.pages.page output note output new.sentence + format.eprint output + new.block output.url format.annote output fin.entry @@ -1403,6 +1424,8 @@ FUNCTION {docdisser} format.pages.page output note output new.sentence + format.eprint output + new.block output.url format.annote output fin.entry @@ -1430,6 +1453,8 @@ FUNCTION {proceedings} new.block note output new.sentence + format.eprint output + new.block output.url format.annote output fin.entry @@ -1452,6 +1477,8 @@ FUNCTION {techreport} new.block note output new.sentence + format.eprint output + new.block output.url format.annote output fin.entry @@ -1466,6 +1493,8 @@ FUNCTION {unpublished} new.block note "note" output.check new.sentence + format.eprint output + new.block output.url format.annote output fin.entry |