From 0a7b8bdcbe02e88c759c901d8eafdc575d3984a7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 19 Jul 2016 22:25:35 +0000 Subject: gost (19jul16) git-svn-id: svn://tug.org/texlive/trunk@41729 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/bibtex/gost/README | 39 +- .../doc/bibtex/gost/doc/examples/utf8/bib/ex31.bib | 40 + .../bibtex/gost/doc/examples/utf8/bib/examples.bib | 40 + Master/texmf-dist/doc/bibtex/gost/ex31.bib | 40 + Master/texmf-dist/doc/bibtex/gost/examples.bib | 40 + Master/texmf-dist/doc/bibtex/gost/gost.pdf | Bin 450984 -> 592610 bytes Master/texmf-dist/doc/bibtex/gost/gost.tex | 4 + Master/texmf-dist/doc/bibtex/gost/gost2003.pdf | Bin 227182 -> 324422 bytes .../doc/bibtex/gost/gost2008-customized.pdf | Bin 246898 -> 341062 bytes .../doc/bibtex/gost/gost2008-natbib-s.pdf | Bin 175200 -> 251136 bytes .../texmf-dist/doc/bibtex/gost/gost2008-natbib.pdf | Bin 192781 -> 268724 bytes .../texmf-dist/doc/bibtex/gost/gost2008-sorted.pdf | Bin 130449 -> 214356 bytes Master/texmf-dist/doc/bibtex/gost/gost2008.pdf | Bin 224766 -> 323019 bytes .../texmf-dist/doc/bibtex/gost/gost2008e.goodbst | 1807 ++++++++++++++++++++ Master/texmf-dist/doc/bibtex/gost/gost2008l.pdf | Bin 227533 -> 324738 bytes Master/texmf-dist/doc/bibtex/gost/gost780.pdf | Bin 222966 -> 322411 bytes Master/texmf-dist/doc/bibtex/gost/ugost.tex | 4 + Master/texmf-dist/doc/bibtex/gost/ugost2003.pdf | Bin 227337 -> 324719 bytes .../doc/bibtex/gost/ugost2008-customized.pdf | Bin 248145 -> 341565 bytes .../doc/bibtex/gost/ugost2008-natbib.pdf | Bin 175622 -> 251212 bytes .../doc/bibtex/gost/ugost2008-sorted.pdf | Bin 130956 -> 214344 bytes Master/texmf-dist/doc/bibtex/gost/ugost2008.pdf | Bin 224990 -> 322972 bytes Master/texmf-dist/doc/bibtex/gost/ugost2008l.pdf | Bin 227965 -> 324685 bytes 23 files changed, 1999 insertions(+), 15 deletions(-) create mode 100644 Master/texmf-dist/doc/bibtex/gost/doc/examples/utf8/bib/ex31.bib create mode 100644 Master/texmf-dist/doc/bibtex/gost/ex31.bib create mode 100644 Master/texmf-dist/doc/bibtex/gost/gost2008e.goodbst (limited to 'Master/texmf-dist/doc/bibtex') diff --git a/Master/texmf-dist/doc/bibtex/gost/README b/Master/texmf-dist/doc/bibtex/gost/README index 63c4cdabb13..a3f5ad0aa93 100644 --- a/Master/texmf-dist/doc/bibtex/gost/README +++ b/Master/texmf-dist/doc/bibtex/gost/README @@ -23,14 +23,14 @@ GOST 7.11 -2004 Bibliographic description and references. GOST 7.83 -2001 Electronic editions. Basic types and imprint. Ect. -GOST comprises 16 BibTeX styles to format bibliography in English, Russian -and Ukrainian according to GOST 7.0.5-2008 and GOST 7.1-2003. Both 8-bit -and Unicode (UTF-8) versions of each BibTeX style, in each case offering -a choice of sorted and unsorted. Further, 2 more styles, |gost780| and -|gost780s| styles (not conforming to effective standards) are retained +GOST comprises 16 BibTeX styles to format bibliography in English, Russian +and Ukrainian according to GOST 7.0.5-2008 and GOST 7.1-2003. Both 8-bit +and Unicode (UTF-8) versions of each BibTeX style, in each case offering +a choice of sorted and unsorted. Further, 2 more styles, |gost780| and +|gost780s| styles (not conforming to effective standards) are retained for backwards compatibility. -All BibTeX styles are derived from same master file |gost.dtx| by applying +All BibTeX styles are derived from same master file |gost.dtx| by applying different set of options as shown in the table below. ------------------------------------------------------------------------ @@ -66,20 +66,20 @@ currently effective Standard 7.0.5-2008. Librarians should use the style Standard 7.1-2003. Use of other styles is best explained through the meaning of options used to compile those styles from the master source. -Two styles, |gost780| and |gost780s|, generated without |modern| and -|strict| options, are retained for backward compatibility. They do not +Two styles, |gost780| and |gost780s|, generated without |modern| and +|strict| options, are retained for backward compatibility. They do not conform the Standards 7.0.5-2008 and 7.1-2003 cited above. The |strict| option provides conformance to the Standard 7.1-2003. The styles compiled with that option bear the name |gost2003| with possible -suffixes |s|, |l|, |n| as explained below. These styles are intended +suffixes |s|, |l|, |n| as explained below. These styles are intended primarily for the librarians who compose a library catalog. The |modern| option meets the Standard 7.0.5-2008 which can be thought off as a relaxed version of the Standard 7.1-2003. The styles compiled with that option bear the name |gost2008| with possible suffixes |s|, |l|, |n|. The |strict| option has precedence over |modern| so that a style compiled -with both options will resemble mainly the |gost2003| style rather than +with both options will resemble mainly the |gost2003| style rather than |gost2008|. If the number of authors exceeds 4, modern styles cut the list of authors @@ -93,7 +93,7 @@ precedes book or article title no matter how long is it. Modern styles compiled without |long| place long list of authors behind the title. The names of styles compiled with the option |long| has the suffix |l|. Recall that those styles do not conform effective Standards and -their use is discouraged. +their use is discouraged. The |eprint| option enables formatting electronic publications. In particular, it enables |eprint|, |eprinttype|, |eprintclass|, and |doi| fields for a @@ -104,14 +104,14 @@ option included, and therefore the suffix |e| which designated this option in earlier versions is not appended to the name of style any more. -The |natbib| option provides compatibility with the |natbib| package. The names +The |natbib| option provides compatibility with the |natbib| package. The names of styles compiled with the option |natbib| bear the suffix |n|. Currently 4 styles with that option are available for public use. The |sort| option enables sorting bibliographic references by author names and titles of references. The names of styles compiled with the option |sort| bear the suffix |s|. Sorting does not work as expected for databases in -unicode encoding (see below). +unicode encoding (see below). Finally, the |utf8| option produces bibliographic styles in unicode rather that in 8-bit encoding. Names of those styles bear the prefix |u|. @@ -184,7 +184,7 @@ How to use authors. 9. Package |natbib| should be loaded when using styles with - suffix |n| in their names. + suffix |n| in their names. Customization @@ -209,7 +209,7 @@ By default, \BibDash is equivalent to the shorthand "--- introduced by the babel package with the option russian. It prints a so called Cyrillic dash (\cyrdash), which is 20% shorter than ordinary LaTeX dash (---), and puts -unbreakable space before \cyrdash so that the dash never +unbreakable space before \cyrdash so that the dash never appears at the beginning of a line. @@ -218,6 +218,15 @@ Where to get from from 1. http://mirror.ctan.org/biblio/bibtex/contrib/gost/ 2. http://ctan.org/pkg/gost +What's new in version 1.2f (2016.07.12) + +1. Support for patent entry added (thanks to Stanislav Kruchinin). +2. medium field renamed to media field. + +What's new in version 1.2e (2016.07.07) + +1. Hard coded "URL" string replaced with a language sensitive string + (thanks to Roman Budnyi). What's new in version 1.2d (2016.02.18) diff --git a/Master/texmf-dist/doc/bibtex/gost/doc/examples/utf8/bib/ex31.bib b/Master/texmf-dist/doc/bibtex/gost/doc/examples/utf8/bib/ex31.bib new file mode 100644 index 00000000000..2cb09485fd1 --- /dev/null +++ b/Master/texmf-dist/doc/bibtex/gost/doc/examples/utf8/bib/ex31.bib @@ -0,0 +1,40 @@ +@PATENT{patent1, + author = {Э. В. Тернер}, + authorcountry = {США}, + title = {Одноразовая ракета-носитель}, + media = {Текст}, + type = {заявка}, + number = {1095735}, + location = {Рос. Федерация}, + ipc = {МПК\ensuremath{^7} B 64 G 1/00}, + holder = {заявитель Спейс Системз/Лорал, инк.}, + credits = {патент. поверенный Егорова Г. Б.}, + requestnumber = {000108705/28}, + requestdate = {07.04.2000}, + publicationdate = {10.03.2001}, + publication = {Бюл. № 7 (I ч.)}, + prioritydate = {09.04.1999}, + prioritynumber = {09/289, 037}, + prioritycountry = {США}, + pagetotal = {5 с.~: ил.}, + language = {russian}, +} + +@PATENT{patent2, + author = {В. И. Чугаева}, + authorcountry = {РФ}, + title = {Приемопередающее устройство}, + media = {Текст}, + type = {пат.}, + number = {2000131736/09}, + location = {Рос. Федерация}, + ipc = {МПК\ensuremath{^7} H 04 В 1/38, Н 04 J 13/00}, + holder = {заявитель и патентообладатель Воронеж. науч.-ислед. ин-т связи.}, + credits = {патент. поверенный Егорова Г. Б.}, + requestnumber = {000108705/28}, + date = {18.12.2000}, + publicationdate = {20.08.2002}, + publication = {Бюл. № 23 (II ч.)}, + pagetotal = {2 с.~: ил.}, + language = {russian}, +} diff --git a/Master/texmf-dist/doc/bibtex/gost/doc/examples/utf8/bib/examples.bib b/Master/texmf-dist/doc/bibtex/gost/doc/examples/utf8/bib/examples.bib index 85b87de18e7..70e0fcaff9f 100644 --- a/Master/texmf-dist/doc/bibtex/gost/doc/examples/utf8/bib/examples.bib +++ b/Master/texmf-dist/doc/bibtex/gost/doc/examples/utf8/bib/examples.bib @@ -523,3 +523,43 @@ doi = {10.3367/UFNr.0185.201507c.0753}, url = {http://ufn.ru/ru/articles/2015/7/c/}, } +@PATENT{patent1, + author = {Э. В. Тернер}, + authorcountry = {США}, + title = {Одноразовая ракета-носитель}, + media = {Текст}, + type = {заявка}, + number = {1095735}, + location = {Рос. Федерация}, + ipc = {МПК\ensuremath{^7} B 64 G 1/00}, + holder = {заявитель Спейс Системз/Лорал, инк.}, + credits = {патент. поверенный Егорова Г. Б.}, + requestnumber = {000108705/28}, + requestdate = {07.04.2000}, + publicationdate = {10.03.2001}, + publication = {Бюл. № 7 (I ч.)}, + prioritydate = {09.04.1999}, + prioritynumber = {09/289, 037}, + prioritycountry = {США}, + pagetotal = {5 с.~: ил.}, + language = {russian}, +} + +@PATENT{patent2, + author = {В. И. Чугаева}, + authorcountry = {РФ}, + title = {Приемопередающее устройство}, + media = {Текст}, + type = {пат.}, + number = {2000131736/09}, + location = {Рос. Федерация}, + ipc = {МПК\ensuremath{^7} H 04 В 1/38, Н 04 J 13/00}, + holder = {заявитель и патентообладатель Воронеж. науч.-ислед. ин-т связи.}, + credits = {патент. поверенный Егорова Г. Б.}, + requestnumber = {000108705/28}, + date = {18.12.2000}, + publicationdate = {20.08.2002}, + publication = {Бюл. № 23 (II ч.)}, + pagetotal = {2 с.~: ил.}, + language = {russian}, +} diff --git a/Master/texmf-dist/doc/bibtex/gost/ex31.bib b/Master/texmf-dist/doc/bibtex/gost/ex31.bib new file mode 100644 index 00000000000..060b92d9c2c --- /dev/null +++ b/Master/texmf-dist/doc/bibtex/gost/ex31.bib @@ -0,0 +1,40 @@ +@PATENT{patent1, + author = {. . }, + authorcountry = {}, + title = { -}, + media = {}, + type = {}, + number = {1095735}, + location = {. }, + ipc = {\ensuremath{^7} B 64 G 1/00}, + holder = { /, .}, + credits = {. . .}, + requestnumber = {000108705/28}, + requestdate = {07.04.2000}, + publicationdate = {10.03.2001}, + publication = {. 7 (I .)}, + prioritydate = {09.04.1999}, + prioritynumber = {09/289, 037}, + prioritycountry = {}, + pagetotal = {5 .~: .}, + language = {russian}, +} + +@PATENT{patent2, + author = {. . }, + authorcountry = {}, + title = { }, + media = {}, + type = {.}, + number = {2000131736/09}, + location = {. }, + ipc = {\ensuremath{^7} H 04 1/38, 04 J 13/00}, + holder = { . .-. - .}, + credits = {. . .}, + requestnumber = {000108705/28}, + date = {18.12.2000}, + publicationdate = {20.08.2002}, + publication = {. 23 (II .)}, + pagetotal = {2 .~: .}, + language = {russian}, +} diff --git a/Master/texmf-dist/doc/bibtex/gost/examples.bib b/Master/texmf-dist/doc/bibtex/gost/examples.bib index f75cd8380b8..31bd92e1bac 100644 --- a/Master/texmf-dist/doc/bibtex/gost/examples.bib +++ b/Master/texmf-dist/doc/bibtex/gost/examples.bib @@ -522,3 +522,43 @@ doi = {10.3367/UFNr.0185.201507c.0753}, url = {http://ufn.ru/ru/articles/2015/7/c/}, } +@PATENT{patent1, + author = {. . }, + authortype = {}, + title = { -}, + media = {}, + type = {}, + number = {1095735}, + location = {. }, + ipc = {\ensuremath{^7} B 64 G 1/00}, + holder = { /, .}, + credits = {. . .}, + reqnumber = {000108705/28}, + reqdate = {07.04.2000}, + publdate = {10.03.2001}, + publication = {. 7 (I .)}, + prdate = {09.04.1999}, + prnumber = {09/289, 037}, + prcountry = {}, + pagetotal = {5 .~: .}, + language = {russian}, +} + +@PATENT{patent2, + author = {. . }, + authortype = {}, + title = { }, + media = {}, + type = {.}, + number = {2000131736/09}, + location = {. }, + ipc = {\ensuremath{^7} H 04 1/38, 04 J 13/00}, + holder = { . .-. - .}, + credits = {. . .}, + reqnumber = {000108705/28}, + date = {18.12.2000}, + publdate = {20.08.2002}, + publication = {. 23 (II .)}, + pagetotal = {2 .~: .}, + language = {russian}, +} diff --git a/Master/texmf-dist/doc/bibtex/gost/gost.pdf b/Master/texmf-dist/doc/bibtex/gost/gost.pdf index 7339567adfa..ba0c724ca22 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/gost.pdf and b/Master/texmf-dist/doc/bibtex/gost/gost.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/gost.tex b/Master/texmf-dist/doc/bibtex/gost/gost.tex index f796b2eaad3..ae39d3273d6 100644 --- a/Master/texmf-dist/doc/bibtex/gost/gost.tex +++ b/Master/texmf-dist/doc/bibtex/gost/gost.tex @@ -119,6 +119,10 @@ \bibentry{ex27a} \bibentry{ex27b} \section{Use of macros} +\texttt{jan}, \texttt{feb}, \texttt{mar},\ldots{} \texttt{dec} macros in \texttt{month} field +are automatically translated to Russian or English if necessary. Other languages are not supported. \bibentry{ex30} +\section{Patents} +\bibentry{ex31} \end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/bibtex/gost/gost2003.pdf b/Master/texmf-dist/doc/bibtex/gost/gost2003.pdf index 1c84bf5b23c..29597164598 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/gost2003.pdf and b/Master/texmf-dist/doc/bibtex/gost/gost2003.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/gost2008-customized.pdf b/Master/texmf-dist/doc/bibtex/gost/gost2008-customized.pdf index f04dd1b311a..ee989342c1a 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/gost2008-customized.pdf and b/Master/texmf-dist/doc/bibtex/gost/gost2008-customized.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/gost2008-natbib-s.pdf b/Master/texmf-dist/doc/bibtex/gost/gost2008-natbib-s.pdf index 5416c26f612..a2f106edca5 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/gost2008-natbib-s.pdf and b/Master/texmf-dist/doc/bibtex/gost/gost2008-natbib-s.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/gost2008-natbib.pdf b/Master/texmf-dist/doc/bibtex/gost/gost2008-natbib.pdf index 43e9759ccf1..a6121d0c858 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/gost2008-natbib.pdf and b/Master/texmf-dist/doc/bibtex/gost/gost2008-natbib.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/gost2008-sorted.pdf b/Master/texmf-dist/doc/bibtex/gost/gost2008-sorted.pdf index 298aa7866d1..fa18725e911 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/gost2008-sorted.pdf and b/Master/texmf-dist/doc/bibtex/gost/gost2008-sorted.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/gost2008.pdf b/Master/texmf-dist/doc/bibtex/gost/gost2008.pdf index 0d1eee79a8e..6d235279689 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/gost2008.pdf and b/Master/texmf-dist/doc/bibtex/gost/gost2008.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/gost2008e.goodbst b/Master/texmf-dist/doc/bibtex/gost/gost2008e.goodbst new file mode 100644 index 00000000000..539e455e5ff --- /dev/null +++ b/Master/texmf-dist/doc/bibtex/gost/gost2008e.goodbst @@ -0,0 +1,1807 @@ +%% +%% This is file `gost2008e.bst', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% gost.dtx (with options: `bst,modern,eprint') +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This file has the LPPL maintenance status "maintained". +%% Maintained by Igor A. Kotelnikov. +%% Current version: 2012.02.02 +%% +%% Please, send bug report via e-mail: +%% kia999 at mail dot ru +%% or +%% polyama at yahoo dot edu +%% + + +%% +%% This bibstyle attempts to format bibliography according to +%% GOST 7.0.5-2008 for bibliographic reference. + +ENTRY + { address + annote + author + booktitle + bookauthor + chapter + edition + editor + compiler + howpublished + institution + journal + key + month + note + number + organization + pages + publisher + school + series + title + type + volume + year + totalpages + language + booklanguage + url + urldate + isbn + doi + archive + eprinttype + eprintclass + eprint + } + {} + { label } + +INTEGERS { output.state before.all mid.sentence after.sentence after.block +after.dblslash after.slash after.column after.semicolumn } + +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := + #4 'after.dblslash := + #5 'after.slash := + #6 'after.column := + #7 'after.semicolumn := +} + +STRINGS { s t } + +STRINGS { curlanguage } + +FUNCTION {change.language} +{ booklanguage empty$ + { "" } + { booklanguage 'curlanguage := + "\selectlanguageifdefined{" + curlanguage * + "}" * + } + if$ +} + +FUNCTION {output.nonnull} +{ + swap$ + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + " \BibDash " write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { output.state after.dblslash = + { "~//" * change.language * " " * write$ } + { output.state after.slash = + { "~/ " * write$ } + { output.state after.column = + { ": " * write$ } + { output.state after.semicolumn = + { "; " * write$ } + { add.period$ " " * write$ } + if$ + } + if$ + } + if$ + } + if$ + } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ +} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +FUNCTION {fin.entry} +{ add.period$ + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} + +FUNCTION {new.dblslash} +{ output.state before.all = + 'skip$ + { after.dblslash 'output.state := } + if$ +} + +FUNCTION {new.slash} +{ output.state before.all = + 'skip$ + { after.slash 'output.state := } + if$ +} + +FUNCTION {new.column} +{ output.state before.all = + 'skip$ + { after.column 'output.state := } + if$ +} + +FUNCTION {new.semicolumn} +{ output.state before.all = + 'skip$ + { after.semicolumn 'output.state := } + if$ +} + +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + +FUNCTION {add.blank} +{ " " * before.all 'output.state := +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} + +FUNCTION {non.stop} +{ duplicate$ + "}" * add.period$ + #-1 #1 substring$ "." = +} + +FUNCTION {new.block.checka} +{ empty$ + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.sentence.checka} +{ empty$ + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {new.sentence.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} + +FUNCTION {emphasize} +{ duplicate$ empty$ + { pop$ "" } + { "\BibEmph{" swap$ * "}" * } + if$ +} + +FUNCTION {space.word} +{ " " swap$ * " " * } + +FUNCTION {bbl.edby} % { "\bbledby{}" } +{ curlanguage "english" = + {"Ed. by "} + { curlanguage "ukrainian" = + {"{\cyr\CYRP\cyrii\cyrd\ \cyrr\cyre\cyrd.\ }"} + { curlanguage "russian" = + {"{\cyr\CYRP\cyro\cyrd\ \cyrr\cyre\cyrd.\ }"} + { curlanguage "german" = + { "ed. " } + {"language is not defined: " language "edited by" * * warning$ "edited by"} + if$} + if$} + if$} +if$} + +FUNCTION {bbl.cmplr} +{ curlanguage "english" = + { "Compiler "} + { curlanguage "german" = + { "Hrsg. " } + { curlanguage "ukrainian" = + {"{\cyr\CYRU\cyrk\cyrl.\ }"} + { curlanguage "russian" = + {"{\cyr\CYRS\cyro\cyrs\cyrt.\ }"} + {"language is not defined: " language "compiler" * * warning$ "compiler"} + if$} + if$} + if$} +if$} + +FUNCTION {bbl.edition} % { "\bbledition{}" } +{ curlanguage "english" = + {"edition"} + { curlanguage "ukrainian" = + {"{\cyr\cyrv\cyri\cyrd.}"} + { curlanguage "russian" = + {"{\cyr\cyri\cyrz\cyrd.}"} + { curlanguage "german" = + {" {aus.}" } %%%% { "Aufl." } ?? + { curlanguage "italian" = + {"edizione"} + { curlanguage "french" = + {"\'{e}dition"} + {"language is not defined: " language "edition" * * warning$ "edition"} + if$} + if$} + if$} + if$} + if$} +if$} + +FUNCTION {bbl.vvolume} % { "\bblVolume{}" } +{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or + {"Volume"} + { curlanguage "ukrainian" = curlanguage "russian" = or + { "\CYRT\cyro\cyrm" } + { curlanguage "german" = + {"{Band}"} %%%% { "Volumen" } + {"language is not defined: " language "Volume" * * warning$ "Volume"} + if$} + if$} +if$} + +FUNCTION {bbl.vvol} % { "\bblVol{}" } +{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or + {"Vol."} + { curlanguage "ukrainian" = curlanguage "russian" = or + {"\CYRT."} + { curlanguage "german" = + {"{Bd.}"} %%%% { "Vol." } + {"language is not defined: " language "Vol." * * warning$ "Vol."} + if$} + if$} +if$} + +FUNCTION {bbl.iissue} % { "\bblIssue{}" } +{ curlanguage "english" = + {"Issue"} + { curlanguage "ukrainian" = + {"\CYRV\cyri\cyrp\cyru\cyrs\cyrk"} + { curlanguage "russian" = + {"\CYRV\cyrery\cyrp\cyru\cyrs\cyrk"} + { curlanguage "german" = + {"{Heft}"} %%%% { "Ausgabe" } + {"language is not defined: " language * warning$ "Issue"} + if$} + if$} + if$} +if$} + +FUNCTION {bbl.iiss} % { "\bblIss{}" } +{ curlanguage "english" = + {"Iss."} + { curlanguage "ukrainian" = + {"\CYRV\cyri\cyrp."} + { curlanguage "russian" = + {"\CYRV\cyrery\cyrp."} + { curlanguage "german" = + {"{H.}"} %%% { "Aus." }?? + {"language is not defined: " language * warning$ "Iss"} + if$} + if$} + if$} +if$} + +FUNCTION {bbl.of} % { "\bblof{}" } +{ curlanguage "english" = + {"of"} + { curlanguage "german" = + { "von" } + { curlanguage "ukrainian" = + { "{\cyr\cyrii\cyrz}" } + { curlanguage "russian" = + { "{\cyr\cyri\cyrz}" } + {"language is not defined: " language "of" * * warning$ "of"} + if$} + if$} + if$} +if$} + +FUNCTION {bbl.etal} % { "\bblof{}" } +{ curlanguage "english" = + {"et~al."} + { curlanguage "german" = + { "u.~a." } + { curlanguage "ukrainian" = + {"{\cyr\cyrt\cyra~\cyrii\cyrn.}"} + { curlanguage "russian" = + {"{\cyr\cyri~\cyrd\cyrr.}"} + {"language is not defined: " language "at al" * * warning$ "at al."} + if$} + if$} + if$} +if$} + +FUNCTION {bbl.nnumber} % { "\bblNumber{}" } +{ curlanguage "english" = + {"Number"} + { curlanguage "ukrainian" = curlanguage "russian" = or + { "\CYRN\cyro\cyrm\cyre\cyrr" } + { curlanguage "german" = + {"{Heft}"} %%% { "Anzahl" } + {"language is not defined: " language "Number" * * warning$ "Number"} + if$} + if$} +if$} + +FUNCTION {bbl.number} % { "\bblnumber{}" } +{ curlanguage "english" = + {"number"} + { curlanguage "ukrainian" = curlanguage "russian" = or + {"{\cyr\cyrn\cyro\cyrm\cyre\cyrr}"} + { curlanguage "german" = + {"{Heft}"} %%% { "anzahl" }??? + {"language is not defined: " language "number" * * warning$ "number"} + if$} + if$} +if$} + +FUNCTION {bbl.nr} % { "\bblno{}" } +{ curlanguage "english" = + {"no."} + { curlanguage "italian" = + { "no" } + { curlanguage "ukrainian" = curlanguage "russian" = or + { "{\cyr\textnumero}" } + { curlanguage "german" = + {"{H.}"} %%% { "an." } + {"language is not defined: " language "no." * * warning$ "no."} + if$} + if$} + if$} +if$} + +FUNCTION {bbl.nnr} % { "\bblno{}" } +{ curlanguage "english" = + {"No."} + { curlanguage "ukrainian" = curlanguage "russian" = or + { "{\cyr\textnumero}" } + { curlanguage "german" = + {"{H.}"} %%% { "an." } + {"language is not defined: " language "No." * * warning$ "No."} + if$} + if$} +if$} + +FUNCTION {bbl.in} % { "\bblin{}" } +{ curlanguage "english" = curlanguage "german" = or + {"in"} + { curlanguage "ukrainian" = curlanguage "russian" = or + { "{\cyr\cyrv}" } + {"language is not defined: " language "in" * * warning$ "in"} + if$} +if$} + +FUNCTION {bbl.iin} % { "\bblIn{}" } +{ curlanguage "english" = curlanguage "german" = or + {"In"} + { curlanguage "ukrainian" = curlanguage "russian" = or + { "\CYRV" } + {"language is not defined: " language "In" * * warning$ "In"} + if$} +if$} + +FUNCTION {bbl.pages} % { "\bblpp." } +{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or + {"p."} %%% {"pp."} + { curlanguage "ukrainian" = curlanguage "russian" = or + {"{\cyr\cyrs.}"} + { curlanguage "german" = + {"S."} %%%% { "s." } + {"language is not defined: " language "pp." * * warning$ "pp."} + if$} + if$} +if$} + +FUNCTION {bbl.page} % { "\bblp." +{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or + {"p."} + { curlanguage "ukrainian" = curlanguage "russian" = or + {"{\cyr\cyrs.}"} + { curlanguage "german" = + {"S."} %%%% { "s." } + {"language is not defined: " language "p." * * warning$ "p."} + if$} + if$} +if$} + +FUNCTION {bbl.ppages}% { "\bblPp." } +{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or + {"P."} %%%% { "Pp." } + { curlanguage "ukrainian" = curlanguage "russian" = or + {"{\cyr\CYRS.}"} + { curlanguage "german" = + {"S."} + {"language is not defined: " language "Pp." * * warning$ "Pp."} + if$} + if$} +if$} + +FUNCTION {bbl.ppage} % { "\bblP." } +{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or + {"P."} + { curlanguage "ukrainian" = curlanguage "russian" = or + {"{\cyr\CYRS.}"} + { curlanguage "german" = + {"S."} + {"language is not defined: " language "P." * * warning$ "P."} + if$} + if$} +if$} + +FUNCTION {bbl.urldate} +{ curlanguage "english" = + {"online; accessed: "} + { curlanguage "ukrainian" = + { "\cyrd\cyra\cyrt\cyra\ \cyrz\cyrv\cyre\cyrr\cyre\cyrn\cyrn\cyrya:" } + { curlanguage "russian" = + { "{\cyrd\cyra\cyrt\cyra\ \cyro\cyrb\cyrr\cyra\cyrshch\cyre\cyrn\cyri\cyrya: }" } + { curlanguage "german" = + { "{online; abgerufen: }" } + { "language is not defined: " language * warning$ "online; accessed: " } + if$} + if$} + if$} +if$} + +FUNCTION {bbl.techrep} % rename to bbl.techreport +{ curlanguage "english" = + { "Tech.~Rep." } + { curlanguage "german" = + { "Tech.~Bericht" } + { curlanguage "russian" = + { "{\cyr\CYRT\cyre\cyrh.\ \cyrd\cyro\cyrk\cyrl\cyra\cyrd}" } + { "language is not defined: " language * warning$ "Tech.~Rep." } + if$} + if$} +if$} + +FUNCTION {bbl.mthesis} +{ curlanguage "english" = + { "Master's thesis" } + { curlanguage "german" = + { "Diss.~Mag." } + { curlanguage "russian" = + { "{\cyr\CYRK\cyrv\cyra\cyrl\cyri\cyrf\cyri\cyrk\cyra\cyrc\cyri" + "\cyro\cyrn\cyrn\cyra\cyrya\ \cyrr\cyra\cyrb\cyro\cyrt\cyra\ " * + "\cyrm\cyra\cyrg\cyri\cyrs\cyrt\cyrr\cyra}" * } + { "language is not defined: " language * warning$ "Master's thesis" } + if$} + if$} +if$} + +FUNCTION {bbl.phdthesis} +{ curlanguage "english" = + { "Ph.\,D. thesis" } + { curlanguage "german" = + { "Diss.~Ph.\,D." } + { curlanguage "russian" = + { "{\cyr\CYRD\cyri\cyrs\cyrs\ldots\ \cyrk\cyra\cyrn\cyrd\cyri" + "\cyrd\cyra\cyrt\cyra\ \cyrn\cyra\cyru\cyrk}" * } + { "language is not defined: " language * warning$ "Ph.\,D. thesis" } + if$} + if$} +if$} + +FUNCTION {bbl.dscithesis} %%% rename this to dscthesis +{ curlanguage "english" = + { "Dr.\,Sci. dissertation" } + { curlanguage "german" = + { "Diss.~Dr." } + { curlanguage "russian" = + { "{\cyr\CYRD\cyri\cyrs\cyrs\ldots\ \cyrd\cyro\cyrk\cyrt\cyro" + "\cyrr\cyra\ \cyrn\cyra\cyru\cyrk}" * } + { "language is not defined: " language * warning$ "In" } + if$} + if$} +if$} + +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ + 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv~}{ll}{~jj}{~f.}" format.name$ 't := + nameptr #1 > + { nameptr #4 = + numnames #4 > and + { "others" 't := + #1 'namesleft := } + 'skip$ + if$ + namesleft #1 > + { ", " * t * } + { t "others" = + t "~others" = + or + { " " * bbl.etal * } + { ", " * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.names.rev} +{ + 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{f.}{~vv}{~ll}{, jj}" format.name$ 't := + nameptr #1 > + { nameptr #4 = + numnames #4 > and + { "others" 't := + #1 'namesleft := } + 'skip$ + if$ + namesleft #1 > + { ", " * t * } + { t "others" = + t "~others" = + or + { " " * bbl.etal * } + { ", " * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.authors} +{ author empty$ + { "" } + { author format.names emphasize} + if$ +} + +FUNCTION {format.bookauthors} +{ bookauthor empty$ + { "" } + { bookauthor format.names} + if$ +} + +FUNCTION {format.authors.after} +{ author empty$ + { "" } + { author format.names.rev} + if$ +} + +FUNCTION {format.bookauthors.after} +{ bookauthor empty$ + { "" } + { bookauthor format.names.rev} + if$ +} + +FUNCTION {format.editors.after} +{ editor empty$ + { "" } + { bbl.edby editor format.names.rev * + } + if$ +} + +FUNCTION {format.compiler.after} +{ compiler empty$ + { "" } + { bbl.cmplr compiler format.names.rev * + } + if$ +} + +FUNCTION {format.title} +{ title empty$ + { "" } + { title "t" change.case$ + } + if$ +} + +FUNCTION {format.date} +{ year empty$ + { month empty$ + { "" } + { "there's a month but no year in " cite$ * warning$ + month + } + if$ + } + { month empty$ + 'year + { year ". " quote$ "--- " month * * * * } + if$ + } + if$ +} + +FUNCTION {output.address.publisher.date} +{ + address empty$ + 'skip$ + { address output + publisher empty$ + 'skip$ + { new.column } + if$ + } + if$ + publisher output + format.date output +} + +FUNCTION {output.bibitem} +{ newline$ + "\bibitem{" write$ + cite$ write$ + "}" write$ + newline$ + language empty$ + {"english" 'curlanguage :=} + {language 'curlanguage :=} + if$ + "\selectlanguageifdefined{" write$ + curlanguage write$ + "}" write$ newline$ + "" + before.all 'output.state := +} + +FUNCTION {n.dashify} +{ 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {word.in} +{ bbl.iin + " " * } + +FUNCTION {format.btitle} +{ title +} + +FUNCTION {tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ * * +} + +FUNCTION {tie.connect} + {"~" + swap$ * * + } + +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { bbl.vvol volume tie.connect + series empty$ + 'skip$ + { bbl.of space.word * series emphasize * } + if$ + "volume and number" number either.or.check + } + if$ +} + +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { series empty$ + { "there's a number but no series in " cite$ * warning$ + bbl.nnr } + { + %new.dblslash + new.sentence + series + bbl.nr + tie.or.space.connect} + if$ + number tie.or.space.connect + } + if$ + } + { "" } + if$ +} + +FUNCTION {is.num} +{ chr.to.int$ + duplicate$ "0" chr.to.int$ < not + swap$ "9" chr.to.int$ > not and +} + +FUNCTION {extract.num} +{ duplicate$ 't := + "" 's := + { t empty$ not } + { t #1 #1 substring$ + t #2 global.max$ substring$ 't := + duplicate$ is.num + { s swap$ * 's := } + { pop$ "" 't := } + if$ + } + while$ + s empty$ + 'skip$ + { pop$ s } + if$ +} + + +FUNCTION {convert.edition} +{ edition +} + +FUNCTION {format.edition} +{ edition empty$ + { "" } + { output.state mid.sentence = + { convert.edition "l" change.case$ " " * bbl.edition * } + { convert.edition "t" change.case$ " " * bbl.edition * } + if$ + } + if$ +} + +INTEGERS { multiresult } + +FUNCTION {multi.page.check} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {format.pages} +{ pages empty$ + { "" } + { pages multi.page.check + { bbl.ppages pages n.dashify tie.connect } + { bbl.ppage pages tie.connect } + if$ + } + if$ +} + +FUNCTION {format.pages.page} +{ pages empty$ + { totalpages empty$ + { "" } + { totalpages bbl.pages tie.connect } + if$} + { format.pages} + if$ +} + +FUNCTION {format.vol.num.pages} +{ volume field.or.null + number empty$ + 'skip$ + { + ", no." number tie.or.space.connect * + volume empty$ + { "there's a number but no volume in " cite$ * warning$ } + 'skip$ + if$ + } + if$ + pages empty$ + 'skip$ + { duplicate$ empty$ + { pop$ format.pages } + { ": " * pages n.dashify * } + if$ + } + if$ +} + +FUNCTION {format.volume} +{ volume empty$ + { "" } + { bbl.vvol volume tie.or.space.connect } + if$ +} + +FUNCTION {format.number} +{ number empty$ + { "" } + { bbl.nr number tie.or.space.connect } + if$ +} + + +FUNCTION {empty.misc.check} +{ author empty$ title empty$ howpublished empty$ + month empty$ year empty$ note empty$ + and and and and and + key empty$ not and + { "all relevant fields are empty in " cite$ * warning$ } + 'skip$ + if$ +} + +FUNCTION {format.thesis.type} +{ type empty$ + 'skip$ + { pop$ + type "t" change.case$ + } + if$ +} + +FUNCTION {format.tr.number} +{ type empty$ + { bbl.techrep } + 'type + if$ + number empty$ + { "t" change.case$ } + { number tie.or.space.connect } + if$ +} + +FUNCTION {author.before} +{ + author empty$ + 'skip$ + {author num.names$ #4 < + {format.authors output + new.sentence} + 'skip$ + if$} + if$ +} + +FUNCTION {bookauthor.before} +{ + bookauthor empty$ + 'skip$ + {bookauthor num.names$ #4 < + {format.bookauthors output + new.sentence} + 'skip$ + if$} + if$ +} + +FUNCTION {author.after} +{ + author empty$ + 'skip$ + {author num.names$ #3 > + {format.authors.after output + new.semicolumn } + 'skip$ + if$} + if$ +} + +FUNCTION {bookauthor.after} +{ + bookauthor empty$ + 'skip$ + {bookauthor num.names$ #3 > + {format.bookauthors.after output + new.semicolumn } + 'skip$ + if$} + if$ +} + +FUNCTION {editor.organization.after} +{ + compiler empty$ + {} + { format.compiler.after output + new.semicolumn + } + if$ + editor empty$ + {} + { format.editors.after output + new.semicolumn + } + if$ + organization empty$ + {} + {organization output + new.semicolumn + } + if$ +} + +FUNCTION {format.url} +{ url empty$ + { "" } + { + "URL: \BibUrl{" url * "}" * + urldate empty$ + { "" } + { " (" bbl.urldate * urldate * ")" * } + if$ * + } + if$ +} + +FUNCTION {format.annote} +{ annote empty$ + { "" } +{ after.sentence 'output.state := + "\BibAnnote{" annote add.period$ * "}" * +} + if$ +} + +FUNCTION {format.isbn} +{ + isbn empty$ + { "" } + { "ISBN:~\href{http://isbndb.com/search-all.html?kw=" isbn * + "}{" * isbn * "}" * + } + if$ +} + +FUNCTION {add.doi} +{ +% duplicate$ empty$ +% 'skip$ +% { doi empty$ +% 'skip$ +% { "\href{http://dx.doi.org/" doi * "}{" * swap$ * "}" * } +% if$ +% } +% if$ +} + + +%FUNCTION {format.eprint} +%{ eprint empty$ +% { "" } +% { eprintclass empty$ +% { " \href{http://arxiv.org/abs/" eprint * "}" * "{" * eprint * "}" * } +% { eprinttype empty$ +% { " \href{http://arxiv.org/abs/" eprint * "}" * +% "{" * eprintclass * "/" * eprint * "}" * +% } +% { " \href{http://arxiv.org/abs/" eprint * "}" * +% "{" * eprinttype * ":" * eprintclass * "/" * eprint * "}" * +% } +% if$} +% if$} +%if$} +%FUNCTION {format.eprint} +%{ eprint empty$ +% { "" } +% { eprinttype empty$ +% { "" } +% { eprinttype "~: " *} +% if$ +% eprintclass empty$ +% { } +% { eprintclass * "/" *} +% if$ +% eprint * +% } +% if$ +%} +%FUNCTION {format.eprint} +%{ eprint empty$ +% { "" } +% { eprinttype empty$ +% { "" } +% { eprinttype "~: " *} +% if$ +% eprintclass empty$ +% { } +% { eprintclass * "/" *} +% if$ +% eprint * +% } +% if$ +% url empty$ +% { } +% { "\href{" url * "}{" * swap$ * "}" *} +% if$ +%} + +FUNCTION {format.eprint} +{ eprint empty$ + { "" } + { eprinttype empty$ + { "" } + { eprinttype "~: " *} + if$ + eprintclass empty$ + { } + { eprintclass * "/" *} + if$ + url empty$ + { eprint * } + { "\href{" * url * "}{" * eprint * "}" *} + if$ + } + if$ +} + +FUNCTION {output.eprint.url} +{ + eprint empty$ + { format.url output } + { format.eprint output } + if$ +} + +FUNCTION {article} +{ + output.bibitem + author.before + format.title "title" output.check + new.slash + author.after + new.dblslash + journal emphasize add.doi "journal" output.check % new in v.2 + new.block + format.date output + new.block + format.volume output + format.number output + new.block + format.pages.page output + new.block + note output + new.sentence +% format.eprint output % new in v.2 +% new.block % new in v.2 +% format.url output + output.eprint.url + format.annote output + fin.entry +} + +FUNCTION {book} +{ + output.bibitem + author.before + format.btitle add.doi "title" output.check + new.slash + author.after + editor.organization.after + new.sentence + format.number.series output + new.block + format.edition output + new.block + output.address.publisher.date + new.block + format.bvolume output + new.block + format.pages.page output + new.block + format.isbn output + new.block + note output + new.sentence +% format.eprint output % new in v.2 +% new.block % new in v.2 +% format.url output + output.eprint.url + format.annote output + fin.entry +} + +FUNCTION {booklet} +{ + output.bibitem + author.before + format.title "title" output.check + new.slash + author.after + editor.organization.after + new.block + howpublished output + address output + format.date output + new.block + note output + new.sentence + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {inbook} +{ + output.bibitem + author.before + format.btitle add.doi "title" output.check + new.slash + author.after + new.dblslash + bookauthor.before + booktitle "booktitle" output.check + new.slash + bookauthor.after + editor.organization.after + new.block + format.edition output + new.block + format.number.series output + new.sentence + output.address.publisher.date + new.block + format.bvolume output + new.block + format.pages.page output + new.block + format.isbn output + new.block + note output + new.sentence + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {incollection} +{ + output.bibitem + author.before + new.sentence + format.title add.doi "title" output.check + new.slash + author.after + new.dblslash + booktitle "booktitle" output.check + new.slash + editor.organization.after + new.block + output.address.publisher.date + new.block + format.bvolume output + format.number.series output + new.block + format.pages.page output + new.block + note output + new.sentence + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {inproceedings} +{ output.bibitem + author.before + new.sentence + format.title add.doi "title" output.check + new.slash + author.after + new.dblslash + booktitle "booktitle" output.check + new.slash + editor.organization.after + new.block + format.bvolume output + format.number.series output + new.block + address empty$ + { publisher output + format.date "year" output.check + } + { address output.nonnull + new.column + publisher output + format.date "year" output.check + } + if$ + new.block + format.pages.page output + new.block + note output + new.sentence + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {conference} { inproceedings } + +FUNCTION {manual} +{ output.bibitem + author empty$ + { organization empty$ + 'skip$ + { organization output.nonnull + address output + } + if$ + } + { format.authors output.nonnull } + if$ + new.block + format.btitle "title" output.check + author empty$ + { organization empty$ + { + address new.block.checka + address output + } + 'skip$ + if$ + } + { + organization address new.block.checkb + organization output + address output + } + if$ + format.edition output + format.date output + new.block + note output + new.sentence + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {mastersthesis} +{ + output.bibitem + format.authors "author" output.check + new.block + format.btitle add.doi "title" output.check + new.block + bbl.mthesis format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + note output + new.block + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + title howpublished new.sentence.checkb + format.title output + howpublished new.block.checka + howpublished output + new.block + format.date output + new.block + note output + new.sentence + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + new.sentence + format.btitle add.doi "title" output.check + new.column + bbl.phdthesis format.thesis.type output.nonnull + new.slash + school "school" output.check + new.block + output.address.publisher.date + new.block + format.pages.page output + note output + new.sentence + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {dscithesis} +{ + output.bibitem + format.authors "author" output.check + new.sentence + format.btitle add.doi "title" output.check + new.column + bbl.dscithesis format.thesis.type output.nonnull + new.slash + school "school" output.check + new.block + output.address.publisher.date + new.block + format.pages.page output + note output + new.sentence + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {proceedings} +{ + output.bibitem + format.btitle add.doi "title" output.check + new.slash + editor.organization.after + new.block + format.bvolume output + format.number.series output + address empty$ + { publisher output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + publisher output + } + if$ + new.block + note output + new.sentence + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {techreport} +{ + output.bibitem + author.before + new.sentence + format.title add.doi "title" output.check + new.column + format.tr.number output.nonnull + new.slash + author.after + editor.organization.after + new.block + address output + new.column + institution "institution" output.check + format.date "year" output.check + new.block + note output + new.sentence + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {unpublished} +{ output.bibitem + author.before + format.btitle "title" output.check + new.slash + author.after + editor.organization.after + new.block + note "note" output.check + new.sentence + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + format.annote output + fin.entry +} + +FUNCTION {online} +{ output.bibitem + format.authors output + title howpublished new.sentence.checkb + format.title output + howpublished new.block.checka + howpublished output + new.block + format.date output + new.block + format.eprint output % new in v.2 + new.block % new in v.2 + format.url output + new.sentence + note output + format.annote output + fin.entry +} + +FUNCTION {default.type} { misc } + +MACRO {jan} {"\bbljan{}"} +MACRO {feb} {"\bblfeb{}"} +MACRO {mar} {"\bblmar{}"} +MACRO {apr} {"\bblapr{}"} +MACRO {may} {"\bblmay{}"} +MACRO {jun} {"\bbljun{}"} +MACRO {jul} {"\bbljul{}"} +MACRO {aug} {"\bblaug{}"} +MACRO {sep} {"\bblsep{}"} +MACRO {oct} {"\bbloct{}"} +MACRO {nov} {"\bblnov{}"} +MACRO {dec} {"\bbldec{}"} + + +MACRO {aa}{"Astron. \& Astrophys."} +MACRO {aasup}{"Astron. \& Astrophys. Suppl. Ser."} +MACRO {aj} {"Astron. J."} +MACRO {aph} {"Acta Phys."} +MACRO {advp} {"Adv. Phys."} +MACRO {ajp} {"Amer. J. Phys."} +MACRO {ajm} {"Amer. J. Math."} +MACRO {amsci} {"Amer. Sci."} +MACRO {anofd} {"Ann. Fluid Dyn."} +MACRO {am} {"Ann. Math."} +MACRO {ap} {"Ann. Phys. (NY)"} +MACRO {adp} {"Ann. Phys. (Leipzig)"} +MACRO {ao} {"Appl. Opt."} +MACRO {apl} {"Appl. Phys. Lett."} +MACRO {app} {"Astroparticle Phys."} +MACRO {apj} {"Astrophys. J."} +MACRO {apjsup} {"Astrophys. J. Suppl."} +MACRO {apss} {"Astrophys. Space Sci."} +MACRO {araa} {"Ann. Rev. Astron. Astrophys."} +MACRO {baas} {"Bull. Amer. Astron. Soc."} +MACRO {baps} {"Bull. Amer. Phys. Soc."} +MACRO {cmp} {"Comm. Math. Phys."} +MACRO {cpam} {"Commun. Pure Appl. Math."} +MACRO {cppcf} {"Comm. Plasma Phys. \& Controlled Fusion"} +MACRO {cpc} {"Comp. Phys. Comm."} +MACRO {cqg} {"Class. Quant. Grav."} +MACRO {cra} {"C. R. Acad. Sci. A"} +MACRO {fed} {"Fusion Eng. \& Design"} +MACRO {ft} {"Fusion Tech."} +MACRO {grg} {"Gen. Relativ. Gravit."} +MACRO {ieeens} {"IEEE Trans. Nucl. Sci."} +MACRO {ieeeps} {"IEEE Trans. Plasma Sci."} +MACRO {ijimw} {"Interntl. J. Infrared \& Millimeter Waves"} +MACRO {ip} {"Infrared Phys."} +MACRO {irp} {"Infrared Phys."} +MACRO {jap} {"J. Appl. Phys."} +MACRO {jasa} {"J. Acoust. Soc. America"} +MACRO {jcp} {"J. Comp. Phys."} +MACRO {jchp} {"J. Chem. Phys."} +MACRO {jetp} {"Sov. Phys.--JETP"} +MACRO {jfe} {"J. Fusion Energy"} +MACRO {jfm} {"J. Fluid Mech."} +MACRO {jmp} {"J. Math. Phys."} +MACRO {jne} {"J. Nucl. Energy"} +MACRO {jnec} {"J. Nucl. Energy, C: Plasma Phys., Accelerators, Thermonucl. Res."} +MACRO {jnm} {"J. Nucl. Mat."} +MACRO {jpc} {"J. Phys. Chem."} +MACRO {jpp} {"J. Plasma Phys."} +MACRO {jpsj} {"J. Phys. Soc. Japan"} +MACRO {jsi} {"J. Sci. Instrum."} +MACRO {jvst} {"J. Vac. Sci. \& Tech."} +MACRO {nat} {"Nature"} +MACRO {nature} {"Nature"} +MACRO {nedf} {"Nucl. Eng. \& Design/Fusion"} +MACRO {nf} {"Nucl. Fusion"} +MACRO {nim} {"Nucl. Inst. \& Meth."} +MACRO {nimpr} {"Nucl. Inst. \& Meth. in Phys. Res."} +MACRO {np} {"Nucl. Phys."} +MACRO {npb} {"Nucl. Phys. B"} +MACRO {nt/f} {"Nucl. Tech./Fusion"} +MACRO {npbpc} {"Nucl. Phys. B (Proc. Suppl.)"} +MACRO {inc} {"Nuovo Cimento"} +MACRO {nc} {"Nuovo Cimento"} +MACRO {pf} {"Phys. Fluids"} +MACRO {pfa} {"Phys. Fluids A: Fluid Dyn."} +MACRO {pfb} {"Phys. Fluids B: Plasma Phys."} +MACRO {pl} {"Phys. Lett."} +MACRO {pla} {"Phys. Lett. A"} +MACRO {plb} {"Phys. Lett. B"} +MACRO {prep} {"Phys. Rep."} +MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"} +MACRO {pp} {"Phys. Plasmas"} +MACRO {ppcf} {"Plasma Phys. \& Controlled Fusion"} +MACRO {phitrsl} {"Philos. Trans. Roy. Soc. London"} +MACRO {prl} {"Phys. Rev. Lett."} +MACRO {pr} {"Phys. Rev."} +MACRO {physrev} {"Phys. Rev."} +MACRO {pra} {"Phys. Rev. A"} +MACRO {prb} {"Phys. Rev. B"} +MACRO {prc} {"Phys. Rev. C"} +MACRO {prd} {"Phys. Rev. D"} +MACRO {pre} {"Phys. Rev. E"} +MACRO {ps} {"Phys. Scripta"} +MACRO {procrsl} {"Proc. Roy. Soc. London"} +MACRO {rmp} {"Rev. Mod. Phys."} +MACRO {rsi} {"Rev. Sci. Inst."} +MACRO {science} {"Science"} +MACRO {sciam} {"Sci. Am."} +MACRO {sam} {"Stud. Appl. Math."} +MACRO {sjpp} {"Sov. J. Plasma Phys."} +MACRO {spd} {"Sov. Phys.--Doklady"} +MACRO {sptp} {"Sov. Phys.--Tech. Phys."} +MACRO {spu} {"Sov. Phys.--Uspekhi"} +MACRO {st} {"Sky and Telesc."} + +MACRO {appopt} {"Appl. Opt."} +MACRO {bell} {"Bell Syst. Tech. J."} +MACRO {ell} {"Electron. Lett."} +MACRO {jasp} {"J. Appl. Spectr."} +MACRO {jqe} {"IEEE J. Quantum Electron."} +MACRO {jlwt} {"J. Lightwave Technol."} +MACRO {jmo} {"J. Mod. Opt."} +MACRO {josa} {"J. Opt. Soc. America"} +MACRO {josaa} {"J. Opt. Soc. Amer.~A"} +MACRO {josab} {"J. Opt. Soc. Amer.~B"} +MACRO {jdp} {"J. Phys. (Paris)"} +MACRO {oc} {"Opt. Commun."} +MACRO {ol} {"Opt. Lett."} +MACRO {os} {"Opt. Spectrosc."} +MACRO {phtl} {"IEEE Photon. Technol. Lett."} +MACRO {pspie} {"Proc. Soc. Photo-Opt. Instrum. Eng."} +MACRO {sjot} {"Sov. J. Opt. Technol."} +MACRO {sjqe} {"Sov. J. Quantum Electron."} +MACRO {sleb} {"Sov. Phys.--Leb. Inst. Rep."} +MACRO {stph} {"Sov. Phys.--Techn. Phys."} +MACRO {stphl} {"Sov. Techn. Phys. Lett."} +MACRO {vr} {"Vision Res."} +MACRO {zph} {"Z. f. Physik"} +MACRO {zphb} {"Z. f. Physik~B"} +MACRO {zphd} {"Z. f. Physik~D"} +MACRO {sse} {"Solid-State Electron."} +MACRO {pss} {"Phys. Sol. State"} +MACRO {sst} {"Semicond. Sci. Tech."} +MACRO {nl} {"Nano Lett."} + +READ + + +STRINGS { longest.label } + +INTEGERS { number.label longest.label.width } + +FUNCTION {initialize.longest.label} +{ "" 'longest.label := + #1 'number.label := + #0 'longest.label.width := +} + +FUNCTION {longest.label.pass} +{ number.label int.to.str$ 'label := + number.label #1 + 'number.label := + label width$ longest.label.width > + { label 'longest.label := + label width$ 'longest.label.width := + } + 'skip$ + if$ +} + +EXECUTE {initialize.longest.label} + +ITERATE {longest.label.pass} + +FUNCTION {begin.bib} +{ "\begin{thebibliography}{" longest.label * "}" * write$ newline$ + "\def\selectlanguageifdefined#1{" write$ newline$ + "\expandafter\ifx\csname date#1\endcsname\relax" write$ newline$ + "\else\language\csname l@#1\endcsname\fi}" write$ newline$ + "\providecommand*{\href}[2]{{\small #2}}" write$ newline$ + "\providecommand*{\url}[1]{{\small #1}}" write$ newline$ + "\providecommand*{\BibUrl}[1]{\url{#1}}" write$ newline$ + "\providecommand{\BibAnnote}[1]{}" write$ newline$ + "\providecommand*{\BibEmph}[1]{#1}" write$ newline$ + "\providecommand*{\cyrdash}{\hbox to.8em{--\hss--}}" write$ newline$ + "\providecommand*{\BibDash}{\ifdim\lastskip>0pt\unskip\nobreak\hskip.2em\fi\cyrdash\hskip.2em\ignorespaces}" write$ newline$ + preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ +} + +EXECUTE {begin.bib} + +EXECUTE {init.state.consts} + +ITERATE {call.type$} + +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} + +EXECUTE {end.bib} + +%% +%% End of file `gost2008e.bst'. diff --git a/Master/texmf-dist/doc/bibtex/gost/gost2008l.pdf b/Master/texmf-dist/doc/bibtex/gost/gost2008l.pdf index e7a909af9bc..f6e1d545cce 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/gost2008l.pdf and b/Master/texmf-dist/doc/bibtex/gost/gost2008l.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/gost780.pdf b/Master/texmf-dist/doc/bibtex/gost/gost780.pdf index 95802d7a7f4..3ba37be6aa9 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/gost780.pdf and b/Master/texmf-dist/doc/bibtex/gost/gost780.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/ugost.tex b/Master/texmf-dist/doc/bibtex/gost/ugost.tex index d3b1f32a424..75650acb64a 100644 --- a/Master/texmf-dist/doc/bibtex/gost/ugost.tex +++ b/Master/texmf-dist/doc/bibtex/gost/ugost.tex @@ -117,6 +117,10 @@ \bibentry{ex27a} \bibentry{ex27b} \section{Use of macros} +\texttt{jan}, \texttt{feb}, \texttt{mar},\ldots{} \texttt{dec} macros in \texttt{month} field +are automatically translated to Russian or English if necessary. Other languages are not supported. \bibentry{ex30} +\section{Patents} +\bibentry{ex31} \end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/bibtex/gost/ugost2003.pdf b/Master/texmf-dist/doc/bibtex/gost/ugost2003.pdf index 5e64dd171e5..e8fed84f880 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/ugost2003.pdf and b/Master/texmf-dist/doc/bibtex/gost/ugost2003.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/ugost2008-customized.pdf b/Master/texmf-dist/doc/bibtex/gost/ugost2008-customized.pdf index ede1ad8d8b3..a5c0e610998 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/ugost2008-customized.pdf and b/Master/texmf-dist/doc/bibtex/gost/ugost2008-customized.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/ugost2008-natbib.pdf b/Master/texmf-dist/doc/bibtex/gost/ugost2008-natbib.pdf index bac7b86572c..fb3f333ae13 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/ugost2008-natbib.pdf and b/Master/texmf-dist/doc/bibtex/gost/ugost2008-natbib.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/ugost2008-sorted.pdf b/Master/texmf-dist/doc/bibtex/gost/ugost2008-sorted.pdf index 0f6351e5068..7b913c76017 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/ugost2008-sorted.pdf and b/Master/texmf-dist/doc/bibtex/gost/ugost2008-sorted.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/ugost2008.pdf b/Master/texmf-dist/doc/bibtex/gost/ugost2008.pdf index c27ee109d66..244fd6b0aad 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/ugost2008.pdf and b/Master/texmf-dist/doc/bibtex/gost/ugost2008.pdf differ diff --git a/Master/texmf-dist/doc/bibtex/gost/ugost2008l.pdf b/Master/texmf-dist/doc/bibtex/gost/ugost2008l.pdf index f880fc629b5..eff42649329 100644 Binary files a/Master/texmf-dist/doc/bibtex/gost/ugost2008l.pdf and b/Master/texmf-dist/doc/bibtex/gost/ugost2008l.pdf differ -- cgit v1.2.3