Zitat von
rais
Moin moin,
also ohne ``URZ-Login''
sorry stimmt, geht ja nicht
hier die mal die styledatei
Teil 1
Code:
% TUBAFbib Bibliography für das Latex Corporate Design Projekt der TU Bergakademie Freiberg
% Copyright 2008 by Christian Degenkolb
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Dieses Werk ist unter einem Creative Commons
% Namensnennung - Keine Bearbeitung 3.0 Deutschland Lizenzvertrag lizenziert.
% Um die Lizenz anzusehen, gehen Sie bitte zu http://creativecommons.org/licenses/by-nd/3.0/de/
% oder schicken Sie einen Brief an
% Creative Commons, 171 Second Street, Suite 300, San Francisco, California 94105, USA.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\newcommand{\TUBAFbib@name}{TUBAFbib}
\newcommand{\TUBAFbib@date}{2009/04/15}
\newcommand{\TUBAFbib@version}{v.1.3.0}
\ProvidesPackage{\TUBAFbib@name}[\TUBAFbib@date\ \TUBAFbib@version\ Christian Degenkolb]
\typeout{\space\space\space\space\space\space Biblography Styles fuer das TUBAF-CD (\TUBAFbib@date \TUBAFbib@version)}
\RequirePackage{xkeyval}
\RequirePackage{ifthen}
%csquotes wird nach Optionen geladen % TB neu
\newcommand{\TUBAFbibstyle}{}
\newcommand{\TUBAFauthorstil}{}
\newcommand{\TUBAFreihenfolge}{}
\newboolean{nat}\setboolean{nat}{false}
\newcommand{\TUBAFbib@csquotes}{} % TB neu
\def\UrlBreaks{\do\.\do\@\do\\\do\/\do\!\do\_\do\|\do\;\do\>\do\]\do\)\do\,\do\?\do\'\do\+\do\=\do\#\do\-}
\DeclareOptionX{csquotes}{\renewcommand\TUBAFbib@csquotes{#1}} % TB
\DeclareOptionX{zitatstil}[unsorted]{%
\XKV@cc*+[\val\nr]{#1}{chron,num,alph,nat,eco}{%
\ifcase\nr\relax
\renewcommand{\TUBAFbibstyle}{chron}
\or
\renewcommand{\TUBAFbibstyle}{num}
\or
\renewcommand{\TUBAFbibstyle}{alph}
\or
\renewcommand{\TUBAFbibstyle}{nat}
\or
\renewcommand{\TUBAFbibstyle}{eco}
\fi
}{\PackageWarning{\TUBAFbib@name}{the input '\val' was incorrect and was ignored.}}%
}
\DeclareOptionX{autor}[normal]{%
\XKV@cc*+[\val\nr]{#1}{normal,textsc}{%
\ifcase\nr\relax
\renewcommand{\TUBAFauthorstil}{normal}
\or
\renewcommand{\TUBAFauthorstil}{textsc}
\fi
}{\PackageWarning{\TUBAFbib@name}{the input '\val' was incorrect and was ignored.}}%
}
\DeclareOptionX{reihenfolge}[normal]{%
\XKV@cc*+[\val\nr]{#1}{normal,ajt}{%
\ifcase\nr\relax
\renewcommand{\TUBAFreihenfolge}{normal}
\or
\renewcommand{\TUBAFreihenfolge}{ajt}
\fi
}{\PackageWarning{\TUBAFbib@name}{the input '\val' was incorrect and was ignored.}}%
}
\DeclareOptionX*{\PackageWarning{\TUBAFbib@name}{Unknown option ignored: \CurrentOption}}
%
%\ExecuteOptionsX{style=numeric}
\ProcessOptionsX\relax
\RequirePackage[\TUBAFbib@csquotes]{csquotes}[2008/11/23] % TB
\ifthenelse{\equal{\TUBAFbibstyle}{chron}}{%
\RequirePackage[style=numeric,sorting=none]{biblatex}
}{%
\ifthenelse{\equal{\TUBAFbibstyle}{num}}{%
\RequirePackage[style=numeric,sorting=nty]{biblatex}%
}{%
\ifthenelse{\equal{\TUBAFbibstyle}{alph}}{%
\RequirePackage[style=alphabetic,sorting=nty]{biblatex}%
}{%
\ifthenelse{\equal{\TUBAFbibstyle}{nat}}{%
\setboolean{nat}{true}
\RequirePackage[style=authoryear,sorting=nty]{biblatex}%
\renewbibmacro*{year+labelyear}{%
\iffieldundef{year}
{}
{\printtext[parens]{%
\printfield{year}}:}}%
\renewbibmacro*{cite:year+labelyear}{%
\iffieldundef{year}
{}
{\printtext[bibhyperref]{%
\printfield{year}%
\printfield{labelyear}%
}}}%
\newbibmacro*{cite:year+labelyear+brackets}{%
\iffieldundef{year}
{}
{\printtext[bibhyperref]{%
(\printfield{year})%
\printfield{labelyear}%
}}}%
\renewbibmacro*{textcite}{%
\ifnameundef{labelname}{%
\iffieldundef{shorthand}{%
\usebibmacro{cite:label}%
\setunit{\addspace%
%\global\booltrue{cbx:parens}%
%\addspace\bibleftparen
}%
\usebibmacro{cite:year+labelyear+brackets}}%
{%
\usebibmacro{cite:shorthand}%
}%
}%
{%
\printnames{labelname}%
\setunit{\addspace%
%\global\booltrue{cbx:parens}%
%\addspace\bibleftparen
}%
\iffieldundef{shorthand}{%
\iffieldundef{year}%
{\usebibmacro{cite:label}}%
{\usebibmacro{cite:year+labelyear+brackets}}}%
{%
\usebibmacro{cite:shorthand}%
}%
}%
}%
\renewbibmacro{cite}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{year}}
{\usebibmacro{cite:label}%
\setunit{\addspace}}
{\printnames{labelname}%
\setunit{\nameyeardelim}}%
\usebibmacro{cite:year+labelyear+brackets}}
{\usebibmacro{cite:shorthand}}}
\newbibmacro{cite-wobrackets}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{year}}
{\usebibmacro{cite:label}%
\setunit{\addspace}}
{\printnames{labelname}%
\setunit{\nameyeardelim}}%
\usebibmacro{cite:year+labelyear}}
{\usebibmacro{cite:shorthand}}}
\renewbibmacro*{citeyear}{%
\iffieldundef{shorthand}
{\iffieldundef{year}
{\usebibmacro{cite:label}}
{\usebibmacro{cite:year+labelyear}}}
{\usebibmacro{cite:shorthand}}}
\DeclareCiteCommand{\cite}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}
\DeclareCiteCommand*{\cite}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{citeyear}}
{\multicitedelim}
{\usebibmacro{postnote}}
\DeclareCiteCommand{\textcite}
{\boolfalse{cbx:parens}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{textcite}}
{\ifbool{cbx:parens}
{\bibrightparen\global\boolfalse{cbx:parens}}
{}%
\multicitedelim}
{\iffieldundef{postnote}
{\ifbool{cbx:parens}
{\bibrightparen}
{}}
{\ifbool{cbx:parens}
{\postnotedelim}
{\addspace\bibleftparen}%
\printfield{postnote}\bibrightparen}}
\DeclareCiteCommand{\parencite}[\mkbibparens]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite-wobrackets}}
{\multicitedelim}
{\usebibmacro{postnote}}
\DeclareCiteCommand*{\parencite}[\mkbibparens]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{citeyear}}
{\multicitedelim}
{\usebibmacro{postnote}}
\ifthenelse{\equal{\TUBAFauthorstil}{textsc}}{%
\renewbibmacro*{author}{%
\ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}
{\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND
\NOT\iffirstonpage}
{\bibnamedash}
{\savefield{namehash}{\bbx@lasthash}%
\textsc{\printnames{author}}%
\iffieldundef{authortype}
{\setunit{\addspace}}
{\setunit{\addcomma\space}}}%
\iffieldundef{authortype}
{}
{\usebibmacro{authorstrg}%
\setunit{\addspace}}}%
{\global\undef\bbx@lasthash
\usebibmacro{labeltitle}%
\setunit*{\addspace}}%
\usebibmacro{year+labelyear}%
}%
\renewbibmacro*{cite}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{year}}
{\usebibmacro{cite:label}%
\setunit{\addspace}}
{\textsc{\printnames{labelname}}%
\setunit{\nameyeardelim}}%
\usebibmacro{cite:year+labelyear+brackets}}
{\usebibmacro{cite:shorthand}}
}%
\renewbibmacro*{textcite}{%
\ifnameundef{labelname}{%
\iffieldundef{shorthand}{%
\usebibmacro{cite:label}%
\setunit{\addspace%
%\global\booltrue{cbx:parens}%
%\addspace\bibleftparen
}%
\usebibmacro{cite:year+labelyear+brackets}}%
{%
\usebibmacro{cite:shorthand}%
}%
}%
{%
\textsc{\printnames{labelname}}%
\setunit{\addspace%
%\global\booltrue{cbx:parens}%
%\addspace\bibleftparen
}%
\iffieldundef{shorthand}{%
\iffieldundef{year}%
{\usebibmacro{cite:label}}%
{\usebibmacro{cite:year+labelyear+brackets}}}%
{%
\usebibmacro{cite:shorthand}%
}%
}%
}%
}%
}{%
\ifthenelse{\equal{\TUBAFbibstyle}{eco}}{%
\RequirePackage[style=authortitle,sorting=nty]{biblatex}%
\ifthenelse{\equal{\TUBAFauthorstil}{textsc}}{%
\renewbibmacro*{author}{%
\ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}
{\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND
\NOT\iffirstonpage}
{\bibnamedash}
{\textsc{\printnames{author}}%
\setunit{\addcomma\space}%
\savefield{namehash}{\bbx@lasthash}}%
\usebibmacro{authorstrg}}
{\global\undef\bbx@lasthash}%
}%
\renewbibmacro*{cite}{%
\global\let\cbx@tempa=\empty
\iffieldundef{shorthand}
{\ifnameundef{labelname}
{}
{\textsc{\printnames{labelname}}%
\gdef\cbx@tempa{\addcomma\space}}%
\usebibmacro{cite:title}}%
{\usebibmacro{cite:shorthand}}%
}%
\renewbibmacro*{textcite}{%
\ifnameundef{labelname}
{\global\let\cbx@tempa=\empty}
{\textsc{\printnames{labelname}}%
\gdef\cbx@tempa{%
\global\booltrue{cbx:parens}%
\addspace\bibleftparen}}%
\iffieldundef{shorthand}
{\usebibmacro{cite:title}}%
{\usebibmacro{cite:shorthand}}%
}%
}%
}%
}%
}%
}%
}%
\ifthenelse{\equal{\TUBAFreihenfolge}{ajt}}{%
\ifthenelse{\boolean{nat}}{}{%
\DeclareBibliographyDriver{book}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{maintitle+title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publisher+location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\printfield{isbn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}%
}%
\DeclareBibliographyDriver{article}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{version}%
\newunit\newblock
\usebibmacro{in:}%
\usebibmacro{journal+issuetitle}%
\newunit\newblock
\printfield{note}%
\setunit{\bibpagespunct}%
\printfield{pages}
\newunit\newblock
\printfield{issn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%
\DeclareBibliographyDriver{booklet}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{howpublished}%
\newunit\newblock
\printfield{type}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%
\DeclareBibliographyDriver{collection}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{maintitle+title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publisher+location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\printfield{isbn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%
Teil 2 in post darunter
Zitat von
rais
Moin moin,
kann ich abrufen und demnach basiert Dein Stil auf BibLaTeX, schau Dir also die etwas umfangreichere Doku zu BibLaTeX an, wenn Dir der `tubafbibfuehrer' nicht genügt.
und aus der dokumentation zu biblatex werde ich leider nicht schlau...
Lesezeichen