%%
%% This is file `figbib_add.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% fhACtitlepage.dtx  (with options: `figbib')
%% fhACtitlepage: A LaTeX2e package to create a titlepage for a diploma
%%                thesis at Fachhochschule Aachen.
%% 
%% Copyright (C) 2006 Juergen A. Lamers <jaloma@dokutransdata.de>
%% 
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{figbib_add}[2006/04/01]

\let\if@figbiblistcaption\iftrue
\DeclareOption{nocaptionlist}{\let\if@figbiblistcaption\iffalse}

\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{figbib}}
\ProcessOptions\relax
\RequirePackage{figbib}
\def\figbib@WriteEntry#1{%
  \if@filesw\immediate\write\figbib@aux{\string\citation{#1}}\fi
}
\def\fbEntry#1{
\figbib@WriteEntry{#1}
}

\renewcommand*{\figbibitem}[6]{%
  {%
    \figbib@noexpands
    \immediate\write\@auxout{\string\figbibdefmain{#1}{#2}}
    \immediate\write\@auxout{\string\figbibdefadd{#1}{#3}}
    \immediate\write\@auxout{\string\figbibdeffile{#1}{#4}}
    \immediate\write\@auxout{\string\figbibdefcaption{#1}{#6}}
  }%
  \item[\ref{figbib:#1}%
  ]
  \if@figbiblistcaption%
  #6 %
  \else%
  #2%
  \fi \dotfill %
  \if@figbibrefpage%
  \ \pageref{figbib:#1}%
  \fi%
  \newline
  \ifx #3\@empty\else%
    #3.
  \fi%
  \if@figbibsource\ifx #5\@empty\else\ \figbibFrom\ #5\fi\fi%
  %
}
\endinput
%%
%% End of file `figbib_add.sty'.
