CTAN
Comprehensive TeX Archive Network

Direc­tory biblio/bibtex/contrib/gost

README.md

GOST is a bun­dle of BibTeX styles de­signed to match the State Stan­dards (GOST) on in­for­ma­tion, li­brar­i­an­ship and pub­lish­ing is­sued by The Rus­sian Fed­er­a­tion and In­ter­state Com­mit­tee of for­mer USSR States.

It may be dis­tributed and/or mod­i­fied un­der the con­di­tions of the Project Public Li­cense, ei­ther ver­sion 1.3 of this li­cense or (at your op­tion) any later ver­sion. The lat­est ver­sion of this li­cense is in http://www.la­tex-project.org/lppl.txt and ver­sion 1.3 or later is part of all dis­tri­bu­tions of ver­sion 2005/12/01 or later.

The Sys­tem of Stan­dards in­cludes: GOST 7.0.5-2008 Bi­b­li­o­graphic ref­er­ence. Gen­eral re­quire­ments and rules of mak­ing. GOST 7.1 -2003 Bi­b­li­o­graphic record. Bi­b­li­o­graphic de­scrip­tion. Gen­eral re­quire­ments and rules. GOST 7.80 -2000 Bi­b­li­o­graphic record. Head­ing. Gen­eral re­quire­ments and rules. GOST 7.11 -2004 Bi­b­li­o­graphic de­scrip­tion and ref­er­ences. Rules for the ab­bre­vi­a­tion of words and word com­bi­na­tions in for­eign Euro­pean lan­guages. GOST 7.83 -2001 Elec­tronic edi­tions. Ba­sic types and im­print. Etc.

GOST com­prises 16 BibTeX styles to for­mat bib­li­og­ra­phy in English, Rus­sian and Ukrainian ac­cord­ing to GOST 7.0.5-2008 and GOST 7.1-2003. Both 8-bit and Uni­code (UTF-8) ver­sions of each BibTeX style, in each case of­fer­ing a choice of sorted and un­sorted. Fur­ther, 2 more styles, |gost780| and gost780s| styles (not con­form­ing to ef­fec­tive stan­dards) are re­tained for back­wards com­pat­i­bil­ity.

All BibTeX styles are de­rived from same mas­ter file |gost.dtx| by ap­ply­ing dif­fer­ent set of op­tions as shown in the ta­ble be­low.


Style | utf8 | strict | mod­ern | eprint | long | sort | nat­bib


gost780 | | | | | | | gost780s | | | | | | + |


gost2003 | | + | | + | | | gost2003s | | + | | + | | + | gost2008 | | | + | + | | | gost2008n | | | + | + | | | + gost2008l | | | + | + | + | | gost2008s | | | + | + | | + | gost2008ns | | | + | + | | + | + gost2008ls | | | + | + | + | + |


ugost2003 | + | + | | + | | | ugost2003s | + | + | | + | | + | ugost2008 | + | | + | + | | | ugost2008n | + | | + | + | | | + ugost2008l | + | | + | + | + | | ugost2008s | + | | + | + | | + | ugost2008ns | + | | + | + | | + | + ugost2008ls | + | | + | + | + | + |


Style | utf8 | strict | mod­ern | eprint | long | sort | nat­bib


Gost2008| style is rec­om­mended for most ap­pli­ca­tions. It cor­re­sponds to the cur­rently ef­fec­tive Stan­dard 7.0.5-2008. Li­brar­i­ans should use the style gost2003| in­stead of |gost2008| to com­pile a li­brary cat­a­log to meet the Stan­dard 7.1-2003. Use of other styles is best ex­plained through the mean­ing of op­tions used to com­pile those styles from the mas­ter source.

Two styles, |gost780| and |gost780s|, gen­er­ated with­out |mod­ern| and strict| op­tions, are re­tained for back­ward com­pat­i­bil­ity. They do not con­form the Stan­dards 7.0.5-2008 and 7.1-2003 cited above.

The |strict| op­tion pro­vides con­for­mance to the Stan­dard 7.1-2003. The styles com­piled with that op­tion bear the name |gost2003| with pos­si­ble suf­fixes |s|, |l|, |n| as ex­plained be­low. Th­ese styles are in­tended pri­mar­ily for the li­brar­i­ans who com­pose a li­brary cat­a­log.

