summaryrefslogtreecommitdiff
path: root/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost.tex
blob: 27482cbd26ba163cd5e51a14c33a2bdb7c8a16ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
\documentclass[a4paper]{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{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}
  \usepackage{cmap}
\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}