Hallo,
versuche gerade die Richtlinien des Deutschen Archäologischen Institutes in einen Biblatex-Style umzusetzen. Dank der vielen Hilfen hier im Forum, ist dies auch recht weit gediehen. Aufgebaut habe ich das ganze auf Dominik Waßhovens historische-zeitschrift.bbx und der authoryear.cbx.
Jetzt zu meiner Frage: Über dem Eintrag ins Literaturverzeichnis muss noch einmal das Zitat stehen: Bsp.
Boardman 1993
J. Boardman, Griechische Plastik, die klassische Zeit. Ein Handbuch (Mainz am Rhein 1993)
Habe dies verucht indem ich einfach vor den Eintrag in der bbx-Datein noch ein cite einfüge:
Sieht dann auch gut aus. Nur wenn es mehr Autoren als zwei sind, soll er nicht alle auflisten, sondern nur maximal zwei. Wenn es mehr sind, soll er mit u.a. abkürzen. In den Zitaten im Text macht er das auch, indem ich in die Präambel maxnames=2 eingefügt habe. Wie bringe ich ihm nun bei, dass er im Literaturverzeichnis beim Aufruf von \\usebibmacro{cite} statt einer ganzen Liste von Autoren mit u.a. abkürzt, wenn es mehr als zwei Autoren sind.Code:\DeclareBibliographyDriver{book}{% \usebibmacro{cite}\\ \usebibmacro{bibindex}% \usebibmacro{author/editor}% .... \usebibmacro{finentry}}
Dies ist meine cbx-Datei:
Noch eine zweite Frage. Wie bringe ich ihn dazu, die Punkte am Ende des Literatureintrags zu entfernen. Hier meine bbx-Datei. Zwar lang, aber ich habe keine Ahnung, wo dieser Punkt definiert ist.Code:\ProvidesFile{authoryear.cbx} [\abx@cbxid $Id: authoryear.cbx,v 1.0 2010/11/19 16:16:35 lehman stable $] \ExecuteBibliographyOptions{labelyear,uniquename,maxnames=2} \newbool{cbx:parens} \newbibmacro*{cite}{% \iffieldundef{shorthand} {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}} {\usebibmacro{cite:label}% \setunit{\addspace}} {\printnames{labelname}% \setunit{\nameyeardelim}}% \usebibmacro{cite:labelyear+extrayear}} {\usebibmacro{cite:shorthand}}} \newbibmacro*{citeyear}{% \iffieldundef{shorthand} {\iffieldundef{labelyear} {\usebibmacro{cite:label}} {\usebibmacro{cite:labelyear+extrayear}}} {\usebibmacro{cite:shorthand}}} \newbibmacro*{textcite}{% \ifnameundef{labelname} {\iffieldundef{shorthand} {\usebibmacro{cite:label}% \setunit{% \global\booltrue{cbx:parens}% \addspace\bibopenparen}% \ifnumequal{\value{citecount}}{1} {\usebibmacro{prenote}} {}% \usebibmacro{cite:labelyear+extrayear}} {\usebibmacro{cite:shorthand}}} {\printnames{labelname}% \setunit{% \global\booltrue{cbx:parens}% \addspace\bibopenparen}% \ifnumequal{\value{citecount}}{1} {\usebibmacro{prenote}} {}% \usebibmacro{citeyear}}} \newbibmacro*{cite:shorthand}{% \printtext[bibhyperref]{\printfield{shorthand}}} \newbibmacro*{cite:label}{% \iffieldundef{label} {\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}} {\printtext[bibhyperref]{\printfield{label}}}} \newbibmacro*{cite:labelyear+extrayear}{% \iffieldundef{labelyear} {} {\printtext[bibhyperref]{% \printfield{labelyear}% \printfield{extrayear}}}} \newbibmacro*{textcite:postnote}{% \iffieldundef{postnote} {\ifbool{cbx:parens} {\bibcloseparen} {}} {\ifbool{cbx:parens} {\setunit{\postnotedelim}} {\setunit{\addspace\bibopenparen}}% \printfield{postnote}\bibcloseparen}} \DeclareCiteCommand{\cite} {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{cite}} {\multicitedelim} {\usebibmacro{postnote}} \DeclareCiteCommand*{\cite} {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{citeyear}} {\multicitedelim} {\usebibmacro{postnote}} \DeclareCiteCommand{\footcite}[\mkbibfootnote] {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{cite}} {\multicitedelim} {\usebibmacro{postnote}} \DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext] {\usebibmacro{prenote}}
Ich hoffe, Ihr könnt mir helfen. Wäre Euch sehr dankbar.Code:%Dai Author-Jahr-System Matthias Lang 2010 \ProvidesFile{historische-zeitschrift.bbx}[2010/10/18 v0.9a HZ bibliography style] \@ifpackagelater{biblatex}{2010/02/14} \ExecuteBibliographyOptions{pagetracker} \DeclareFieldFormat{booktitle}{#1\isdot} \DeclareFieldFormat{journaltitle}{#1\isdot} \DeclareFieldFormat{issuetitle}{#1\isdot} \DeclareFieldFormat{maintitle}{#1\isdot} \DeclareFieldFormat{pages}{#1} \DeclareFieldFormat{title}{#1\isdot} \DeclareFieldFormat[article]{title}{#1} \DeclareFieldFormat[inbook]{title}{#1} \DeclareFieldFormat[incollection]{title}{#1} \DeclareFieldFormat[inproceedings]{title}{#1} \DeclareFieldFormat[unpublished]{title}{#1} \renewcommand*{\labelnamepunct}{\addcomma\space}% comma after names \renewcommand*{\multinamedelim}{\space\--\space} % slash between names \renewcommand*{\finalnamedelim}{\space\--\space} % slash between names \renewcommand*{\multilistdelim}{\addslash} % slash between locations \renewcommand*{\finallistdelim}{\addslash} % slash between locations \newbibmacro*{series+number}{% \iffieldundef{series}% {} {\printtext[parens]{% \printfield{series}% \iffieldundef{number} {} {\setunit{\addcomma\space}% \bibstring{volume}~\printfield{number}}% \adddot}}} \newbibmacro*{publisher+location+year}{% \printlist{location}% \setunit*{\addspace}% \printfield{year}% \newunit} \DeclareLanguageMapping{german}{dai} \renewbibmacro*{editorstrg}{% \ifthenelse{\value{editor}>1\OR\ifandothers{editor}} {\mkbibparens{\bibstring{editors}}} {\mkbibparens{\bibstring{editor}}}} \renewbibmacro*{editor}{% \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}} {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND \NOT\iffirstonpage} {\bibnamedash} {\printnames{editor}\addspace% <- ORIGINAL: \addcomma\space \savefield{namehash}{\bbx@lasthash}}% \usebibmacro{editorstrg}% \clearname{editor}} {\global\undef\bbx@lasthash}} % \DeclareNameFormat{sortname}{% % \ifnum\value{listcount}=1\relax % \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% ORIG: name:last-first % \ifblank{#3#5} % {} % {\usebibmacro{name:revsdelim}}% % \else % \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% % \fi % \usebibmacro{name:andothers}} \newbibmacro*{journal+issuetitle}{% \usebibmacro{journal}% \setunit*{\addspace}% \iffieldundef{series} {} {\newunit \printfield{series}% \setunit{\addspace}}% \printfield{volume}% \setunit*{\adddot}% \printfield{number}% \setunit{\addcomma\space}% \printfield{eid}% \setunit{\addcomma\space}%<- ORIGINAL: \setunit{\addspace} \usebibmacro{issue+date}% \setunit*{\addcomma\space}%<- ORIGINAL: \newunit\newblock \usebibmacro{issue}% \newunit} %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% \DeclareFieldFormat{shorthandwidth}{#1} \renewcommand*{\thebibitem}{\item} \renewcommand*{\thelositem}{\item} \setlength{\bibitemsep}{0pt} \renewenvironment*{thebibliography} {\list {} {\setlength{\leftmargin}{\bibhang}% \setlength{\itemindent}{-\leftmargin}% \setlength{\itemsep}{\bibitemsep}% \setlength{\parsep}{\bibparsep}}} {\endlist} \renewenvironment*{theshorthands} {\list {\printfield[shorthandwidth]{shorthand}} {\setlength{\labelwidth}{\shorthandwidth}% \setlength{\leftmargin}{\labelwidth}% \setlength{\labelsep}{\biblabelsep}% \addtolength{\leftmargin}{\labelsep}% \setlength{\itemsep}{\bibitemsep}% \setlength{\parsep}{\bibparsep}% \renewcommand*{\makelabel}[1]{##1\hss}}} {\endlist} \InitializeBibliographyStyle{% \global\undef\bbx@lasthash} \renewbibmacro*{author}{% \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}} {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND \NOT\iffirstonpage} {\bibnamedash} {\printnames{author}% \savefield{namehash}{\bbx@lasthash}}} {\global\undef\bbx@lasthash}} \newbibmacro*{maintitle+title}{% \iffieldsequal{maintitle}{title} {\clearfield{maintitle}% \clearfield{mainsubtitle}% \clearfield{maintitleaddon}} {\iffieldundef{maintitle} {} {\usebibmacro{maintitle}% \newunit\newblock \iffieldundef{volume} {} {\printfield{volume}% \printfield{part}% \setunit{\addcolon\space}}}}% \usebibmacro{title}% \newunit} \newbibmacro*{maintitle+booktitle}{% \iffieldundef{maintitle} {} {\usebibmacro{maintitle}% \newunit\newblock \iffieldundef{volume} {} {\printfield{volume}% \printfield{part}% \setunit{\addcolon\space}}}% \usebibmacro{booktitle}% \newunit} \newbibmacro*{title+issuetitle}{% \usebibmacro{periodical}% \setunit*{\addspace}% \iffieldundef{series} {} {\newunit \printfield{series}% \setunit{\addspace}}% \printfield{volume}% \setunit*{\adddot}% \printfield{number}% \setunit{\addcomma\space}% \printfield{eid}% \setunit{\addspace}% \usebibmacro{issue+date}% \newunit\newblock \usebibmacro{issue}% \newunit} \newbibmacro*{institution+location+year}{% \printlist{location}% \iflistundef{institution} {\setunit*{\addspace}} {\setunit*{\addcolon\space}}% \printlist{institution}% \setunit*{\addspace}% \printfield{year}% \newunit} \newbibmacro*{location+year}{% \printlist{location}% \setunit*{\addspace}% \printfield{year}% \newunit} \newbibmacro*{chapter+pages}{% \printfield{chapter}% \setunit*{\addcomma\space}% \printfield{pages}% \newunit} \newbibmacro*{finentry}{\finentry} \newbibmacro*{doi+eprint+url}{% \iftoggle{bbx:doi} {\printfield{doi}} {}% \newunit\newblock \iftoggle{bbx:eprint} {\usebibmacro{eprint}} {}% \newunit\newblock \iftoggle{bbx:url} {\usebibmacro{url+urldate}} {}} %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% Bibliography Driver %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% \DeclareBibliographyDriver{shorthands}{% \usedriver {\DeclareNameAlias{sortname}{default}} {\thefield{entrytype}}% \finentry} \DeclareBibliographyDriver{article}{% \usebibmacro{cite}\\ \usebibmacro{bibindex}% \usebibmacro{author/editor}% \setunit{\labelnamepunct}\newblock \usebibmacro{title}% \newunit \usebibmacro{byauthor}% \newunit \printlist{language}% \newunit\newblock \usebibmacro{byeditor+others}% % \newunit\newblock \setunit{\addcomma\space}% % \usebibmacro{in:}% \usebibmacro{journal+issuetitle}% % \newunit\newblock \setunit*{\addcomma\space}% \printfield{note}% % \newunit\newblock \setunit*{\newunitpunct}% \printfield{pages} \newunit\newblock \usebibmacro{doi+eprint+url}% \newunit\newblock \printfield{addendum}% \newunit\newblock \usebibmacro{pageref}% \usebibmacro{finentry}} \DeclareBibliographyDriver{book}{% \usebibmacro{cite}\\ \usebibmacro{bibindex}% \usebibmacro{author/editor}% \setunit{\labelnamepunct}\newblock \usebibmacro{maintitle+title}% \newunit \usebibmacro{byauthor}% \newunit \printlist{language}% \newunit\newblock \usebibmacro{byeditor+others}% \newunit \iffieldundef{maintitle} {\printfield{volume}% \printfield{part}} {}% \newunit \printfield{volumes}% \newunit\newblock \usebibmacro{series+number}% \setunit*{\addspace}% \printfield{edition}% \setunit*{\newunitpunct}% \printfield{note}% \setunit*{\newunitpunct}% \usebibmacro{publisher+location+year}% \newunit\newblock \usebibmacro{chapter+pages}% \newunit \printfield{pagetotal} \newunit\newblock \iftoggle{bbx:url} {\usebibmacro{url+urldate}} {}% \newunit\newblock \printfield{addendum}% \newunit\newblock \usebibmacro{pageref}% \usebibmacro{finentry}} \DeclareBibliographyDriver{collection}{% \usebibmacro{cite}\\ \usebibmacro{bibindex}% \usebibmacro{editor}% \setunit{\labelnamepunct}\newblock \usebibmacro{maintitle+title}% \newunit \printlist{language}% \newunit\newblock \usebibmacro{byeditor+others}% \newunit \iffieldundef{maintitle} {\printfield{volume}% \printfield{part}} {}% \newunit \printfield{volumes}% \newunit\newblock \usebibmacro{series+number}% \setunit*{\addspace}% \printfield{edition}% \setunit*{\addspace}% \printfield{note}% \setunit*{\newunitpunct}% \usebibmacro{publisher+location+year}% \newunit\newblock \usebibmacro{chapter+pages}% \newunit \printfield{pagetotal} \newunit\newblock \iftoggle{bbx:url} {\usebibmacro{url+urldate}} {}% \newunit\newblock \printfield{addendum}% \newunit\newblock \usebibmacro{pageref}% \usebibmacro{finentry}} \DeclareBibliographyDriver{inbook}{% \usebibmacro{cite}\\ \usebibmacro{bibindex}% \usebibmacro{author}% \setunit{\labelnamepunct}\newblock \usebibmacro{title}% \newunit\newblock \usebibmacro{in:}% \usebibmacro{bybookauthor}% \newunit\newblock \usebibmacro{maintitle+booktitle}% \newunit \printlist{language}% \newunit\newblock \usebibmacro{byeditor+others}% \newunit \iffieldundef{maintitle} {\printfield{volume}% \printfield{part}} {}% \newunit \printfield{volumes}% \newunit\newblock \usebibmacro{series+number}% \setunit*{\addspace}% \printfield{edition}% \setunit*{\newunitpunct}% \printfield{note}% \setunit*{\newunitpunct}% \usebibmacro{publisher+location+year}% % \newunit\newblock \setunit*{\addcomma\space}% \usebibmacro{chapter+pages}% \newunit\newblock \iftoggle{bbx:url} {\usebibmacro{url+urldate}} {}% \newunit\newblock \printfield{addendum}% \newunit\newblock \usebibmacro{pageref}% \usebibmacro{finentry}} \endinput
Grüße
Matthias
Lesezeichen