The |mod­ern| op­tion meets the Stan­dard 7.0.5-2008 which can be thought off as a re­laxed ver­sion of the Stan­dard 7.1-2003. The styles com­piled with that op­tion bear the name |gost2008| with pos­si­ble suf­fixes |s|, |l|, |n|. The |strict| op­tion has prece­dence over |mod­ern| so that a style com­piled with both op­tions will re­sem­ble mainly the |gost2003| style rather than gost2008|.

If the num­ber of au­thors ex­ceeds 4, mod­ern styles cut the list of au­thors to at most 4 per­sons as prescibed by the Stan­dards. The op­tion long| over­rides this rule to pro­vide back­ward com­pat­i­bil­ity with the pack­age disser by Stanis­lab Kru­chinin. Two styles, |gost2008l| and gost2008ls|, com­piled with the op­tion |long| mimic be­hav­ior of the styles gost705| and |gost705s| from the disser pack­age. Ma­jor ef­fect of the |long| op­tion is that the list of au­thors al­ways pre­cedes book or ar­ti­cle ti­tle no mat­ter how long is it. Modern styles com­piled with­out |long| place long list of au­thors be­hind the ti­tle. The names of styles com­piled with the op­tion |long| has the suf­fix |l|. Re­call that those styles do not con­form ef­fec­tive Stan­dards and their use is dis­cour­aged.

The |eprint| op­tion en­ables for­mat­ting elec­tronic pub­li­ca­tions. In par­tic­u­lar, it en­ables |eprint|, |eprint­type|, |eprint­class|, and |doi| fields for a bib­li­o­graphic en­try. The styles, gen­er­ated with­out the |eprint| op­tion, just ig­nore these fields. Start­ing from the ver­sion 1.2 of the GOST pack­age, all mod­ern styles are com­piled with this op­tion in­cluded, and there­fore the suf­fix |e| which des­ig­nated this op­tion in ear­lier ver­sions is not ap­pended to the name of style any more.

The |nat­bib| op­tion pro­vides com­pat­i­bil­ity with the |nat­bib| pack­age. The names of styles com­piled with the op­tion |nat­bib| bear the suf­fix |n|. Cur­rently 4 styles with that op­tion are avail­able for pub­lic use.

The |sort| op­tion en­ables sort­ing bib­li­o­graphic ref­er­ences by au­thor names and ti­tles of ref­er­ences. The names of styles com­piled with the op­tion |sort| bear the suf­fix |s|. Sort­ing does not work as ex­pected for databases in uni­code en­cod­ing (see be­low).

Fi­nally, the |utf8| op­tion pro­duces bib­li­o­graphic styles in uni­code rather that in 8-bit en­cod­ing. Names of those styles bear the pre­fix |u|.

Beyond bib­li­o­graphic style, GOST bun­dle con­tains CS files (code­page and sort­ing or­der).


En­cod­ing | CSF Sort­ing or­der


cp866 | ruscii.csf Cyril­lic first, Latin cp1251 | cp1251.csf Cyril­lic first, Latin koi8-u | koi8u.csf Cyril­lic first, Latin utf8 | ut­f8­cyril­lic.csf Cyril­lic first, Latin


In ad­di­tion, BibTeX8 dis­tri­bu­tion comes with few more CSFs.


En­cod­ing | CSF Sort­ing or­der


cp866 | cp866rus.csf Latin first, Cyril­lic


How to use

  1. Select bib­li­og­ra­phy style by adding ap­pro­pri­ate bib­li­og­ra­phystyle dec­la­ra­tion to your source file <file­name>.tex, e.g.
\bibliographystyle{gost2008}
\bibliography{database}
  1. Add the field lan­guage="ukrainian" or lan­guage="rus­sian" to the bib­li­o­graphic en­tries in Ukrainian or Rus­sian lan­guages in your database; English is the de­fault lan­guage. Ger­man, Ital­ian and French are par­tially sup­ported.
  1. To com­pile list of ref­er­ences from your database use bib­tex8.exe rather than bib­tex.exe. Depend­ing on the code­page of your bib­li­o­graphic database, in­di­cate one of the CS files listed above as op­tion to bib­tex8.exe. Run , then run bib8 and again :
