summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-dw/cbx/authortitle-dw.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-dw/cbx/authortitle-dw.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-dw/cbx/authortitle-dw.cbx99
1 files changed, 49 insertions, 50 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-dw/cbx/authortitle-dw.cbx b/Master/texmf-dist/tex/latex/biblatex-dw/cbx/authortitle-dw.cbx
index 85aaec9daa5..8b539f59755 100644
--- a/Master/texmf-dist/tex/latex/biblatex-dw/cbx/authortitle-dw.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-dw/cbx/authortitle-dw.cbx
@@ -1,6 +1,6 @@
-% authortitle-dw.cbx, Dominik Waßenhoven 2010
+% authortitle-dw.cbx, Dominik Waßenhoven 2011
-\ProvidesFile{authortitle-dw.cbx}[2010/11/21 v1.3b biblatex citation style]
+\ProvidesFile{authortitle-dw.cbx}[2011/02/06 v1.3c biblatex citation style]
\RequireCitationStyle{standard-dw}
@@ -12,13 +12,12 @@
\newbibmacro*{cite}{%
\usebibmacro{cite:citepages}%
\global\boolfalse{cbx:loccit}%
- \global\let\cbx@tempa\empty
\ifbool{cbx:firstfull}
{\ifciteseen
{\usebibmacro{cite:normal}}
{\usebibmacro{cite:firstfull}}}
{\usebibmacro{cite:normal}}}
-
+
\newbibmacro*{cite:normal}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
@@ -66,7 +65,6 @@
{}}}
\newbibmacro*{cite:shorthand}{%
- \cbx@tempa
\printtext[bibhyperref]{\printfield{shorthand}}%
\global\booltrue{cbx:noidem}}
@@ -95,7 +93,6 @@
%% xref
\newbibmacro*{cite:xref}{%
- \global\let\cbx@tempa\empty
\ifbool{cbx:firstfull}
{\ifciteseen
{\iffieldundef{shorthand}
@@ -221,7 +218,6 @@
\newbibmacro*{citetitle}{%
\global\boolfalse{cbx:loccit}%
- \global\let\cbx@tempa\empty
\iffieldundef{shorthand}
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
{\usebibmacro{cite:ibid}}
@@ -229,17 +225,59 @@
{\usebibmacro{cite:shorthand}}}
\newbibmacro*{cite:title}{%
- \cbx@tempa
\ifsingletitle
{\setunit{}}% Löschen des \nametitledelim, falls kein Titel ausgegeben wird
- {\printtext[bibhyperref]{%
- \printfield[citetitle]{labeltitle}}}}
+ {\ifboolexpr{
+ test {\iffieldequalstr{entrytype}{review}}
+ and
+ not test {\iffieldundef{xref}}
+ }
+ {\printtext[review]{\bbx@xref{\thefield{xref}}}}
+ {\printtext[bibhyperref]{%
+ \printfield[citetitle]{labeltitle}}}}}
\newbibmacro*{cite:title:force}{%
- \cbx@tempa
\printtext[bibhyperref]{%
\printfield[citetitle]{labeltitle}}}
+\DeclareCiteCommand{\cite}
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+\DeclareCiteCommand{\parencite}[\mkbibparens]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+\DeclareCiteCommand{\footcite}[\mkbibfootnote]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+\DeclareCiteCommand{\textcite}
+ {\boolfalse{cbx:parens}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{textcite}}
+ {\ifbool{cbx:parens}
+ {\bibcloseparen\boolfalse{cbx:parens}}
+ {}%
+ \multicitedelim}
+ {\usebibmacro{textcite:postnote}}
+
%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%%
%%%%% Unverändert übernommen aus authortitle-ibid.cbx %%%%%
%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%%
@@ -253,7 +291,6 @@
{\ExecuteBibliographyOptions{loccittracker=false}}}
\newbibmacro*{cite:ibid}{%
- \cbx@tempa
\printtext[bibhyperref]{\bibstring[\mkibid]{ibidem}}%
\ifloccit
{\global\booltrue{cbx:loccit}}
@@ -269,13 +306,6 @@
{\addspace\bibopenparen}%
\printfield{postnote}\bibcloseparen}}
-\DeclareCiteCommand{\cite}
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{cite:postnote}}
-
\DeclareCiteCommand*{\cite}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
@@ -283,13 +313,6 @@
{\multicitedelim}
{\usebibmacro{postnote}}
-\DeclareCiteCommand{\parencite}[\mkbibparens]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{cite:postnote}}
-
\DeclareCiteCommand*{\parencite}[\mkbibparens]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
@@ -297,28 +320,4 @@
{\multicitedelim}
{\usebibmacro{cite:postnote}}
-\DeclareCiteCommand{\footcite}[\mkbibfootnote]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{cite:postnote}}
-
-\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{cite:postnote}}
-
-\DeclareCiteCommand{\textcite}
- {\boolfalse{cbx:parens}}
- {\usebibmacro{citeindex}%
- \usebibmacro{textcite}}
- {\ifbool{cbx:parens}
- {\bibcloseparen\boolfalse{cbx:parens}}
- {}%
- \multicitedelim}
- {\usebibmacro{textcite:postnote}}
-
\endinput