summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-publist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-01 22:17:12 +0000
committerKarl Berry <karl@freefriends.org>2018-09-01 22:17:12 +0000
commitcfdd1c627e2bc907e090683ce8e7b86079891856 (patch)
tree5488ae40f5d93ad955d562ad8fd36888a00e26c0 /Master/texmf-dist/tex/latex/biblatex-publist
parent7296fc79309858e6bcb41b7e4e28dfa73e3dd773 (diff)
biblatex-publist (1sep18)
git-svn-id: svn://tug.org/texlive/trunk@48536 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-publist')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx26
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx4
2 files changed, 23 insertions, 7 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}%
}%
}
diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx
index 1db29b775f1..7f1e593d951 100644
--- a/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx
@@ -26,8 +26,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.cbx}[\bpl@rdate\space v.\bpl@version\space
biblatex citation style (JSP)]