latex <filename>.tex
bibtex8 -B -c <csf_file>.csf <filename>.aux
latex <filename>.tex
  1. For de­tails on prepar­ing bib­li­o­graphic database see ex­am­ples in |gost.pdf|.
  1. Ugost.bst styles are pri­mar­ily in­tended for use with uni­code com­pil­ers (xe­la­tex and lu­ala­tex). They should be pre­ferred as well when us­ing 8bit com­pil­ers (la­tex and pdfla­tex) if source file is in utf8 en­cod­ing.
  1. Nei­ther bib­tex.exe nor bib­tex8.exe pro­vide cor­rect sort­ing or­der of uni­code text. It means that us­ing ugost2008s or any other style ended with s' inits name may pro­duce un­ex­pected re­sult for utf8 doc­u­ments.
  1. Bib­tex8 fails to change case of a string if it con­tains Cyril­lic let­ter in uni­code. There­fore ugost2008 styles do not change case of ti­tles and other parts of bib­li­o­graphic record while 8-bit styles do the case change where ap­pro­pri­ate.
  1. Either |bib­tex8| or |Bib­tex8| fail to cut Cyril­lic names to ini­tials. There­fore |ugost2008| styles do not mod­ify the name of au­thors.
  1. Pack­age |nat­bib| should be loaded when us­ing styles with suf­fix |n| in their names.

Cus­tomiza­tion

Every GOST style de­fines few com­mands to for­mat some parts of a ref­er­ence. You can re­de­fine these com­mands prior to the bib­li­og­ra­phy{<bib­texstyle>} com­mand. Ini­tial def­i­ni­tions are listed be­low.

\providecommand*{\url}[1]{{\small #1}}
\providecommand*{\BibUrl}[1]{\url{#1}}
\providecommand{\BibAnnote}[1]{}
\providecommand*{\BibEmph}[1]{#1}

By de­fault, gost styles sep­a­rate log­i­cal parts of a bib­li­og­ra­phy record by a pe­riod and cyr­dash (. "—). It is le­git­i­mate to drop that dash by over­rid­ing the com­mand BibDash as fol­lows

\providecommand*{\BibDash}{}

By de­fault, BibDash is equiv­a­lent to the short­hand "— in­tro­duced by the ba­bel pack­age with the op­tion rus­sian. It prints a so called Cyril­lic dash (cyr­dash), which is 20% shorter than or­di­nary dash (—), and puts un­break­able space be­fore cyr­dash so that the dash never ap­pears at the be­gin­ning of a line.

Where to get from

  1. http://mir­ror.ctan.org/bib­lio/bib­tex/con­trib/gost/
  2. http://ctan.org/pkg/gost

What's new in ver­sion 1.2i (2017.01.12)

  1. Doc­u­men­ta­tion and ex­am­ples up­date (thanks to Leonid Sinev).

2, Re­stored @Master­sTh­e­sis in­stead of @MasterTh­e­sis (thanks to Leonid Sinev).

  1. Me­dia="ere­source" field is in­tro­duced in ad­di­tion to the me­dia="on­line" and me­dia="text"; if present, the me­dia field is not ig­nored any more in mod­ern bst-styles com­piled with­out the strict op­tion.
  1. Lo­ca­tion field is in­tro­duced as an alias of ad­dress field.
  1. @DSCISTHESIS en­try re­named to @DOCTHESIS.
  1. School field is now treated as an alias of in­sti­tu­tion.
  1. Spe­cial­i­ty­code is added for @THESIS and sim­i­lar en­tries; num­ber is treated as alias of spe­cial­i­ty­code.
  1. Type field in THESIS and sim­i­lar en­tries can now ac­cept three val­ues (math­e­sis, phdthe­sis, doc­the­sis) which are trans­lated to built-in lan­guage-sen­si­tive strings; any other value is re­pro­duced lit­er­ally.

What's new in ver­sion 1.2h (2016.08.21)

  1. Mi­nor changes in doc­u­men­ta­tion.

What's new in ver­sion 1.2g (2016.07.25)

  1. Mi­nor changes in doc­u­men­ta­tion.

What's new in ver­sion 1.2f (2016.07.11)

  1. Sup­port for |@patent| en­try added (thanks to Stanislav Kru­chinin).
  2. medium field re­named to me­dia field.

What's new in ver­sion 1.2e (2016.07.07)

  1. Hard coded "URL" string re­placed with a lan­guage sen­si­tive string (thanks to Ro­man Bud­nyi).

What's new in ver­sion 1.2d (2016.02.18)

  1. jan, feb, mar, e.t.c. month macros fixed;
  2. New macro for­mat.month.
  3. cyr­dash is now faked via ProvideTex­tCom­mandDe­fault if not de­fined.

What's new in ver­sion 1.2c (2015.01.10)

  1. langid field added; lan­guage field sup­ported for back­ward com­pat­i­bil­ity.
  2. eid field added, it has pri­or­ity over pages field;
  3. Fix Gost2003: "— re­placed by BibDash;
  4. Spac­ing around BibDash im­proved.

What's new in ver­sion 1.2b (2014.01.19)

  1. numpages re­named to page­to­tal.

What's new in ver­sion 1.2a (2012.08.31)

  1. cyr­dash is now de­fined via ProvideTex­tCom­mand rather than provide­com­mand.

What's new in ver­sion 1.2 (2012.02.22)

  1. Code refac­tor­ing. All styles are now gen­er­ated from sin­gle source file.
  2. Sup­port for GOST-7.1-2003. The field |medium| is added to re­flect type of ma­te­rial. For most en­try types |medium| de­faults to |text|.
  3. Sup­port for |nat­bib| pack­age.
  4. All mod­ern styles are now com­piled with the |eprint| op­tion.

What's new in ver­sion 1.1 (2012.01.21)

  1. Sup­port for GOST 7.0.5-2008 and GOST 7.1-2003 is pro­vided.
  2. @On­line| en­try is added to for­mat a ref­er­ence to elec­tronic re­source on In­ter­net.
  3. @Master­sTh­e­sis| en­try is added to for­mat a ref­er­ence to mas­ter's the­sis. @DS­ciTh­e­sis| en­try is added to for­mat a ref­er­ence to doc­tor of sci­ences the­sis.
  4. Url­date|, |eprint|, |eprint­class|, |eprint­type| fields are added.

Ver­sion his­tory

2012.08.31 cyr­dash is now de­fined via ProvideTex­tCom­mand. 2012.02.22 Sup­port for |nat­bib| pack­age. 2012.02.02 Adap­ta­tion to GOST 7.0.5, elec­tronic pub­lish­ing. 2005.08.12 First ver­sion up­loaded to CTAN. 2003.06.06 First pub­lic ver­sion.

Please, send fea­ture re­quests and bug re­ports via e-mail: ki­a999 at mail dot ru <Igor A. Kotel­nikov> or polyama at ya­hoo dot com <Maksym Polyakov>

Happy BibTeXing!

Down­load the con­tents of this pack­age in one zip archive (3.6M).

gost – BibTeX styles to for­mat ac­cord­ing to GOST

BibTeX styles to for­mat bib­li­ogra­phies in English, Rus­sian or Ukrainian ac­cord­ing to GOST 7.0.5-2008 or GOST 7.1-2003.

Both 8-bit and Uni­code (UTF-8) ver­sions of each BibTeX style, in each case of­fer­ing a choice of sorted and un­sorted. Fur­ther, a set of three styles (which do not con­form to cur­rent stan­dards) are re­tained for back­wards com­pat­i­bil­ity.

Pack­agegost
Ver­sion1.2i 2017-01-12
Li­cense The Project Public Li­cense 1.3
Main­tainerMaksym Polyakov
Igor A. Kotel­nikov
Con­tained inTeX Live as gost
MiKTeX as gost
Topics sup­port for type­set­ting Rus­sian
BibTeX style or style gen­er­a­tor
See also biblatex-gost
...
Guest Book Sitemap Contact Contact Author