summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/bibtex/gost/examples/cp1251/gost.tex
blob: 416e3baf217b684bb983d8badc5861594ee06aa4 (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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
\documentclass[a4paper]{article}
\usepackage[T2A]{fontenc}
\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{ex07}

\subsection{Multiple-volume publications}
\bibentry{ex08}
\bibentry{ex09}
\bibentry{ex10}
\bibentry{ex64}

\subsection{Translated}
\bibentry{ex11}

\subsection{Collections}
\bibentry{ex12}
\bibentry{ex63}

\subsection{Dictionary}
\bibentry{ex13}


\section{Parts of \ldots}

\subsection{Book}
\bibentry{ex14}
\bibentry{ex15}
\bibentry{ex61}

\subsection{Collection}
\bibentry{ex16}

\subsection{Journal}
\bibentry{ex17}
\bibentry{ex18}
\bibentry{ex19}
\bibentry{ex60}
\bibentry{ex68}
\bibentry{ex74}
\bibentry{ex76}

\subsection{Newspaper}
\bibentry{ex20}

\subsection{Encyclopedia}
\bibentry{ex21}

\subsection{Proceedings}
\bibentry{ex22}
\bibentry{ex23}
\bibentry{ex65}

\subsubsection{With crossreference}
\bibentry{ex24}
\bibentry{ex72}
\bibentry{ex73}

\subsubsection{With multiple languages}
\bibentry{ex25}
\bibentry{ex26}
\bibentry{ex27}


\section{Others}

\subsection{Standard}
\bibentry{ex28}

\subsection{Dissertation}
\bibentry{ex29}
\bibentry{ex30}
\bibentry{ex31}
\bibentry{ex32}
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{ex33}
\bibentry{ex34}
\bibentry{ex35}
\bibentry{ex36}
\bibentry{ex70}
\bibentry{ex71}

\subsection{Preprint}
\bibentry{ex37}

\subsection{Report}
\bibentry{ex38}
\bibentry{ex39}
\bibentry{ex40}

\subsection{Catalog}
\bibentry{ex41}

\subsection{Instruction}
\bibentry{ex42}
\bibentry{ex67}

\subsection{Patent}
\bibentry{ex43}
\bibentry{ex44}


\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{ex45}
\bibentry{ex46}
\bibentry{ex47}
\bibentry{ex48}
\bibentry{ex49}
\bibentry{ex50}
\bibentry{ex51}
\bibentry{ex58}
\bibentry{ex66}
\bibentry{ex69}

\subsection{Online Entry}
\bibentry{ex52}
\bibentry{ex53}
\bibentry{ex54}
\bibentry{ex57}
\bibentry{ex59}
\bibentry{ex62}
\bibentry{ex75}


\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{ex55}
\bibentry{ex56}


\end{document}