texlive[43765] Master/texmf-dist: biblatex-publist (12apr17)

commits+karl at tug.org commits+karl at tug.org
Wed Apr 12 23:08:35 CEST 2017


Revision: 43765
          http://tug.org/svn/texlive?view=revision&revision=43765
Author:   karl
Date:     2017-04-12 23:08:34 +0200 (Wed, 12 Apr 2017)
Log Message:
-----------
biblatex-publist (12apr17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/biblatex-publist/README
    trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex
    trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
    trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-publist/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-publist/README	2017-04-12 21:07:31 UTC (rev 43764)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/README	2017-04-12 21:08:34 UTC (rev 43765)
@@ -45,6 +45,10 @@
 
 == 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]).

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex	2017-04-12 21:07:31 UTC (rev 43764)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex	2017-04-12 21:08:34 UTC (rev 43765)
@@ -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 @@
 \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 @@
 	        \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

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx	2017-04-12 21:07:31 UTC (rev 43764)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx	2017-04-12 21:08:34 UTC (rev 43765)
@@ -25,8 +25,8 @@
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\def\bpl at version{1.6}
-\def\bpl at rdate{2017/04/02}
+\def\bpl at version{1.7}
+\def\bpl at rdate{2017/04/12}
 
 \ProvidesFile{publist.bbx}[\bpl at rdate\space v.\bpl at version\space
                            biblatex bibliography style (JSP)]
@@ -518,7 +518,8 @@
  \if at hlauthor
   \ifnameundef{author}
     {}
-    {\printnames{author}%
+    {\usebibmacro{marginyear}%
+     \printnames{author}%
      \setunit{\addspace}%
       \iffieldundef{nameaddon}
       {}
@@ -528,7 +529,8 @@
  \else% \if at 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 at hlauthor
   \ifnameundef{editor}
     {}
-    {\printnames{editor}%
+    {\usebibmacro{marginyear}%
+     \printnames{editor}%
      \setunit{\addspace}%
      \usebibmacro{editorstrg}}
      \adddot\addspace%
@@ -550,7 +553,8 @@
  \else% \if at 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*{marginyear}{%
+\if at marginyear%
+  \iffieldundef{year}{%
+    \iffieldundef{pubstate}{}{%   
+     \iffieldequals{pubstate}{\bbx at lasthash}{}{%
+      \printtext{\marginpar{\small\plmarginyear{\bibsentence\printfield{pubstate}}}}%
+     }%
+      }%
+    }{%
+     \iffieldequals{labelyear}{\bbx at lasthash}{}{%
+      \printtext{\marginpar{\small\plmarginyear{\bibsentence\printfield{labelyear}}}}%
+     }%
+    }%
+\fi
+}
     
 \newbibmacro*{year+labelyear}{%
   \iffieldundef{year}{%
     \iffieldundef{pubstate}{\let\bbx at lasthash\undefined}{%
      \usebibmacro{date:labelyear+extrayear}%
-     \if at marginyear%
-     \iffieldequals{pubstate}{\bbx at lasthash}{}{%
-      \printtext{\marginpar{\small\plmarginyear{\bibsentence\printfield{pubstate}}}}%
+     \savefield{pubstate}{\bbx at lasthash}%
+     \clearfield{pubstate}%
      }%
-     \fi
-      \savefield{pubstate}{\bbx at lasthash}%
-      \clearfield{pubstate}%
-     }
     }{%
      \usebibmacro{date:labelyear+extrayear}%
-     \if at marginyear%
-     \iffieldequals{labelyear}{\bbx at lasthash}{}{%
-      \printtext{\marginpar{\small\plmarginyear{\bibsentence\printfield{labelyear}}}}%
-     }%
-     \fi
      \savefield{labelyear}{\bbx at lasthash}%
      \clearfield{year}%
-    }}
+    }%
+}
 
 \newbibmacro*{rauthor/label}{%
   \ifnameundef{author}

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx	2017-04-12 21:07:31 UTC (rev 43764)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx	2017-04-12 21:08:34 UTC (rev 43765)
@@ -26,8 +26,8 @@
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\def\bpl at version{1.6}
-\def\bpl at rdate{2017/04/02}
+\def\bpl at version{1.7}
+\def\bpl at rdate{2017/04/12}
 
 \ProvidesFile{publist.cbx}[\bpl at rdate\space v.\bpl at version\space
                            biblatex citation style (JSP)]



More information about the tex-live-commits mailing list