summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/bibtex/gost/doc/examples/utf8/bibnocap.sty
blob: 2040b66ca088946a28445ad0e111bc49233542d7 (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
\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}