summaryrefslogtreecommitdiff
path: root/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost.tex
diff options
context:
space:
mode:
Diffstat (limited to 'biblio/bibtex/contrib/gost/doc/examples/cp1251/gost.tex')
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost.tex195
1 files changed, 195 insertions, 0 deletions
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost.tex b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost.tex
new file mode 100644
index 0000000000..71ca598681
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost.tex
@@ -0,0 +1,195 @@
+\documentclass[a4paper]{article}
+ % cmap надо грузить до inputenc, чтобы работал поиск при кодировке utf8
+\usepackage{cmap}
+\usepackage[T2A]{fontenc}
+\usepackage[cp1251]{inputenc}
+\usepackage[russian]{babel}
+\usepackage{bibunits,verbatim,geometry,ifpdf}
+
+%============================================================
+\makeatletter
+\RequirePackage{bibunits}
+\renewcommand{\@bibunitname}{\jobname-\the\@bibunitauxcnt}
+\newcounter{qnum}\newcounter{qnuma}\setcounter{qnum}{0}
+\def\@biblabel#1{#1.\hfill}
+%\endinput
+\renewenvironment{thebibliography}[1]
+ {\list{\@biblabel{\@arabic\c@enumiv}}%
+ {\settowidth\labelwidth{\@biblabel{99}}%
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+% \advance\leftmargin\parindent
+ \setcounter{qnuma}{\c@enumiv}
+ \@openbib@code
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \setcounter{enumiv}{\theqnuma}
+ \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+ \sloppy
+ \clubpenalty4000
+ \@clubpenalty \clubpenalty
+ \widowpenalty4000%
+ \sfcode`\.\@m}
+ {\def\@noitemerr
+ {\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist}
+\makeatother
+%============================================================
+
+\ifpdf
+ \usepackage[pdftex,hyperindex,unicode]{hyperref}
+\else
+ \usepackage[hypertex]{hyperref}
+\fi
+\usepackage{color}
+\definecolor{darkblue}{rgb}{0,0,.6}
+\hypersetup{
+ pdftitle = {\mytitle},
+ pdfauthor = {Igor A. Kotelnikov},
+ pdfsubject = {GOST, BibTeX},
+ pdfstartview = {FitH},
+% pdfborder = {0 0 0},
+% bookmarksopen = true,
+ bookmarksnumbered = true,
+% bookmarksopenlevel = 2,
+ colorlinks = true, linkcolor = darkblue,
+ citecolor = darkblue, filecolor = darkblue,
+ menucolor = darkblue, urlcolor = darkblue
+}
+
+
+\begin{document}
+
+\newcommand{\bibentry}[1]{
+\begin{bibunit}
+\nocite{*}
+\putbib[bib/#1]
+\nopagebreak
+\verbatiminput{bib/#1.bib}
+\end{bibunit}
+}
+
+\title{\mytitle}
+\maketitle
+\begin{abstract}
+ \mydescription
+\end{abstract}
+
+\bibliographyunit[\section]
+\bibliographystyle{\mybibstyle}
+
+\section{Books}
+
+\subsection{One--three authors}
+\bibentry{ex01}
+\bibentry{ex02}
+\bibentry{ex03}
+
+\subsection{Four and more authors}
+\bibentry{ex04}
+\bibentry{ex05}
+
+\subsection{Collective author}
+\bibentry{ex06}
+
+\subsection{Compiler}
+\bibentry{ex06a}
+
+\subsection{Multiple-volume publications}
+\bibentry{ex07}
+\bibentry{ex08}
+\bibentry{ex09}
+
+\subsection{Translated}
+\bibentry{ex10}
+
+\subsection{Collections}
+\bibentry{ex12}
+
+\subsection{Dictionary}
+\bibentry{ex13}
+
+
+\section{Parts of \ldots}
+
+\subsection{Book}
+\bibentry{ex14}
+\bibentry{ex14a}
+
+\subsection{Collection}
+\bibentry{ex15}
+
+\subsection{Journal}
+\bibentry{ex16}
+\bibentry{ex17}
+\bibentry{ex17a}
+
+\subsection{Newspaper}
+\bibentry{ex17b}
+
+\subsection{Encyclopedia}
+\bibentry{ex18}
+
+\subsection{Proceedings}
+\bibentry{ex19}
+\bibentry{ex20}
+
+\subsubsection{With crossreference}
+\bibentry{ex20a}
+
+\subsubsection{With multiple languages}
+\bibentry{ex20b}
+
+
+\section{Others}
+
+\subsection{Standard}
+\bibentry{ex11}
+
+\subsection{Dissertation}
+\bibentry{ex21}
+\bibentry{ex21a}
+\bibentry{ex21b}
+Allowed built-in values of \verb|type| field in \verb|@THESIS| entry are \verb|mathesis| for masters thesis, \verb|phdthesis| for Ph.D. thesis, and \verb|docthesis| for doctor of sciences dissertation. Any other value of \verb|type| is reproduced literally.
+\bibentry{ex22}
+\bibentry{ex22a}
+
+\subsection{Preprint}
+\bibentry{ex23}
+
+\subsection{Report}
+\bibentry{ex24}
+\bibentry{ex24a}
+\bibentry{ex24b}
+
+\subsection{Catalog}
+\bibentry{ex25}
+
+\subsection{Instruction}
+\bibentry{ex26}
+
+\subsection{Patent}
+\bibentry{ex31}
+
+
+\section{Electronic resources}
+
+\subsection{Common Fields}
+\verb|Url|, \verb|eprint|, \verb|doi| and \verb|media| fields can be assigned to any entry. Allowed values of \verb|media| are \verb|online|, \verb|eresource| and \verb|text| (default).
+\bibentry{ex27c}
+\bibentry{ex28}
+\bibentry{ex28a}
+\bibentry{ex29}
+
+\subsection{Online Entry}
+\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}
+
+
+\end{document} \ No newline at end of file