texlive[41340] Master/texmf-dist: biblatex-realauthor (10jun16)

commits+karl at tug.org commits+karl at tug.org
Fri Jun 10 23:44:57 CEST 2016


Revision: 41340
          http://tug.org/svn/texlive?view=revision&revision=41340
Author:   karl
Date:     2016-06-10 23:44:57 +0200 (Fri, 10 Jun 2016)
Log Message:
-----------
biblatex-realauthor (10jun16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex
    trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdf
    trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
    trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx

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

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex	2016-06-10 21:44:45 UTC (rev 41339)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex	2016-06-10 21:44:57 UTC (rev 41340)
@@ -20,8 +20,8 @@
 	subtitle={New data field},
 	email={maieul <at> maieul <dot> net},
 	author={Maïeul Rouquette},
-	revision={2.4.0},
-	date={06/05/2016},
+	revision={2.5.0},
+	date={09/06/2016},
 	url={https://github.com/maieul/biblatex-realauthor}}
 
 % biblatex
@@ -154,7 +154,13 @@
 \section{Change history}
 
 \begin{changelog}
-
+\begin{release}{2.5.0}{2016-06-09}
+  \item Add error message to know more quickly break compatibility with new releases of biblatex.
+\end{release}
+  
+  \begin{release}{2.4.1}{2016-06-07}
+    \item Fix bug with abreviatted form of citation.
+  \end{release}
   \begin{release}{2.4.0}{2016-06-05}
     \item Adds \bibfield{realeditor}.
     \item Restores normal behavior of \opt{userealeditor}.

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

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx	2016-06-10 21:44:45 UTC (rev 41339)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx	2016-06-10 21:44:57 UTC (rev 41340)
@@ -13,7 +13,7 @@
 % The Current Maintainer of this work is Maïeul Rouquette
 % This work consists of the files realauthor.dbx, realauthor.bbx
 \ProvidesFile{realauthor.dbx}
-[2016/06/05 v2.4.0 biblatex bibliography style (MR)]
+[2016/06/09 v2.5.0 biblatex bibliography style (MR)]
 
 \ifdef{\biblatexmultipledm at bibstyle}
 	{\RequireBibliographyStyle{\biblatexmultipledm at bibstyle}}
@@ -81,7 +81,8 @@
   \usebibmacro{name:andothers}}} 
  
 % Patching some standard bibmacros
-%% For the drivers
+\newcommand{\realauthor at failpatch}[1]{\PackageError{realauthor}{Fail to patch `#1` bibmacro}{}}
+
 \xapptobibmacro{author}{%
 	  \ifnameundef{author}{}{%
 		  \ifnameundef{realauthor}{}{\addspace\nopunct}%
@@ -88,13 +89,15 @@
 	  }%
 	  \printnames{realauthor}%
 	{}%
-}{}{}
+}
+  {}
+  {\realauthor at failpatch{author}}
 
 \xpatchbibmacro{author/editor+others}
 	{not test {\ifnameundef{author}}}
 	{not (test {\ifnameundef{author}} and test {\ifnameundef{realauthor}})}
 	{}
-	{}
+	{\realauthor at failpatch{author/editor+others}}
 
 
 \xpatchbibmacro{author/translator+others}
@@ -101,13 +104,13 @@
 	{not test {\ifnameundef{author}}}
 	{not (test {\ifnameundef{author}} and test {\ifnameundef{realauthor}})}
 	{}
-	{}
+	{\realauthor at failpatch{author/translator+others}}
 
 \xpatchbibmacro{author/editor+others/translator+others}
 	{not test {\ifnameundef{author}}}
 	{not (test {\ifnameundef{author}} and test {\ifnameundef{realauthor}})}
 	{}
-	{}
+	{\realauthor at failpatch{author/editor+others/translator+others}}
 
 
 \xpatchbibmacro{author/editor+others/translator+others}
@@ -129,7 +132,8 @@
     )%
     }%
   }
