diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-11 23:33:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-11 23:33:12 +0000 |
commit | 245bdb189ef1aad54d7c3a6da23c072067179b67 (patch) | |
tree | 008b4b7f99f3c257167a7e64296600915f786c1a /Master/texmf-dist/tex/latex/biblatex-juradiss/biblatex-juradiss.cbx | |
parent | 09089c0b0b4d0e68905146adab6e50e928e9f2d3 (diff) |
biblatex-juradiss (9sep11)
git-svn-id: svn://tug.org/texlive/trunk@23901 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-juradiss/biblatex-juradiss.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-juradiss/biblatex-juradiss.cbx | 240 |
1 files changed, 110 insertions, 130 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-juradiss/biblatex-juradiss.cbx b/Master/texmf-dist/tex/latex/biblatex-juradiss/biblatex-juradiss.cbx index 10be83fbe96..573e5e5acf3 100644 --- a/Master/texmf-dist/tex/latex/biblatex-juradiss/biblatex-juradiss.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-juradiss/biblatex-juradiss.cbx @@ -1,6 +1,6 @@ % biblatex-juradiss.cbx, Tobias Schwan 2011 -\ProvidesFile{biblatex-juradiss.cbx}[2011/07/27 v0.1a biblatex citation style] +\ProvidesFile{biblatex-juradiss.cbx}[2011/09/10 v0.1c biblatex citation style] % Release Notes can be found in the README.txt \RequireCitationStyle{authortitle-dw}% @@ -13,77 +13,78 @@ edstringincitations=false,% Kein (Hrsg) im Fußnoten-Zitat (biblatex-dw) }% % usera = Entscheidungsart (z.B. Urteil/Beschluss/Vorlagebeschluss) +% date = Entscheidungsdatum % userb = Aktenzeichen der Entscheidung ( z.B. I R 134/03) % userc = Name der Entscheidungssammlung oder der Zeitschrift der primären Fundstelle mit Band oder Jahrgang(z.B. BGHZ 134 oder NJW 2005) +% userd = Erste Seite des Urteils der primären Fundstelle % postnote = Konkrete Fundstelle des Zitats -% pages = Erste Seite des Urteils der primären Fundstelle +% pages = Erste Seite des Urteils der sekundären Fundstelle % journaltitle = Zeitschriftenname der sekundären Fundstelle -% userd = Zeitschriftenjahrgang der sekundären Fundstelle -% usere = Erste Seite des Urteils der sekundären Fundstelle -% date = Entscheidungsdatum -% maintitle = Entscheidungsname +% usere = Zeitschriftenjahrgang der sekundären Fundstelle +% userf = Entscheidungsname -% Fußnotenformat für Rechtsprechungszitate: -\DeclareBibliographyDriver{cite:customb}{% +\DeclareBibliographyDriver{cite:jurisdiction}{% \printfield{usera}\space%Urteil oder Beschluss v\adddot\addspace% \printdate\addspace% \printfield{userb}% Aktenzeichen - \iffieldundef{userc}{\nopunct}{% - \space% - \printfield{userc}% - }% - \iffieldundef{postnote}{% + \iffieldundef{userc}%Primaere Fundstelle (Name und Jahr) vorhanden? + {\nopunct} + {\space% + \printfield{userc}}% + \iffieldundef{postnote}{%Angabe einer konkreten Fundstelle? \iffieldundef{userc}{}{% - \addcomma\space - \printfield{pages}}% Erste Seite des Urteils in der Entscheidungssammlung - \iffieldundef{journaltitle}{}{% + \addcomma\space + \printfield{userd}}% Erste Seite der primären Fundstelle + \iffieldundef{journaltitle}{}{%Sekundäre Fundstelle vorhanden? \addspace\mkbibparens{% =\space% - \printfield{journaltitle}\space% - \printfield{userd}\addcomma\space% - \printfield{usere}}% + \printfield{journaltitle}\space%Zeitschriftentitel + \printfield{usere}\addcomma\space%Zeitschriftenjahrgang + \printfield{pages}}%Erste Seite der Zeitschriftenfundstelle }% - \iffieldundef{maintitle}{}{% - \addspace--\addnbspace\printfield{maintitle}\addnbspace--}% + \iffieldundef{userf}{}{%Entscheidungsname vorhanden? + \addspace--\addnbspace\printfield{userf}\addnbspace--}% }% {}% } -\DeclareFieldFormat[customb]{postnote}{% - \iffieldundef{pages}{#1}{% - \printfield{pages}\addspace% Erste Seite des Urteils in der Entscheidungssammlung - \mkbibparens{#1}}%Seitenzahl der konkreten Fundstelle in Klammern +\DeclareFieldFormat[jurisdiction]{postnote}{% + \printfield{userd}\addspace% Erste Seite des Urteils in der Entscheidungssammlung + \mkbibparens{#1}%Seitenzahl der konkreten Fundstelle in Klammern \iffieldundef{journaltitle}{}{% \addspace\mkbibparens{% =\space% \printfield{journaltitle}\space% - \printfield{userd}\addcomma\space% - \printfield{usere}}% + \printfield{usere}\addcomma\space% + \printfield{pages}% }% - \iffieldundef{maintitle}{}{% - \addspace--\addnbspace\printfield{maintitle}\addnbspace--}% + }% + \iffieldundef{userf}{}{% + \addspace--\addnbspace\printfield{userf}\addnbspace--}% }% % Aktenzeichen von Urteilen in runden Klammern -\DeclareFieldFormat[customb]{userb}{\mkbibparens{#1}} +\DeclareFieldFormat[jurisdiction]{userb}{\mkbibparens{#1}} % Für Parlaments- und Verwaltungsdokumente -% bisher noch nicht definiert... -\DeclareBibliographyDriver{cite:customc}{} +\DeclareBibliographyDriver{cite:legal}{% + \printfield{journaltitle}% + \addspace% + \printfield{journalsubtitle}% + \addcomma% +}% % Befehl für Querverweise -\newcommand{\sverweis}[1]{% +\newcommand{\qverweis}[1]{% +\ref{#1}, % S.\ppspace\pageref{#1}}% -% Markierung der relevanten Fußnoten für die Auflagenaktualisierung -\newboolean{auflagenaktualisierung} -\setboolean{auflagenaktualisierung}{true} - % Kein S. für die Fundstellen-Seite bei: \DeclareFieldFormat[article]{postnote}{\printfield{pages} \mkbibparens{#1}} \DeclareFieldFormat[periodical]{postnote}{\printfield{pages} \mkbibparens{#1}} \DeclareFieldFormat[incollection]{postnote}{\printfield{pages} \mkbibparens{#1}} +\DeclareFieldFormat[legal]{postnote}{#1} % Trennzeichen hinter dem Namen \renewcommand*{\labelnamepunct}{\addcomma\space} @@ -95,76 +96,87 @@ S.\ppspace\pageref{#1}}% {} {cite:\thefield{entrytype}}% } - -% Einfügung der version-Abfrage, das Feld ist bei Medien mit 1 gefüllt, die eine neuere -% Auflage haben können -\renewbibmacro*{cite:name}{% - \iffieldundef{version}% - {\printnames{labelname}% - \setunit*{\nametitledelim}}% - {\textcolor{black}{% <---- Auflagenüberprüfung, zum Einschalten: Farbe ändern - \printnames{labelname}% - \setunit*{\nametitledelim}}}% -}% - -% Einfügung der version-Abfrage, das Feld ist bei Medien mit 1 gefüllt, die eine neuere -% Auflage haben können -% Kein Autor oä bei Rechtsprechungszitaten des gleichen Gerichts (idem) -\renewbibmacro*{cite:idem}{% - \iffieldundef{version}{% - \bibstring[\mkidem]{idem\thefield{gender}}% - \usebibmacro{cite:edstringincitations}}% - {\textcolor{black}{% <---- Auflagenüberprüfung - \bibstring[\mkidem]{idem\thefield{gender}}% - \usebibmacro{cite:edstringincitations}}}% -}% - -% Einfügung der version-Abfrage, das Feld ist bei Medien mit 1 gefüllt, die eine neuere -% Auflage haben können -\renewbibmacro*{cite:shorthand}{% - \iffieldundef{version}% - {\printtext[bibhyperlink]{\printfield{shorthand}% - \ifbool{cbx:citedas}% - {}% - {\usebibmacro{cite:seenote}}}} - {\textcolor{black}{% <---- Auflagenüberprüfung - \printtext[bibhyperlink]{\printfield{shorthand}}% - \ifbool{cbx:citedas}% - {}% - {\usebibmacro{cite:seenote}}}}% -}% - -% Kurzer Abstand zwischen Initialen des Vor- und Nachnamens -% Kursive Schrift inkl. hochgestellter Auflagenzahl bei Kommentaren + +% Schmaler Abstand zwischen Initialen des Vor- und Nachnamens \DeclareNameFormat{labelname}{% \ifcase\value{uniquename}% {\usebibmacro{name:first-last}{#1}{#6}{}{#7}}% \or \ifuseprefix {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}} - {\usebibmacro{name:first-last-init}{#1}{#4}{#6}{#8}}% <---spez. f. Initialien + {\usebibmacro{name:first-last-init}{#1}{#4}{#6}{#8}}% <--- schmaler Abstand + \or + \usebibmacro{name:first-last-init}{#1}{#3}{#5}{#7}% + \fi% + \usebibmacro{name:andothers}% + }% + +% Schmaler Abstand zwischen Initialen des Vor- und Nachnamens +% Kursive Schrift inkl. hochgestellter Auflagenzahl bei Kommentaren +\DeclareNameFormat[commentary]{editor}{% + \ifcase\value{uniquename}% + {\usebibmacro{name:first-last}{#1}{#6}{}{#7}}% + \or + \ifuseprefix + {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}} + {\usebibmacro{name:first-last-init}{#1}{#4}{#6}{#8}}% <--- schmaler Abstand \or \usebibmacro{name:first-last-init}{#1}{#3}{#5}{#7}% \fi% \usebibmacro{name:andothers}% \ifnumequal{\value{listcount}}{\value{listtotal}}% <--- nur nach dem letzten Namen - {\iffieldequalstr{entrytype}{customa}% <--- Wenn es sich um einen Kommentar handelt - {\mkbibemph{\printfield[edition:super]{edition}}}% <--- Auflagenzahl + {\iffieldequalstr{entrytype}{commentary}% <--- Wenn es sich um einen Kommentar handelt + {\mkbibemph{\printfield[edition:super]{edition}}}% <--- Auflagenzahl hinzufügen {}}% {}% }% - + \DeclareFieldFormat{shorthand}{% \ifbool{bbx:shorthandacro}% {\ifbool{bbx:acronym}% {\mkbibacro{#1}\isdot}% {#1\isdot}}% - {\iffieldequalstr{entrytype}{customa}% <--- Wenn es sich um einen Kommentar handelt - {\textit{#1\printfield[edition:super]{edition}}}% <--- Auflagenzahl + {\iffieldequalstr{entrytype}{commentary}% <--- Wenn es sich um einen Kommentar handelt + {\textit{#1\printfield[edition:super]{edition}}}% <--- Auflagenzahl hinzufügen {\mkbibemph{#1}\isdot}% }% }% +% Shorthand ersetzt bei Kommentaren nicht den Autor, sondern +% den Herausgeber +\renewbibmacro*{cite:normal}{% + \iffieldequalstr{entrytype}{commentary}{% <--- + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\usebibmacro{cite:title}% + \usebibmacro{cite:save}}}}% + {\iffieldundef{shorthand}% + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{cite:ibid}} + {\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}% + \AND\NOT\iffirstonpage}% + {\usebibmacro{cite:idem}% + \usebibmacro{cite:title}% + \usebibmacro{cite:save}} + {\ifnameundef{labelname} + {} + {\usebibmacro{cite:name}}% + \usebibmacro{cite:title}}% + \ifbool{cbx:omiteditor} + {} + {\ifnameundef{labelname} + {\newunit + \usebibmacro{cite:byeditor}} + {}}% + \usebibmacro{cite:save}}} + {\ifbool{cbx:shorthandibid}% + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}% + {\usebibmacro{cite:ibid}} + {\usebibmacro{cite:shorthand}}}% + {\usebibmacro{cite:shorthand}}}% + }% + }% + % Schmaler Abstand zwischen Initialen des Vornamens und Nachname \newbibmacro*{name:first-last-init}[4]{% \usebibmacro{name:delim}{#2#3#1}% @@ -182,7 +194,7 @@ S.\ppspace\pageref{#1}}% \DeclareFieldFormat[article]{pages}{#1} \DeclareFieldFormat[periodical]{pages}{#1} \DeclareFieldFormat[incollection]{pages}{#1} -\DeclareFieldFormat[customb]{pages}{#1} +\DeclareFieldFormat[jurisdiction]{pages}{#1} % Fußnotenformat für Artikel: \DeclareBibliographyDriver{cite:article}{% @@ -208,26 +220,21 @@ S.\ppspace\pageref{#1}}% {}% }% -% Fußnotenformat für Sammelbände: -\DeclareBibliographyDriver{cite:inbook}{% - \usebibmacro{in:}% - {% - \iffieldundef{shorttitle}% - {\printfield{booktitle}}% - {\printfield{shorttitle}}% - }% - \iffieldundef{postnote}% - {\addcomma\space% - \printfield{pages}}% - {}% -}% - % Kursive Schrift für Bearbeiter von Kommentaren -\DeclareFieldFormat[customa]{prenote}{\mkbibemph{#1}, in:} +\DeclareFieldFormat[commentary]{prenote}{\mkbibemph{#1}\addcomma}% % Fußnotenformat für Kommentare: -\DeclareBibliographyDriver{cite:customa}{}% - +\DeclareBibliographyDriver{cite:commentary}{% + \usebibmacro{in:}% + \iffieldundef{shorthand}% + {\printnames{editor}}% + {\ifbool{cbx:shorthandibid}% + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}% + {\usebibmacro{cite:ibid}}% + {\usebibmacro{cite:shorthand}}}% + {\usebibmacro{cite:shorthand}}}% + }% + % Hochgestellte Zahl bei Kommentaren soll klein sein \DeclareFieldFormat{edition:super}{% für Option 'edsuper' \ifinteger{#1}% @@ -239,34 +246,6 @@ S.\ppspace\pageref{#1}}% superscript. Instead, the 'edition'\MessageBreak field is printed completely}}}% -% Kommentar-Herausgeber (customa) von der idem-Funktion ausnehmen -\renewbibmacro*{cite:normal}{% - \iffieldundef{shorthand}% - {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}% - {\usebibmacro{cite:ibid}}% - {\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}% - \AND\NOT\iffirstonpage% - \AND\NOT\iffieldequalstr{entrytype}{customa}}% <---- - {\usebibmacro{cite:idem}% - \usebibmacro{cite:title}% - \usebibmacro{cite:save}}% - {\ifnameundef{labelname}% - {}% - {\usebibmacro{cite:name}}% - \usebibmacro{cite:title}}% - \ifbool{cbx:omiteditor}% - {}% - {\ifnameundef{labelname}% - {\newunit - \usebibmacro{cite:byeditor}} - {}}% - \usebibmacro{cite:save}}}% - {\ifbool{cbx:shorthandibid}% - {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}% - {\usebibmacro{cite:ibid}}% - {\usebibmacro{cite:shorthand}}}% - {\usebibmacro{cite:shorthand}}}}% - % Fußnotenformat für books: \DeclareBibliographyDriver{cite:book}{% \ifsingletitle{}{% @@ -297,6 +276,7 @@ S.\ppspace\pageref{#1}}% {\printfield{shorttitle}}% }% } + \endinput |