summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thesis-titlepage-fhac/figbib_add.sty
blob: 81687b60e36ceb4f4cdffb6cce3605476c3410d6 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%%
%% 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'.