-{}{}
+  {}%
+  {\realauthor at failpatch{author/editor+others/translator+others}}
 
 
 
@@ -152,13 +156,16 @@
     )%
     }%
   }
-{}{}
+  {}
+  {\realauthor at failpatch{bbx:editor}}
+
 \xpatchbibmacro{bbx:editor}
   {\clearname{editor}}
   {\clearname{editor}
    \clearname{realeditor}
   }
-{}{}
+  {}
+  {\realauthor at failpatch{bbx:editor}}
 
 \xpatchbibmacro{bbx:editor}
   {\printnames{editor}}%
@@ -165,28 +172,33 @@
   {\printnames{editor}%
   \usebibmacro{printeditor}%
   }%
-{}{}
+  {}
+  {\realauthor at failpatch{bbx:editor}}
 
 
 \xpatchbibmacro{byeditor}
  {\ifnameundef{editor}}%
  {\ifboolexpr{test{\ifnameundef{editor}} and test{\ifnameundef{realeditor}}}}%
-{}{}
+ {}
+ {\realauthor at failpatch{byeditor}}
 
 \xpatchbibmacro{byeditor}
   {\printnames[byeditor]{editor}}%
   {\usebibmacro{printbyeditor+realeditor}}
-{}{}
+  {}
+  {\realauthor at failpatch{byeditor}}
 
 \xpatchbibmacro{byeditor+others}
  {\ifnameundef{editor}}%
  {\ifboolexpr{test{\ifnameundef{editor}} and test{\ifnameundef{realeditor}}}}%
-{}{}
+ {}
+ {\realauthor at failpatch{byeditor+others}}
 
 \xpatchbibmacro{byeditor+others}
   {\printnames[byeditor]{editor}}%
   {\usebibmacro{printbyeditor+realeditor}}
-{}{}
+  {}
+  {\realauthor at failpatch{byeditor+others}}
 
 \newbibmacro{printbyeditor+realeditor}{%
   \printnames[byeditor]{editor}%
@@ -218,17 +230,25 @@
     {%
       \printnames{labelname}%
       \ifnamesequal{labelname}{author}{%
-        \ifnameundef{realauthor}{}{\addspace\nopunct}%
-        \printnames{realauthor}%
+        \ifnameundef{realauthor}%
+          {}%
+          {\addspace\nopunct\printnames{realauthor}}%
       }{}% 
       \ifnamesequal{labelname}{editor}{%
-        \ifnameundef{realeditor}{}{\addspace\nopunct}%
-        \printnames{realeditor}%
+        \ifnameundef{realeditor}%
+        {}%
+        {\addspace\nopunct\printnames{realeditor}}%
       }{}%
     }%
 }
 \AtBeginDocument{%
-  \xpatchbibmacro{cite:name}{\printnames{labelname}}{\usebibmacro{realauthor:as:labelname}}{}{}
+  \ifcsvoid{abx at macro@cite:name}{}{%
+    \xpatchbibmacro{cite:name}%
+      {\printnames{labelname}}
+      {\usebibmacro{realauthor:as:labelname}}
+      {}
+      {\realauthor at failpatch{cite:name}}
+ }%
 }
 
 % Sorting

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx	2016-06-10 21:44:45 UTC (rev 41339)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx	2016-06-10 21:44:57 UTC (rev 41340)
@@ -13,7 +13,7 @@
 % The Current Maintainer of this work is Maïeul Rouquette
 % This work consists of the files realauthor.dbx, realauthor.bbx
 \ProvidesFile{realauthor.dbx}
-[2016/06/05 v2.4.0 biblatex bibliography style (MR)]
+[2016/06/09 v2.5.0 biblatex bibliography style (MR)]
 
 \DeclareDatamodelFields[type=list,datatype=name]{realauthor,realeditor}
 \DeclareDatamodelEntryfields{realauthor,realeditor}



More information about the tex-live-commits mailing list