diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-dw/cbx/standard-dw.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-dw/cbx/standard-dw.cbx | 75 |
1 files changed, 47 insertions, 28 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-dw/cbx/standard-dw.cbx b/Master/texmf-dist/tex/latex/biblatex-dw/cbx/standard-dw.cbx index 9a0652c4c3f..b0375079178 100644 --- a/Master/texmf-dist/tex/latex/biblatex-dw/cbx/standard-dw.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-dw/cbx/standard-dw.cbx @@ -1,16 +1,17 @@ -% standard-dw.cbx, Dominik Waßenhoven 2011 +% standard-dw.cbx, Dominik Waßenhoven 2011 -\ProvidesFile{standard-dw.cbx}[2011/02/06 v1.3c biblatex citation style] +\ProvidesFile{standard-dw.cbx}[2011/11/20 v1.4 biblatex citation style] \newbool{cbx:authauthxref} \newbool{cbx:authedxref} \newbool{cbx:citedas} \newbool{cbx:edstringincitations} \newbool{cbx:firstfullname} +\newbool{cbx:fullcite}% Test, ob fullcite ausgeführt wurde (wichtig für @review) \newbool{cbx:idemfull} \newbool{cbx:noidem} \newbool{cbx:omiteditor} -\newbool{cbx:review} +\newbool{cbx:rpcited}% wurde der parent des @review schon zitiert? \newbool{cbx:xrefparent:firstcite} \newbool{cbx:shorthandibid} @@ -80,19 +81,19 @@ \global\toggletrue{cbx:fullcite}}% \renewbibmacro*{cite:postnote}{% \ifboolexpr{ - togl {cbx:fullcite} - and - test {\iffieldpages{postnote}} - and - test {\ifnumequal{\value{citecount}}{\value{citetotal}}} - and - ( not test {\iffieldundef{pages}} - or - ( not test {\iffieldundef{pagetotal}} - and - bool {bbx:pagetotal} - ) - ) + togl {cbx:fullcite} + and + test {\iffieldpages{postnote}} + and + test {\ifnumequal{\value{citecount}}{\value{citetotal}}} + and + ( not test {\iffieldundef{pages}} + or + ( not test {\iffieldundef{pagetotal}} + and + bool {bbx:pagetotal} + ) + ) } {\usebibmacro{cite:postnote:pages}} {\usebibmacro{cite:postnote:ibidpage}}} @@ -131,14 +132,14 @@ \csxdef{cbx:lastcite@\thefield{entrykey}}{\the\value{instcount}}% \global\boolfalse{cbx:noidem}} -% Ausschalten von annotation und library für Zitate im Text +% Ausschalten von annotation und library für Zitate im Text \AtEveryCite{% \boolfalse{bbx:annotation}% \boolfalse{bbx:library}% } %% Doppelpunkt nach Autoren/Editoren -%% aus Kompatibilitätsgründen zu früheren Versionen wird +%% aus Kompatibilitätsgründen zu früheren Versionen wird %% \citenamepunct verwendet \newcommand*{\citenamepunct}{\addcolon\space} \renewcommand*{\nametitledelim}{\citenamepunct} @@ -150,7 +151,7 @@ \newcommand*{\citerevsdnamedelim}{} \newcommand*{\citemultinamedelim}{\slash} \newcommand*{\citefinalnamedelim}{\slash} -\AtEveryCite{% +\AtBeginDocument{% \let\revsdnamedelim\citerevsdnamedelim \let\multinamedelim\citemultinamedelim \let\finalnamedelim\citefinalnamedelim @@ -161,6 +162,9 @@ \let\citefinalnamedelim\bibfinalnamedelim } +%% Textcite delimiter +\newcommand*{\textcitesdelim}{\addspace\bibstring{and}\space} + %% Titelformate in Zitaten \DeclareFieldFormat*{citetitle}{#1} @@ -249,13 +253,13 @@ \providecommand*{\mkibid}[1]{% \bbx@ibidemfont{#1}} -%% pages (wichtig für xref) +%% pages (wichtig für xref) \newbibmacro*{pages}{% \setunit{\bibpagespunct}% \printfield{pages}} %% in manchen Literaturverweisen (wenn nicht fullcite) -%% müssen statt der vollen Namen (Format [byeditor]) +%% müssen statt der vollen Namen (Format [byeditor]) %% nur die Nachnamen ausgegeben werden (Format [labelname]) \newbibmacro*{cite:byeditor}{% \ifnameundef{editor} @@ -314,7 +318,7 @@ {\usebibmacro{postnote}}} %% Test, ob author und editor bei xref identisch sind -%% (für xref=true, useeditor=false oder usetranslator=false, +%% (für xref=true, useeditor=false oder usetranslator=false, %% edbyidem=true) \newbibmacro*{authedxrefcheck}{% \iffieldundef{xref} @@ -333,8 +337,8 @@ {\booltrue{cbx:authedxref}} {\boolfalse{cbx:authedxref}}}} -%% Test, author des @inbook und author des @book) bei xref -%% identisch sind (für xref=true, edbyidem=true); nötig, +%% Test, ob author des @inbook und author des @book bei xref +%% identisch sind (für xref=true, edbyidem=true); nötig, %% damit der Herausgeber nicht durch idem ersetzt wird \newbibmacro*{authauthxrefcheck}{% \iffieldundef{xref} @@ -348,11 +352,26 @@ {\booltrue{cbx:authauthxref}} {\boolfalse{cbx:authauthxref}}}} +%% für @review +\DeclareCiteCommand{\bbx@review} + {} + {\usebibmacro{citeindex}% + \ifentryseen{\bbx@reviewparent} + {\global\booltrue{cbx:rpcited}} + {\global\boolfalse{cbx:rpcited}}% + \ifbool{cbx:fullcite} + {\usedriver + {\DeclareNameAlias{sortname}{default}} + {\thefield{entrytype}}} + {\usebibmacro{cite}}} + {} + {} + %% xref \DeclareCiteCommand{\bbx@xref} - {}% - {\usebibmacro{cite:xref}}% - {}% - {}% + {} + {\usebibmacro{cite:xref}} + {} + {} \endinput |