\documentclass[a4paper]{article} % cmap надо грузить до inputenc, чтобы работал поиск при кодировке utf8 \usepackage{cmap} \usepackage[T2A]{fontenc} \usepackage[cp1251]{inputenc} \usepackage[russian]{babel} \usepackage{bibunits,verbatim,bibnocap,geometry,ifpdf} %\usepackage{cmap} \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 publication} \bibentry{ex07} \bibentry{ex08} \bibentry{ex09} \subsection{Translated} \bibentry{ex10} \subsection{Collections} \bibentry{ex12} \subsection{Dictionary} \bibentry{ex13} \section{Parts of} \subsection{Book} \bibentry{ex14} \bibentry{ex14a} \subsection{Collection} \bibentry{ex15} \subsection{Journal} \bibentry{ex16} \bibentry{ex17} \bibentry{ex17a} \subsection{Newspaper} \bibentry{ex17b} \subsection{Encyclop\ae dia} \bibentry{ex18} \subsection{Proceedings} \bibentry{ex19} \bibentry{ex20} \subsubsection{With crossreference} \bibentry{ex20a} \subsubsection{With multiple languages} \bibentry{ex20b} \section{Other} \subsection{Standard} \bibentry{ex11} \subsection{Ph.D. Thesis / Dissertation} \bibentry{ex21} \bibentry{ex21a} \subsection{Synopsis} \bibentry{ex22} \subsection{Preprint} \bibentry{ex23} \subsection{Report} \bibentry{ex24} \bibentry{ex24a} \bibentry{ex24b} \subsection{Catalog} \bibentry{ex25} \subsection{Instruction} \bibentry{ex26} \section{Electronic Publishing} \subsection{Common Fields} \verb|Url|, \verb|eprint|, \verb|doi| and \verb|medium| fields can be assigned to any entry. \bibentry{ex27c} \bibentry{ex28} \bibentry{ex29} \subsection{Online Entry} \bibentry{ex27a} \bibentry{ex27b} \section{Use of macros} \bibentry{ex30} \end{document}