summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx29
1 files changed, 19 insertions, 10 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx
index 59c81cfb22..6a2fe0d93a 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx
@@ -25,8 +25,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl@version{1.21}
-\def\bpl@rdate{2020/09/21}
+\def\bpl@version{1.22}
+\def\bpl@rdate{2021/06/14}
\ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space
biblatex bibliography style (JSP)]
@@ -77,6 +77,11 @@
\ifstrequal{#1}{false}{\@unboldyeartrue}{\@unboldyearfalse}
}
+\newif\if@pubstateextra\@pubstateextrafalse
+\DeclareBibliographyOption{pubstateextra}[true]{%
+ \ifstrequal{#1}{true}{\@pubstateextratrue}{\@pubstateextrafalse}
+}
+
\newif\if@hlauthor\@hlauthorfalse
\DeclareBibliographyOption{plauthorhandling}[omit]{%
\ifstrequal{#1}{highlight}{\@hlauthortrue}{\@hlauthorfalse}
@@ -692,8 +697,8 @@
{\namepartprefix\addspace}%
\namepartfamily%
\ifgiveninits
- {\ifdefvoid{\namepartgiveni}{}{\addcomma\addspace\namepartgiveni\addspace}}%
- {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\isdot\addspace}}%
+ {\ifdefvoid{\namepartgiveni}{}{\revsdnamepunct\addspace\namepartgiveni\addspace}}%
+ {\ifdefvoid{\namepartgiven}{}{\revsdnamepunct\addspace\namepartgiven\isdot\addspace}}%
\fi
}%
\ifnumequal{\value{listcount}}{\value{liststop}}{}{\usebibmacro{bpl:name:andothers}}%
@@ -713,8 +718,8 @@
{\namepartprefix\addspace}%
\namepartfamily%
\ifgiveninits
- {\ifdefvoid{\namepartgiveni}{}{\addcomma\addspace\namepartgiveni\addspace}}%
- {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\isdot\addspace}}%
+ {\ifdefvoid{\namepartgiveni}{}{\revsdnamepunct\addspace\namepartgiveni\addspace}}%
+ {\ifdefvoid{\namepartgiven}{}{\revsdnamepunct\addspace\namepartgiven\isdot\addspace}}%
\fi
}%
\usebibmacro{bpl:name:andothers}%
@@ -788,8 +793,8 @@
\ifdefvoid{\namepartprefix}{}{\namepartprefix\addspace}%
\namepartfamily%
\ifgiveninits
- {\ifdefvoid{\namepartgiveni}{}{\addcomma\addspace\namepartgiveni\addspace}}%
- {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\isdot\addspace}}%
+ {\ifdefvoid{\namepartgiveni}{}{\revsdnamepunct\addspace\namepartgiveni\addspace}}%
+ {\ifdefvoid{\namepartgiven}{}{\revsdnamepunct\addspace\namepartgiven\isdot\addspace}}%
\fi
\ifthenelse{\value{listcount}<\value{liststop}}
{\ifnumless{\value{listcount}}{\value{liststop}-1}%
@@ -933,13 +938,17 @@
}
\fi
-
\newbibmacro*{bpl:date:makedate}{%
\printtext{%
\iffieldundef{year}{%
\iffieldundef{pubstate}%
{}
- {\printfield{pubstate}}%
+ {%
+ \printfield{pubstate}%
+ \if@pubstateextra
+ \printfield{extradate}%
+ \fi%
+ }%
}{%
\iffieldundef{month}%
{\printdateextra}%