diff options
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.cbx | 56 |
1 files changed, 27 insertions, 29 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 8b539f59755..2147945d171 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 2011 +% authortitle-dw.cbx, Dominik Waßenhoven 2011 -\ProvidesFile{authortitle-dw.cbx}[2011/02/06 v1.3c biblatex citation style] +\ProvidesFile{authortitle-dw.cbx}[2011/11/20 v1.4 biblatex citation style] \RequireCitationStyle{standard-dw} @@ -141,21 +141,10 @@ \AtBeginBibliography{% \renewbibmacro*{cite:xref}{% - \iffieldundef{shorthand}% - {\ifuseeditor - {\ifnameundef{labelname} - {} - {\ifbool{xrefidem}% - {\ifbool{bbx:edbyidem} - {\midsentence% - \usebibmacro{cite:idem}}% - {\printnames{labelname}% - \printtext{\labelnamepunct}}}% - {\printnames{labelname}% - \printtext{\labelnamepunct}}}} - {}% - \iffieldundef{shorttitle}% - {\printfield{title}}% + \iffieldundef{shorthand} + {\usebibmacro{cite:editor}% + \iffieldundef{shorttitle} + {\printfield{title}} {\printfield{shorttitle}}% \ifuseeditor {} @@ -163,17 +152,17 @@ {} {\ifnameundef{editor} {} - {\ifbool{xrefidem}% + {\ifbool{xrefidem} {\ifbool{bbx:edbyidem} - {\newunit + {\newunit% \bibstring{byeditor}% \setunit{\addspace}% \bibstring[\mkidem]{idemdat\thefield{gender}}} - {\newunit + {\newunit% \usebibmacro{byeditor}}}% - {\newunit - \usebibmacro{byeditor}}}}}}% - {\printtext[bibhyperref]{\printfield{shorthand}}}}} + {\newunit% + \usebibmacro{byeditor}}}}}} + {\printtext[bibhyperref]{\printfield{shorthand}}}}} \newbibmacro*{cite:fullxref}{% \usebibmacro{cite:full:citepages}% @@ -199,7 +188,8 @@ \DeclareCiteCommand{\fullcite} {\usebibmacro{prenote}% - \usebibmacro{cite:full:citepages}} + \usebibmacro{cite:full:citepages}% + \booltrue{cbx:fullcite}} {\usedriver {\DeclareNameAlias{sortname}{default}} {\thefield{entrytype}}} @@ -209,7 +199,8 @@ \DeclareCiteCommand{\footfullcite}[\mkbibfootnote] {\bibsentence \usebibmacro{prenote}% - \usebibmacro{cite:full:citepages}} + \usebibmacro{cite:full:citepages}% + \booltrue{cbx:fullcite}} {\usedriver {\DeclareNameAlias{sortname}{default}} {\thefield{entrytype}}} @@ -226,13 +217,13 @@ \newbibmacro*{cite:title}{% \ifsingletitle - {\setunit{}}% Löschen des \nametitledelim, falls kein Titel ausgegeben wird + {\setunit{}}% Löschen des \nametitledelim, falls kein Titel ausgegeben wird {\ifboolexpr{ - test {\iffieldequalstr{entrytype}{review}} + test {\ifentrytype{review}} and not test {\iffieldundef{xref}} } - {\printtext[review]{\bbx@xref{\thefield{xref}}}} + {\printtext[review]{\bbx@review{\thefield{xref}}}} {\printtext[bibhyperref]{% \printfield[citetitle]{labeltitle}}}}} @@ -279,7 +270,7 @@ {\usebibmacro{textcite:postnote}} %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% -%%%%% Unverändert übernommen aus authortitle-ibid.cbx %%%%% +%%%%% Unverändert übernommen aus authortitle-ibid.cbx %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% \newbool{cbx:parens} @@ -320,4 +311,11 @@ {\multicitedelim} {\usebibmacro{cite:postnote}} +\DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + \endinput |