diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/gost/gost780u.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/gost/gost780u.bst | 215 |
1 files changed, 154 insertions, 61 deletions
diff --git a/Master/texmf-dist/bibtex/bst/gost/gost780u.bst b/Master/texmf-dist/bibtex/bst/gost/gost780u.bst index c31165dea31..9e6e231db99 100644 --- a/Master/texmf-dist/bibtex/bst/gost/gost780u.bst +++ b/Master/texmf-dist/bibtex/bst/gost/gost780u.bst @@ -6,28 +6,34 @@ %% %% gost.dtx (with options: `gost780u') %% +%% Copyright 2012 Igor A. Kotelnikov. +%% Version 2012.01.21 +%% %% Copyright 1996-2005 Maksym Polyakov. %% Version 2005.08.12 %% %% This file may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.2 +%% 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.2 or later is part of all distributions of LaTeX -%% version 1999/12/01 or later. +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. %% %% Please, send bug reports via e-mail: -%% polyama at auburn dot edu +%% kia999 at mail dot ru <Igor Kotelnikov> +%% polyama at yahoo dot edu <Maksym Polyakov> +%% +%% 2012.01.15 Added German, French, Italian languages, @online entry. %% %% 2005.08.12 Bug fix (long annote) %% %% 2003.06.06 contributions by Konstantin Vorontsov: -%% New ENTRY "annote" added for output annotations. +%% New ENTRY "annote" added to output annotations. %% New commands BibUrl, BibAnnote added for customize urls and annotations. %% %% 2003.08.10 -%% New command BibEmph added for customize emphasizing. +%% New command BibEmph added to customize emphasizing. %% %% 2003.10.07 %% Some bug fixes in names and date formatting. @@ -38,7 +44,7 @@ %% %% This bibliography style attempts %% to format bibliography according to -%% GOST 7.1-84 and GOST 7.80-00 +%% (obsolete) %% %% For the Ukrainian|Russian bibliographic entries %% you need to create field @@ -47,7 +53,9 @@ %% Field numpages for books must contain number of pages. %% Optional field url will format url (using hyperref, if loaded). %% -%% See examples in gost71.pdf and gost780.pdf +%% See examples in gost71.pdf, gost780.pdf and gost705.pdf +%% +%% %% %% Requires 8-bit bibtex with switch -B and csf file supporting cyrillic. %% bibtex8 -B -c <encoding>.csf <your_document> @@ -83,6 +91,7 @@ ENTRY language booklanguage url + urldate } {} { label } @@ -137,9 +146,9 @@ FUNCTION {output.nonnull} { ": " * write$ } { output.state after.semicolumn = { "; " * write$ } - { add.period$ " " * write$ } + { add.period$ " " * write$ } if$ - } + } if$ } if$ @@ -326,35 +335,50 @@ FUNCTION {bbl.cmplr} } FUNCTION {bbl.edition} % { "\bbledition{}" } -{ curlanguage "english" = +{ curlanguage "english" = {"edition"} { curlanguage "ukrainian" = - {"{\cyr\cyrv\cyri\cyrd.}"} - { curlanguage "russian" = - {"{\cyr\cyri\cyrz\cyrd.}"} - {"language is not defined: " language "edition" * * warning$ "edition"} - if$} + {"{\cyr\cyrv\cyri\cyrd.}"} + { curlanguage "russian" = + {"{\cyr\cyri\cyrz\cyrd.}"} + { curlanguage "german" = + {" {aus.}" } + { 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 "english" = curlanguage "french" = or curlanguage "italian" = or {"Volume"} { curlanguage "ukrainian" = curlanguage "russian" = or {"\CYRT\cyro\cyrm"} - {"language is not defined: " language "Volume" * * warning$ "Volume"} - if$} + { curlanguage "german" = + {"{Volumen}"} + {"language is not defined: " language "Volume" * * warning$ "Volume"} + if$} + if$} if$ } FUNCTION {bbl.vvol} % { "\bblVol{}" } -{ curlanguage "english" = +{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or {"Vol."} { curlanguage "ukrainian" = curlanguage "russian" = or - {"\CYRT."} - {"language is not defined: " language "Vol." * * warning$ "Vol."} - if$} + {"\CYRT."} + { curlanguage "german" = + {"{Vol.}"} + {"language is not defined: " language "Vol." * * warning$ "Vol."} + if$} + if$} if$ } @@ -365,9 +389,12 @@ FUNCTION {bbl.iissue} % { "\bblIssue{}" } {"\CYRV\cyri\cyrp\cyru\cyrs\cyrk"} { curlanguage "russian" = {"\CYRV\cyrery\cyrp\cyru\cyrs\cyrk"} - {"language is not defined: " language * warning$ "Issue"} - if$} - if$} + { curlanguage "german" = + {"{Ausgabe}"} + {"language is not defined: " language * warning$ "Issue"} + if$} + if$} + if$} if$ } @@ -378,7 +405,10 @@ FUNCTION {bbl.iiss} % { "\bblIss{}" } {"\CYRV\cyri\cyrp."} { curlanguage "russian" = {"\CYRV\cyrery\cyrp."} - {"language is not defined: " language * warning$ "Issue"} + { curlanguage "german" = + {"{Aus.}"} + {"language is not defined: " language * warning$ "Iss"} + if$} if$} if$} if$ @@ -411,47 +441,62 @@ FUNCTION {bbl.etal} % { "\bblof{}" } } FUNCTION {bbl.nnumber} % { "\bblNumber{}" } -{ curlanguage "english" = - {"Number"} - { curlanguage "ukrainian" = curlanguage "russian" = or - {"\CYRN\cyro\cyrm\cyre\cyrr"} +{ curlanguage "english" = + {"Number"} + { curlanguage "ukrainian" = curlanguage "russian" = or + {"\CYRN\cyro\cyrm\cyre\cyrr"} + { curlanguage "german" = + {"{Anzahl}"} {"language is not defined: " language "Number" * * warning$ "Number"} - if$} + if$} + if$} if$ } FUNCTION {bbl.number} % { "\bblnumber{}" } -{ curlanguage "english" = +{ curlanguage "english" = {"number"} { curlanguage "ukrainian" = curlanguage "russian" = or - {"{\cyr\cyrn\cyro\cyrm\cyre\cyrr}"} - {"language is not defined: " language "number" * * warning$ "number"} + {"{\cyr\cyrn\cyro\cyrm\cyre\cyrr}"} + { curlanguage "german" = + {"{anzahl}"} + {"language is not defined: " language "number" * * warning$ "number"} if$} + if$} if$ } FUNCTION {bbl.nr} % { "\bblno{}" } -{ curlanguage "english" = +{ curlanguage "english" = {"no."} - { curlanguage "ukrainian" = curlanguage "russian" = or + { curlanguage "italian" = + { "no" } + { curlanguage "ukrainian" = curlanguage "russian" = or {"{\cyr\textnumero}"} - {"language is not defined: " language "no." * * warning$ "no."} - if$} + { curlanguage "german" = + {"{an.}"} + {"language is not defined: " language "no." * * warning$ "no."} + if$} + if$} + if$} if$ } FUNCTION {bbl.nnr} % { "\bblno{}" } -{ curlanguage "english" = +{ curlanguage "english" = {"No."} { curlanguage "ukrainian" = curlanguage "russian" = or - {"{\cyr\textnumero}"} + {"{\cyr\textnumero}"} + { curlanguage "german" = + {"{an.}"} {"language is not defined: " language "No." * * warning$ "No."} - if$} + if$} + if$} if$ } FUNCTION {bbl.in} % { "\bblin{}" } -{ curlanguage "english" = +{ curlanguage "english" = curlanguage "german" = or {"in"} { curlanguage "ukrainian" = curlanguage "russian" = or {"{\cyr\cyrv}"} @@ -461,7 +506,7 @@ FUNCTION {bbl.in} % { "\bblin{}" } } FUNCTION {bbl.iin} % { "\bblIn{}" } -{ curlanguage "english" = +{ curlanguage "english" = curlanguage "german" = or {"In"} { curlanguage "ukrainian" = curlanguage "russian" = or {"\CYRV"} @@ -471,45 +516,72 @@ FUNCTION {bbl.iin} % { "\bblIn{}" } } FUNCTION {bbl.pages} % { "\bblpp." } -{ curlanguage "english" = +{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or {"pp."} { curlanguage "ukrainian" = curlanguage "russian" = or {"{\cyr\cyrs.}"} + { curlanguage "german" = + {"s."} {"language is not defined: " language "pp." * * warning$ "pp."} - if$} + if$} + if$} if$ } FUNCTION {bbl.page} % { "\bblp." -{ curlanguage "english" = +{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or {"p."} { curlanguage "ukrainian" = curlanguage "russian" = or {"{\cyr\cyrs.}"} - {"language is not defined: " language "p." * * warning$ "p."} - if$} + { curlanguage "german" = + {"s."} + {"language is not defined: " language "p." * * warning$ "p."} + if$} + if$} if$ } FUNCTION {bbl.ppages}% { "\bblPp." } -{ curlanguage "english" = +{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or {"Pp."} { curlanguage "ukrainian" = curlanguage "russian" = or {"{\cyr\CYRS.}"} - {"language is not defined: " language "Pp." * * warning$ "Pp."} - if$} + { curlanguage "german" = + {"S."} + {"language is not defined: " language "Pp." * * warning$ "Pp."} + if$} + if$} if$ } FUNCTION {bbl.ppage} % { "\bblP." } -{ curlanguage "english" = +{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or {"P."} { curlanguage "ukrainian" = curlanguage "russian" = or {"{\cyr\CYRS.}"} - {"language is not defined: " language "P." * * warning$ "P."} - if$} + { 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} { "Tech. Rep." } FUNCTION {bbl.mthesis} { "Master's thesis" } @@ -968,8 +1040,12 @@ FUNCTION {editor.organization.after} FUNCTION {format.url} { url empty$ { "" } - { after.sentence 'output.state := + { "\BibUrl{ " url * "}" * + urldate empty$ + { "" } + { " (" bbl.urldate * urldate * ")" * } + if$ * } if$ } @@ -1301,6 +1377,23 @@ FUNCTION {unpublished} 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.url output + new.sentence + note output + format.annote output + fin.entry +} + FUNCTION {default.type} { misc } MACRO {jan} {"\bbljan{}"} @@ -1400,11 +1493,11 @@ 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$ - "\ifx\undefined\url\def\url#1{{\small #1}}\else\fi" write$ newline$ - "\ifx\undefined\BibUrl\def\BibUrl#1{\url{#1}}\else\fi" write$ newline$ - "\ifx\undefined\BibAnnote\long\def\BibAnnote#1{}\else\fi" write$ newline$ - "\ifx\undefined\BibEmph\def\BibEmph#1{\emph{#1}}\else\fi" write$ newline$ + "\else\language\csname l@#1\endcsname\fi}" write$ newline$ + "\providecommand*{\url}[1]{{\small #1}}" write$ newline$ + "\providecommand*{\BibUrl}[1]{\url{#1}}" write$ newline$ + "\providecommand{\BibAnnote}[1]{}" write$ newline$ + "\providecommand*{\BibEmph}[1]{\emph{#1}}" write$ newline$ preamble$ empty$ 'skip$ { preamble$ write$ newline$ } |