summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-publist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-25 21:55:35 +0000
committerKarl Berry <karl@freefriends.org>2013-07-25 21:55:35 +0000
commit15dd02098312666fbdebe7173ca2abd9623841ae (patch)
tree4d2288d7f420260a4b2690ad57ea153ddb3703be /Master/texmf-dist/tex/latex/biblatex-publist
parent815e77555e3aebd8182bee6f32fd1927d8093795 (diff)
biblatex-publist (25jul13)
git-svn-id: svn://tug.org/texlive/trunk@31285 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.bbx27
1 files changed, 16 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
index 60549436043..fa5f4103c69 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{0.6}
-\def\bpl@rdate{2013/07/21}
+\def\bpl@version{0.7}
+\def\bpl@rdate{2013/07/25}
\ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space
biblatex bibliography style (JSP)]
@@ -360,18 +360,23 @@
\clearname{editor}}
{}}
-\newbibmacro*{labelyear+extrayear}{%
+\newbibmacro*{date:labelyear+extrayear}{%
\mkbibbold{\printtext{%
- \printfield{labelyear}%
- \printfield{extrayear}}}%
+ \iffieldundef{month}{%
+ \printdateextra}%
+ {\printdate}%
+ }%
+ }%
}
\AtBeginDocument{%
\if@unboldyear
-\renewbibmacro*{labelyear+extrayear}{%
- \printtext{%
- \printfield{labelyear}%
- \printfield{extrayear}}%
+\renewbibmacro*{date:labelyear+extrayear}{%
+ \printtext{%
+ \iffieldundef{month}{%
+ \printdateextra}%
+ {\printdate}%
+ }%
}
\fi
}
@@ -379,7 +384,7 @@
\newbibmacro*{year+labelyear}{%
\iffieldundef{year}
{\let\bbx@lasthash\undefined}
- {\usebibmacro{labelyear+extrayear}%
+ {\usebibmacro{date:labelyear+extrayear}%
\if@marginyear
\iffieldequals{labelyear}{\bbx@lasthash}{}{%
\printtext{\marginpar{\small\plmarginyear{\printfield{labelyear}}}}%
@@ -413,7 +418,7 @@
\iffieldundef{year}
{}
{\printtext[parens]{%
- \printfield{labelyear}%
+ \printfield{labelyear}%
\printfield{extrayear}}}}
%