%%
%% This is file `bibentry.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% bibentry.dtx  (with options: `package')
%% =============================================
%% IMPORTANT NOTICE:
%% 
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version.
%% 
%% This is a generated file.
%% It may not be distributed without the original source file bibentry.dtx.
%% 
%% Full documentation can be obtained by LaTeXing that original file.
%% Only a few abbreviated comments remain here to describe the usage.
%% =============================================
%% Copyright 1997-1999 Patrick W Daly
%% Max-Planck-Institut f\"ur Aeronomie
%% Max-Planck-Str. 2
%% D-37191 Katlenburg-Lindau
%% Germany
%% E-mail: daly@linmpi.mpg.de
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bibentry}
          [1999/02/23 1.2 (PWD)]
 % Bibliography Entries in Text
 %
 % In place of \bibliography{database}, enter \nobibliography{database}
 % No bibliography is written at this point, but afterwards,
 % \bibentry{key}  prints the bibliography entry for citation <key>
 % (whereas \cite{key} prints the citation, not the bib entry)
 %
 % If \bibliography is also to be given, then issue the starred variant
 % \nobibliography* (without argument).
 %-----------------------------------------------------------
 % See documentation in the source .dtx file for more details.
\newif\ifBR@star
\newcommand\nobibliography{\@ifstar{\BR@nobib{}}{\BR@nobib}}
\newcommand\BR@nobib[1]{%
  \ifx\relax#1\relax\global\BR@startrue\else\global\BR@starfalse\fi
  \begingroup
  \ifBR@star\@fileswfalse\fi
  \renewenvironment{thebibliography}[1]{%
    \usecounter{enumiv}%
    \renewcommand\item[1][]{%
          \ifx\relax####1\relax\stepcounter\@listctr\fi}%
    \ifBR@star \newcommand\BR@bibitem[2][]{}\else
    \let\BR@bibitem=\bibitem\fi
    \let\bibitem=\BR@b@bibitem}{}%
    \let\@biblabel\@gobble
  \bibliography{#1}\endgroup}
\newcommand\BR@b@bibitem[2][]{\ifx\relax#1\relax\BR@bibitem{#2}%
   \else \BR@bibitem[#1]{#2}\fi \BR@c@bibitem{#2}}
\def\BR@c@bibitem#1 #2 \par{{\let\protect\@unexpandable@protect
      \expandafter \xdef\csname BR@r@#1\@extra@b@citeb\endcsname
      {\BR@nodot#2\relax.\relax\relax}}}
\def\BR@nodot#1.\relax#2\relax{#1}
\newcommand\bibentry[1]{\nocite{#1}{\frenchspacing
     \@nameuse{BR@r@#1\@extra@b@citeb}}}
\providecommand\@extra@b@citeb{}
\AtBeginDocument{\let\BR@thebib\thebibliography
  \def\thebibliography{\global\BR@starfalse\BR@thebib}}
\AtEndDocument{\ifBR@star\PackageWarningNoLine{bibentry}
  {There was \string\nobibliography* without \string\bibliography.
   \MessageBreak
   You will not be able to run BibTeX}\fi}
%% 
%% <<<<< End of generated file <<<<<<
%%
%% End of file `bibentry.sty'.
