summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx26
1 files changed, 21 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
index 2cbef41b6d4..5aa8be3d3d6 100644
--- a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
@@ -25,8 +25,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl@version{1.10}
-\def\bpl@rdate{2018/04/08}
+\def\bpl@version{1.11}
+\def\bpl@rdate{2018/09/01}
\ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space
biblatex bibliography style (JSP)]
@@ -636,6 +636,22 @@
\andothersdelim\biblcstring{andothers}}
{}}
+
+\ifbpl@standardbasestyle
+% Work around issue in authoryear.bbx:
+% test for empty year before printing parens
+\renewbibmacro*{issue+date}{%
+ \ifboolexpr{test {\iffieldundef{year}}
+ and test {\iffieldundef{issue}}}
+ {}
+ {\printtext[parens]{%
+ \printfield{issue}%
+ \setunit*{\addspace}%
+ \usebibmacro{date}}}%
+ \newunit}
+\fi
+
+
\newbibmacro*{bpl:date:makedate}{%
\printtext{%
\iffieldundef{year}{%
@@ -671,8 +687,8 @@
}%
}%
}{%
- \iffieldequals{labelyear}{\bbx@lasthash}{}{%
- \printtext{\marginpar{\small\plmarginyear{\bibsentence\printfield{labelyear}}}}%
+ \iffieldequals{year}{\bbx@lasthash}{}{%
+ \printtext{\marginpar{\small\plmarginyear{\bibsentence\printfield{year}}}}%
}%
}%
\fi
@@ -687,7 +703,7 @@
}%
}{%
\usebibmacro{bpl:date:labeldate+extradate}%
- \savefield{labelyear}{\bbx@lasthash}%
+ \savefield{year}{\bbx@lasthash}%
\clearfield{year}%
}%
}