diff options
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-dw/latex/cbx/footnote-dw.cbx')
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/biblatex-dw/latex/cbx/footnote-dw.cbx | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-dw/latex/cbx/footnote-dw.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-dw/latex/cbx/footnote-dw.cbx index 03688af6a2..4383a4c8d9 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-dw/latex/cbx/footnote-dw.cbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-dw/latex/cbx/footnote-dw.cbx @@ -1,6 +1,6 @@ -% footnote-dw.cbx, Dominik Waßenhoven 2023 + % footnote-dw.cbx, Dominik Waßenhoven 2023 -\ProvidesFile{footnote-dw.cbx}[2023/03/09 v1.7a biblatex citation style] +\ProvidesFile{footnote-dw.cbx}[2023/03/11 v1.7b biblatex citation style] \RequireCitationStyle{standard-dw} @@ -140,27 +140,18 @@ \newbibmacro*{cite:seenote}{% \ifbool{cbx:review} {} - {\ifbool{cbx:parencitefoot} - {\addspace\mkbibbrackets{% - \midsentence\bibstring{seenote}\addnbspace% - \ref{cbx@\csuse{cbx@first@\thefield{entrykey}}}% - \ifbool{cbx:pageref} - {\ifsamepage{\the\value{instcount}} - {\csuse{cbx@first@\thefield{entrykey}}} - {} - {\addcomma\space\bibstring{page}\addnbspace% - \pageref{cbx@\csuse{cbx@first@\thefield{entrykey}}}}} - {}}} - {\addspace\mkbibparens{% - \midsentence\bibstring{seenote}\addnbspace% - \ref{cbx@\csuse{cbx@first@\thefield{entrykey}}}% - \ifbool{cbx:pageref} - {\ifsamepage{\the\value{instcount}} - {\csuse{cbx@first@\thefield{entrykey}}} - {} - {\addcomma\space\bibstring{page}\addnbspace% - \pageref{cbx@\csuse{cbx@first@\thefield{entrykey}}}}} - {}}}}} + {\addspace\printtext[cite:seenote]{% + \midsentence\bibstring{seenote}\addnbspace% + \ref{cbx@\csuse{cbx@first@\thefield{entrykey}}}% + \ifbool{cbx:pageref} + {\ifsamepage{\the\value{instcount}} + {\csuse{cbx@first@\thefield{entrykey}}} + {} + {\addcomma\space\bibstring{page}\addnbspace% + \pageref{cbx@\csuse{cbx@first@\thefield{entrykey}}}}} + {}}}} + +\DeclareFieldFormat{cite:seenote}{\ifbool{cbx:parencitefoot}{\mkbibbrackets{#1}}{\mkbibparens{#1}}} %% xref \newbibmacro*{cite:xref}{% @@ -177,7 +168,7 @@ {\ifbool{xref:inbook} {\usebibmacro{author}} {\usebibmacro{cite:editor}}% - \nametitledelim}}% + \setunit{\nametitledelim}}}% \usebibmacro{cite:title}} {\usebibmacro{cite:shorthand}}} {\ifboolexpr{ @@ -302,7 +293,7 @@ \def\cbx@savedcites{#1}% \ifbool{cbx:parencitefoot} {#2% - \addspace\mkbibparens{\cbx@savedcites}} + \addspace\printtext[parens]{\cbx@savedcites}} {#2% \cbx@savedcites}} |