From 27cdd6bfa8154741f66deea535349eedbc455a28 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 12 Apr 2017 21:08:34 +0000 Subject: biblatex-publist (12apr17) git-svn-id: svn://tug.org/texlive/trunk@43765 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/biblatex-publist/README | 4 ++ .../latex/biblatex-publist/biblatex-publist.pdf | Bin 300472 -> 300598 bytes .../latex/biblatex-publist/biblatex-publist.tex | 10 +++- .../tex/latex/biblatex-publist/publist.bbx | 55 +++++++++++++-------- .../tex/latex/biblatex-publist/publist.cbx | 4 +- 5 files changed, 48 insertions(+), 25 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/README b/Master/texmf-dist/doc/latex/biblatex-publist/README index 11327904270..83ca744613e 100644 --- a/Master/texmf-dist/doc/latex/biblatex-publist/README +++ b/Master/texmf-dist/doc/latex/biblatex-publist/README @@ -45,6 +45,10 @@ instructions. == CHANGES == +* V. 1.7 (2017-04-12): + - Output marginyear before the author list. This prevents it from being vertically + shifted in case of long author lists. + * V. 1.6 (2017-04-02): - New option 'nameorder' that allows to change the ordering of author and editor name ("given-family" vs. "family-given" [= default]). diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf index 9311eceae37..c3b68a4cb41 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf and b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf differ diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex index 52a40a0abc2..324cf90e990 100644 --- a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex +++ b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex @@ -79,7 +79,7 @@ \thanks{Please report issues via \protect\url{https://github.com/jspitz/biblatex-publist}.}% } -\date{Version 1.6, 2017/04/02} +\date{Version 1.7, 2017/04/12} \maketitle \begin{abstract} @@ -428,6 +428,12 @@ That is, to sort your talks in descending order by full date in your CV, use: \section{Revision Log} \begin{description} + \item [{V.~1.7 (2017-04-12):}]~ + \begin{itemize} + \item Output marginyear before the author list. This prevents it from being vertically + shifted in case of long author lists. + \end{itemize} + \item [{V.~1.6 (2017-04-02):}]~ \begin{itemize} \item New option \joption{nameorder} that allows to change the ordering of author and editor @@ -441,7 +447,7 @@ That is, to sort your talks in descending order by full date in your CV, use: \item Whitespace fix with \joption{plauthorhandling=highlight}. \item Use proper name delimiters. \end{itemize} - +\clearpage \item [{V.~1.4 (2017-02-12):}]~ \begin{itemize} \item New option \joption{plauthorhandling} that defines how the publist author is diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx index 6e2ea492ece..01949e6cc79 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.6} -\def\bpl@rdate{2017/04/02} +\def\bpl@version{1.7} +\def\bpl@rdate{2017/04/12} \ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space biblatex bibliography style (JSP)] @@ -518,7 +518,8 @@ \if@hlauthor \ifnameundef{author} {} - {\printnames{author}% + {\usebibmacro{marginyear}% + \printnames{author}% \setunit{\addspace}% \iffieldundef{nameaddon} {} @@ -528,7 +529,8 @@ \else% \if@hlauthor false \ifnameundef{author} {} - {\usebibmacro{year+labelyear}\addspace% + {\usebibmacro{marginyear}% + \usebibmacro{year+labelyear}\addspace% \printnames{author}% \setunit{\addspace}% \iffieldundef{nameaddon} @@ -542,7 +544,8 @@ \if@hlauthor \ifnameundef{editor} {} - {\printnames{editor}% + {\usebibmacro{marginyear}% + \printnames{editor}% \setunit{\addspace}% \usebibmacro{editorstrg}} \adddot\addspace% @@ -550,7 +553,8 @@ \else% \if@hlauthor false \ifnameundef{editor} {} - {\usebibmacro{year+labelyear}% + {\usebibmacro{marginyear}% + \usebibmacro{year+labelyear}% \addspace% \printnames{editor}% \setunit{\addspace}% @@ -565,7 +569,8 @@ and not test {\ifnameundef{editor}} } - {\printnames{editor}% + {\usebibmacro{marginyear}% + \printnames{editor}% \setunit{\addcomma\space}% \usebibmacro{editor+othersstrg}% \adddot\addspace% @@ -578,7 +583,8 @@ and not test {\ifnameundef{editor}} } - {\usebibmacro{year+labelyear}% + {\usebibmacro{marginyear}% + \usebibmacro{year+labelyear}% \addspace% \printnames{editor}% \setunit{\addcomma\space}% @@ -620,29 +626,36 @@ } \fi } - -\newbibmacro*{year+labelyear}{% + +\newbibmacro*{marginyear}{% +\if@marginyear% \iffieldundef{year}{% - \iffieldundef{pubstate}{\let\bbx@lasthash\undefined}{% - \usebibmacro{date:labelyear+extrayear}% - \if@marginyear% + \iffieldundef{pubstate}{}{% \iffieldequals{pubstate}{\bbx@lasthash}{}{% \printtext{\marginpar{\small\plmarginyear{\bibsentence\printfield{pubstate}}}}% }% - \fi - \savefield{pubstate}{\bbx@lasthash}% - \clearfield{pubstate}% - } + }% }{% - \usebibmacro{date:labelyear+extrayear}% - \if@marginyear% \iffieldequals{labelyear}{\bbx@lasthash}{}{% \printtext{\marginpar{\small\plmarginyear{\bibsentence\printfield{labelyear}}}}% }% - \fi + }% +\fi +} + +\newbibmacro*{year+labelyear}{% + \iffieldundef{year}{% + \iffieldundef{pubstate}{\let\bbx@lasthash\undefined}{% + \usebibmacro{date:labelyear+extrayear}% + \savefield{pubstate}{\bbx@lasthash}% + \clearfield{pubstate}% + }% + }{% + \usebibmacro{date:labelyear+extrayear}% \savefield{labelyear}{\bbx@lasthash}% \clearfield{year}% - }} + }% +} \newbibmacro*{rauthor/label}{% \ifnameundef{author} diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx index 39aedfe8445..c2075f4ba59 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.6} -\def\bpl@rdate{2017/04/02} +\def\bpl@version{1.7} +\def\bpl@rdate{2017/04/12} \ProvidesFile{publist.cbx}[\bpl@rdate\space v.\bpl@version\space biblatex citation style (JSP)] -- cgit v1.2.3