Mailing List CyrTeX-ru@vsu.ru Message #300
From: Mikhael N. Saushkin <CyrTeX-ru@vsu.ru>
Subject: Re: amsrefs и ГОСТ
Date: Tue, 24 Jun 2008 22:47:20 +0500
To: Cyrillic TeX Users Group <CyrTeX-ru@vsu.ru>
Спасибо.

24 июня 2008 г. 22:37 пользователь Sergej V. Znamenskij <CyrTeX-ru@vsu.ru> написал:
On Tuesday 24 June 2008 21:02, Mikhael N. Saushkin wrote:
> Добрый день.
> Кто знает как заставить amsrefs выводить в формате российского госта?
Там все настраивается примерно так:

\makeatletter
\BibSpec{collection.article}{%
 +{}{\PrintAuthors}{author}
 +{\@addpunct.}{ \textit}{title}
 +{}{  // }{booktitle}
 +{}{  // }{conference}
 +{:}{ }{subtitle}
 +{:}{ }{type}
 +{\@addpunct.}{ }{series}
 +{/}{ }{organization}
 +{}{ \editiontext~\PrintEditorsA}{editor}
 +{. \emdash}{ \PrintEdition}{edition}
 +{. \emdash}{ \parttext~}{part}
 +{. \emdash}{ \voltext~\bib@volume@font}{volume}
 +{,}{ \issuetext~}{number}
 +{.}{ \emdash}{place}
 +{:}{ }{publisher}
 +{,}{ \PrintDateB}{date}
 +{. \emdash}{ \ISBNList}{isbn}
 +{}{ \parenthesize}{status}
 +{,}{ \pagetext~}{pages}
 +{,}{ }{note}
 +{.}{}{transition}
 +{}{\SentenceSpace \ReviewList}{review}
 +{}{ \parenthesize}{language}
}
\BibSpec{article}{%
 +{}{\PrintAuthors}{author}
 +{\@addpunct.}{ \textit}{title}
 +{:}{ }             {part}
 +{}{ // }             {journal}
 +{.}{ }{series}
 +{.} { \emdash\textbf}      {volume}
 +{,}{ \issuetext~}{number}
 +{,}{ \PrintDateB}{date}
 +{,}{ \PrintDOI}    {doi}
 +{,}{ \eprint}      {eprint}
 +{} { \parenthesize}{status}
 +{,}{ \pagetext~}  {pages}
 +{,}{ }             {note}
 +{.}{}              {transition}
 +{} {\SentenceSpace \ReviewList}   {review}
 +{}{ \parenthesize}{language}
}
\BibSpec{book}{%\DefineSimpleKey{bib}{issue}
 +{}{\PrintAuthors}{author}
 +{\@addpunct.}{ }{title}
 +{}{  // \EnglishInitialCaps}{booktitle}
 +{:}{ }{subtitle}
 +{:}{ }{type}
 +{\@addpunct.}{ }{series}
 +{/}{ }{organization}
 +{}{ / \editiontext \PrintEditorsA}{editor}
 +{. \emdash}{ \PrintEdition}{edition}
 +{. \emdash}{ \voltext~\bib@volume@font}{volume}
 +{. \emdash}{ \parttext~}{part}
 +{,}{ \issuetext~}{number}
 +{.}{ \emdash}{place}
 +{:}{ }{publisher}
 +{,}{ \PrintDateB}{date}
 +{. \emdash}{ \ISBNList}{isbn}
 +{}{ \parenthesize}{status}
 +{,}{ \pagetext~}{pages}
 +{,}{ }{note}
 +{.}{}{transition}
 +{}{\SentenceSpace \ReviewList}{review}
 +{}{ \parenthesize}{language}
 }

\BibSpec{report}{%
 +{}{\PrintAuthors}{author}
 +{.}{ \textit}{title}
 +{:}{ }{type}
 +{}{  // \EnglishInitialCaps}{booktitle}
 +{:}{ }{subtitle}
 +{\@addpunct.}{ }{series}
 +{/}{ }{organization}
 +{}{ / \editiontext \PrintEditorsA}{editor}
 +{. \emdash\relax}{ \PrintEdition}{edition}
 +{. \emdash\relax}{ \voltext~\bib@volume@font}{volume}
 +{. \emdash\relax}{ \parttext~}{part}
 +{,}{ \issuetext~}{number}
 +{.}{ \emdash}{place}
 +{:}{ }{publisher}
 +{,}{ }{institution}
 +{,}{ \PrintDateB}{date}
 +{. \emdash}{ \ISBNList}{isbn}
 +{,}{ \eprint}      {eprint}
 +{}{ \parenthesize}{status}
 +{,}{ \pagetext~}{pages}
 +{,}{ }{note}
 +{.}{}{transition}
 +{}{\SentenceSpace \ReviewList}{review}
 +{}{ \parenthesize}{language}
}
\BibSpec{thesis}{%
 +{}{\PrintAuthors}{author}
 +{}{ / \editiontext \PrintEditorsA}{editor}
 +{.}{ \PrintDate}{date}
 +{.}{ \textit}{title}
 +{,}{ \PrintThesisType}{type}
 +{,}{ part~}{part}
 +{,}{ }{organization}
 +{,}{ }{institution}
 +{,}{ }{place}
 +{}{ \parenthesize}{status}
 +{,}{ }{note}
 +{.}{}{transition}
 +{,}{ \PrintPages}{pages}
 +{}{\SentenceSpace \ReviewList}{review}
 +{}{ \parenthesize}{language}
}
\newcommand\PrintPages[1]{#1~\pagetext}
\def\InitialPunct{\@addpunct.}
\BibSpec{firstauthor}{
  +{}{}{surname}
  +{}{ }{initials}
  +{}{ \parenthesize}{jr}
 }
\BibSpec{coauthor}{
  +{,}{ }{transition}
  +{}{ }{surname}
  +{}{ }{initials}
  +{}{ \parenthesize}{jr}
 }
\BibSpec{middleauthor}{
  +{,}{ }{transition}
  +{}{ }{surname}
  +{}{ }{initials}
  +{}{ \parenthesize}{jr}
 }
\def\biblanguageEnglish{english}
\let\biblanguagedefault\biblanguageEnglish
\BibSpec{lastauthor}{
  +{,}{ }{transition}
  +{}{ }{surname}
  +{}{ }{initials}
  +{}{ }{jr}
 }
\BibSpecAlias{firsteditor}{firstauthor}
\BibSpecAlias{issue}{number}
\BibSpecAlias{coeditor}{coauthor}
\BibSpecAlias{middleeditor}{coeditor}
\BibSpecAlias{lasteditor}{coeditor}
\BibSpec{firsted}{
 +{}{}{initials}
 +{}{ }{surname}
 +{}{ }{jr}
}
\BibSpec{coed}{
 +{}{ }{initials}
 +{}{ }{surname}
 +{}{ }{jr}
}
\BibSpec{middleed}{
 +{,}{ }{initials}
 +{}{ }{surname}
 +{}{ }{jr}
}
\BibSpec{lasted}{
 +{,}{ }{initials}
 +{}{ }{surname}
 +{}{ }{jr}
}
\makeatother



 С уважением,
Сергей Знаменский


================================================
CyrTeX-ru mailing list Archives and Information:
https://info.vsu.ru/Lists/CyrTeX-ru/List.html


Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster