summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-dw/cbx/footnote-dw.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-dw/cbx/footnote-dw.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-dw/cbx/footnote-dw.cbx175
1 files changed, 65 insertions, 110 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-dw/cbx/footnote-dw.cbx b/Master/texmf-dist/tex/latex/biblatex-dw/cbx/footnote-dw.cbx
index 4df49f87aba..f8545a1ca85 100644
--- a/Master/texmf-dist/tex/latex/biblatex-dw/cbx/footnote-dw.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-dw/cbx/footnote-dw.cbx
@@ -1,17 +1,14 @@
% footnote-dw.cbx, Dominik Waßenhoven 2010
-\ProvidesFile{footnote-dw.cbx}[2010/03/11 v1.3 biblatex citation style]
+\ProvidesFile{footnote-dw.cbx}[2010/09/21 v1.3a biblatex citation style]
\RequireCitationStyle{standard-dw}
\newbool{cbx:pageref}
-\DeclareBibliographyOption{pageref}[true]{%
- \setbool{cbx:pageref}{#1}}
-
\ExecuteBibliographyOptions{
- uniquename=false, % damit bei idem=false Vor- und Nachname gesetzt werden!
loccittracker=true,% für die Option 'ibidpage'
+ uniquename=false, % damit bei idem=false Vor- und Nachname gesetzt werden!
}
% Kommandos zum Verpacken der Zitate in Fußnoten
@@ -30,14 +27,14 @@
{\booltrue{cbx:parencitefoot}%
\begingroup
\let\mkbibparens\mkbibbrackets
- \bibleftparen#1\bibrightparen
+ \bibopenparen#1\bibcloseparen
\endgroup}
{\unspace\footnote{%
\toggletrue{blx@footnote}%
\bibsentence#1\addperiod}}}
\newbibmacro*{cite}{%
- \global\boolfalse{cbx:herename}%
+ \usebibmacro{cite:citepages}%
\global\boolfalse{cbx:loccit}%
\bibhypertarget{cite\the\value{instcount}}{%
\ifciteseen
@@ -79,56 +76,43 @@
\label{cbx@\the\value{instcount}}}
\newbibmacro*{cite:full}{%
+ \usebibmacro{cite:full:citepages}%
\usebibmacro{footref}%
- \ifuseeditor
- {\ifnameundef{editor}
- {\setunit{}}
- {}}%
- {\setunit{}}%
\printtext[bibhypertarget]{%
\usedriver
- {\ifbool{cbx:option:omitpages}
- {\booltrue{cbx:omitpages}}
- {}%
- \DeclareNameAlias{sortname}{default}}
+ {\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}%
\iffieldundef{shorthand}
{}
{\ifbool{cbx:citedas}
{\addspace\usebibmacro{shorthandintro}}
- {}}%
- \iffieldundef{pages}
- {}%
- {\iffieldundef{postnote}
- {}%
- {\ifthenelse{\boolean{cbx:option:herename}\AND\NOT
- \boolean{cbx:omitpages}}
- {\global\booltrue{cbx:herename}%
- \herenamepunct%
- \bibstring{herename}}
- {}}}}}
-
+ {}}}}
+
\newbibmacro*{cite:title}{%
\ifsingletitle
{\setunit{}}% Löschen des \citenamepunct, falls kein Titel ausgegeben wird
{\printtext[bibhyperlink]{%
\printfield[citetitle]{labeltitle}}}%
- \ifuseeditor
+ \ifboolexpr{
+ test \ifuseeditor
+ or
+ test \ifusetranslator
+ }
{}
{\ifbool{cbx:omiteditor}
{}
{\ifnameundef{editor}
{}
- {\ifbool{bbx:xrefnoidem}%
- {\newunit
- \usebibmacro{cite:byeditor}}%
- {\ifbool{bbx:edbyidem}
+ {\ifbool{xrefidem}%
+ {\ifbool{bbx:edbyidem}
{\newunit
\bibstring{byeditor}%
\setunit{\addspace}%
\bibstring[\mkidem]{idemdat\thefield{gender}}}
{\newunit
- \usebibmacro{cite:byeditor}}}}}}%
+ \usebibmacro{cite:byeditor}}}%
+ {\newunit
+ \usebibmacro{cite:byeditor}}}}}%
\usebibmacro{cite:seenote}}
\newbibmacro*{cite:shorthand}{%
@@ -164,29 +148,24 @@
\newbibmacro*{cite:xref}{%
\ifciteseen
{\iffieldundef{shorthand}
- {\ifuseeditor
- {\ifnameundef{labelname}
- {}%
- {\ifbool{cbx:xrefnoidem}
- {\usebibmacro{cite:editor}%
- \citenamepunct}%
- {\usebibmacro{cite:idem}}}}
- {}%
+ {\ifnameundef{labelname}
+ {}
+ {\ifbool{xrefidem}
+ {\usebibmacro{cite:xref:idem}}
+ {\usebibmacro{cite:editor}%
+ \citenamepunct}}%
\usebibmacro{cite:title}}
- {\usebibmacro{cite:shorthand}}}%
- {\ifbool{cbx:xrefnoidem}
- {\usebibmacro{cite:fullxref}}%
+ {\usebibmacro{cite:shorthand}}}
+ {\ifbool{xrefidem}
{\ifbool{bbx:edbyidem}
{\usebibmacro{cite:fullxrefidem}}%
- {\usebibmacro{cite:fullxref}}}}}%
+ {\usebibmacro{cite:fullxref}}}%
+ {\usebibmacro{cite:fullxref}}}}
\newbibmacro*{cite:fullxref}{%
\usebibmacro{footref}%
\usedriver
- {\ifbool{cbx:option:omitpages}
- {\booltrue{cbx:omitpages}}
- {}%
- \DeclareNameAlias{sortname}{default}}
+ {\DeclareNameAlias{sortname}{default}}
{xref\thefield{entrytype}}%
\iffieldundef{shorthand}
{}
@@ -197,11 +176,7 @@
\newbibmacro*{cite:fullxrefidem}{%
\usebibmacro{footref}%
\usedriver
- {\ifbool{cbx:option:omitpages}
- {\booltrue{cbx:omitpages}}
- {}%
- \DeclareNameAlias{sortname}{default}%
- \clearfield{editor}}
+ {\DeclareNameAlias{sortname}{default}}
{xrefidem\thefield{entrytype}}%
\iffieldundef{shorthand}
{}
@@ -214,38 +189,44 @@
\AtBeginBibliography{%
\renewbibmacro*{cite:xref}{%
\iffieldundef{shorthand}%
- {\ifuseeditor
+ {\ifboolexpr{
+ test \ifuseeditor
+ or
+ test \ifusetranslator
+ }
{\ifnameundef{labelname}
{}
- {\ifbool{bbx:xrefnoidem}%
- {\printnames{labelname}%
- \printtext{\labelnamepunct}}%
+ {\ifbool{xrefidem}%
{\ifbool{bbx:edbyidem}
{\midsentence%
- \usebibmacro{cite:idem}}%
+ \usebibmacro{cite:xref:idem}}%
{\printnames{labelname}%
- \printtext{\labelnamepunct}}}}}
+ \printtext{\labelnamepunct}}}%
+ {\printnames{labelname}%
+ \printtext{\labelnamepunct}}}}
{}%
\iffieldundef{shorttitle}%
{\printfield{title}}%
{\printfield{shorttitle}}%
- \ifuseeditor
+ \ifboolexpr{
+ test \ifuseeditor
+ or
+ test \ifusetranslator
+ }
{}
{\ifbool{cbx:omiteditor}
{}
- {\ifnameundef{editor}
- {}
- {\ifbool{bbx:xrefnoidem}%
- {\newunit
- \usebibmacro{byeditor}}%
- {\ifbool{bbx:edbyidem}
- {\newunit
- \bibstring{byeditor}%
- \setunit{\addspace}%
- \bibstring[\mkidem]{idemdat\thefield{gender}}}
- {\newunit
- \usebibmacro{byeditor}}}}}}}%
- {\printtext[bibhyperref]{\printfield{shorthand}}}}}
+ {\ifbool{xrefidem}%
+ {\ifbool{bbx:edbyidem}
+ {\newunit
+ \bibstring{byeditor}%
+ \setunit{\addspace}%
+ \bibstring[\mkidem]{idemdat\thefield{gender}}}
+ {\newunit
+ \usebibmacro{byeditor+others}}}
+ {\newunit
+ \usebibmacro{byeditor+others}}}}}%
+ {\printtext[bibhyperref]{\printfield{shorthand}}}}}
\DeclareCiteCommand{\cite}[\mkfootnotecite]
{\usebibmacro{prenote}}
@@ -270,45 +251,24 @@
{\usebibmacro{cite:postnote}}
\DeclareCiteCommand{\fullcite}[\mkfootnotecite]
- {\usebibmacro{prenote}}
+ {\usebibmacro{prenote}%
+ \usebibmacro{cite:full:citepages}}
{\usedriver
- {\ifbool{cbx:option:omitpages}
- {\booltrue{cbx:omitpages}}
- {}%
- \DeclareNameAlias{sortname}{default}}
+ {\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}}
{\multicitedelim}
- {\iffieldundef{postnote}
- {}
- {\ifthenelse{\boolean{cbx:option:herename}\AND\NOT
- \(\iffieldundef{pages}\OR
- \boolean{cbx:omitpages}\)}
- {\global\booltrue{cbx:herename}%
- \herenamepunct%
- \bibstring{herename}}
- {\global\boolfalse{cbx:herename}}%
- \usebibmacro{postnote}}}
+ {\usebibmacro{cite:postnote}}
\DeclareCiteCommand{\footfullcite}[\mkfootnotecite]
{\bibsentence
- \usebibmacro{prenote}}
+ \usebibmacro{prenote}%
+ \usebibmacro{cite:full:citepages}}
{\usedriver
- {\ifbool{cbx:option:omitpages}
- {\booltrue{cbx:omitpages}}
- {}%
- \DeclareNameAlias{sortname}{default}}
+ {\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}}
{\multicitedelim}
- {\iffieldundef{postnote}
- {}
- {\ifthenelse{\boolean{cbx:option:herename}\AND\NOT
- \(\iffieldundef{pages}\OR
- \boolean{cbx:omitpages}\)}
- {\global\booltrue{cbx:herename}%
- \herenamepunct%
- \bibstring{herename}}
- {\global\boolfalse{cbx:herename}}%
- \usebibmacro{postnote}}}
+ {\usebibmacro{cite:postnote}}
+
\DeclareMultiCiteCommand{\cites}[\mkfootnotecite]{\cite}{\multicitedelim}
\DeclareMultiCiteCommand{\parencites}[\mkparencite]{\parencite}{\multicitedelim}
@@ -343,10 +303,5 @@
{}}
\newbibmacro*{cite:ibid:page}{}
-
-\newbibmacro*{cite:postnote}{%
- \ifbool{cbx:loccit}
- {}
- {\usebibmacro{postnote}}}
\endinput