Lista de Discuss?o CyrTeX-ru@vsu.ru Mensagem #299
De: Sergej V. Znamenskij <CyrTeX-ru@vsu.ru>
Assunto: Re: amsrefs и ГОСТ
Data: Tue, 24 Jun 2008 21:37:09 +0400
Para: Cyrillic TeX Users Group <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



 С уважением,
Сергей Знаменский
 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mensagem para o Administrador da Lista