summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-dw/cbx/footnote-dw.cbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-03-12 20:33:16 +0000
committerKarl Berry <karl@freefriends.org>2023-03-12 20:33:16 +0000
commitd1bb8c130941b9caa8309ab10aa56652e4f2af83 (patch)
tree44c882da793fb99e76ec83a020bd5594a1de9948 /Master/texmf-dist/tex/latex/biblatex-dw/cbx/footnote-dw.cbx
parent37486d391532b631210a7228ded1e36d9a363338 (diff)
biblatex-dw (12mar23)
git-svn-id: svn://tug.org/texlive/trunk@66579 c570f23f-e606-0410-a88d-b1316a301751
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.cbx41
1 files changed, 16 insertions, 25 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 03688af6a29..4383a4c8d91 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,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}}