% $Id: bibnatex.def,v 0.7 2007/12/09 14:52:00 lehman beta $

\ProvidesFile{bibnatex.def}
[\blx@rcsid $Id: bibnatex.def,v 0.7 2007/12/09 14:52:00 lehman beta $
 biblatex natbib compatibility]

\newcommand*{\citet}{%
  \@ifstar
    {\AtNextCite{\c@maxnames\maxdimen}\textcite}
    {\textcite}}

\newcommand*{\citep}{%
  \@ifstar
    {\AtNextCite{\c@maxnames\maxdimen}\parencite}
    {\parencite}}

\newcommand*{\citealt}{%
  \@ifstar
    {\AtNextCite{\c@maxnames\maxdimen}\cite}
    {\cite}}

\newcommand*{\citealp}{%
  \@ifstar
    {\AtNextCite{\c@maxnames\maxdimen}\cite}
    {\cite}}

\DeclareCiteCommand*{\citeauthor}
  {\c@maxnames\maxdimen
   \citetrackerfalse
   \pagetrackerfalse
   \usebibmacro{prenote}}
  {\indexnames{labelname}%
   \printnames{labelname}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\newcommand*{\citefullauthor}{\citeauthor*}

\DeclareCiteCommand{\citeyearpar}[\mkbibparens]
  {\citetrackerfalse
   \pagetrackerfalse
   \usebibmacro{prenote}}
  {\printfield{year}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\newcommand*{\Citet}{\bibsentence\citet}
\newcommand*{\Citep}{\bibsentence\citep}
\newcommand*{\Citealt}{\bibsentence\citealt}
\newcommand*{\Citealp}{\bibsentence\citealp}
\newcommand*{\Citefullauthor}{\bibsentence\citeauthor*}

\endinput
