Manual updated.
[eskdx.git] / source / eskdbiblist.sty.in
blobda7d2f729e6ed7098ed4ec8281bad8cfbb4801e7
1 % Copyright 2006 Konstantin Korikov <lostclus@ua.fm>
3 % This work may be distributed and/or modified under the
4 % conditions of the LaTeX Project Public License, either version 1.3
5 % of this license or (at your option) any later version.
6 % The latest version of this license is in
7 % http://www.latex-project.org/lppl.txt
8 % and version 1.3 or later is part of all distributions of LaTeX
9 % version 2003/12/01 or later.
11 % This work has the LPPL maintenance status "maintained".
13 % This Current Maintainer of this work is Konstantin Korikov.
15 % This work consists of all files listed in manifest.txt.
17 m4_ESKDX_INIT
18 m4_FILE_INIT
19 \NeedsTeXFormat{LaTeX2e}
20 \ProvidesPackage{eskdbiblist}[m4_dnl
21 m4_FILE_ID([[$Date:: $]]) Bibliography List]
23 \renewcommand{\@biblabel}[1]{#1.}
25 \def\thebibliography#1{%
26 \section*{\refname}\addcontentsline{toc}{section}{\refname}%
27 \list{\@biblabel{\@arabic\c@enumiv}}%
28 {\settowidth\labelwidth{\@biblabel{#1}}%
29 \leftmargin\labelwidth
30 \advance\leftmargin\labelsep
31 \@openbib@code
32 \usecounter{enumiv}%
33 \let\p@enumiv\@empty
34 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
35 \sloppy
36 \clubpenalty4000
37 \@clubpenalty \clubpenalty
38 \widowpenalty4000%
39 \sfcode`\.\@m}
40 \def\endthebibliography{\def\@noitemerr
41 {\@latex@warning{Empty `thebibliography' environment}}%
42 \endlist}
44 m4_dnl vim:ft=tex:sw=2:ai