From a6cc994cac0b51b5b31a4d77813af2671085ceef Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 10 Jun 2016 21:44:57 +0000 Subject: biblatex-realauthor (10jun16) git-svn-id: svn://tug.org/texlive/trunk@41340 c570f23f-e606-0410-a88d-b1316a301751 --- .../documentation/biblatex-realauthor.pdf | Bin 70700 -> 71224 bytes .../documentation/biblatex-realauthor.tex | 12 +++-- .../documentation/example-realauthor.pdf | Bin 17980 -> 17958 bytes .../tex/latex/biblatex-realauthor/realauthor.bbx | 58 ++++++++++++++------- .../tex/latex/biblatex-realauthor/realauthor.dbx | 2 +- 5 files changed, 49 insertions(+), 23 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf index d0e845b99cd..dbef8981e76 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf and b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf differ diff --git a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex index d6cf3363a70..041484aa316 100644 --- a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex +++ b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex @@ -20,8 +20,8 @@ subtitle={New data field}, email={maieul maieul 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 @@ All issues can be submitted, in French or English, in the GitHub issues page\foo \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}. diff --git a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdf b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdf index 7acd9511bbd..bfa13170e8f 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdf and b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdf differ diff --git a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx index 840a0fca242..9babae7a7a7 100644 --- a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx @@ -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@bibstyle} {\RequireBibliographyStyle{\biblatexmultipledm@bibstyle}} @@ -81,33 +81,36 @@ \usebibmacro{name:andothers}}} % Patching some standard bibmacros -%% For the drivers +\newcommand{\realauthor@failpatch}[1]{\PackageError{realauthor}{Fail to patch `#1` bibmacro}{}} + \xapptobibmacro{author}{% \ifnameundef{author}{}{% \ifnameundef{realauthor}{}{\addspace\nopunct}% }% \printnames{realauthor}% {}% -}{}{} +} + {} + {\realauthor@failpatch{author}} \xpatchbibmacro{author/editor+others} {not test {\ifnameundef{author}}} {not (test {\ifnameundef{author}} and test {\ifnameundef{realauthor}})} {} - {} + {\realauthor@failpatch{author/editor+others}} \xpatchbibmacro{author/translator+others} {not test {\ifnameundef{author}}} {not (test {\ifnameundef{author}} and test {\ifnameundef{realauthor}})} {} - {} + {\realauthor@failpatch{author/translator+others}} \xpatchbibmacro{author/editor+others/translator+others} {not test {\ifnameundef{author}}} {not (test {\ifnameundef{author}} and test {\ifnameundef{realauthor}})} {} - {} + {\realauthor@failpatch{author/editor+others/translator+others}} \xpatchbibmacro{author/editor+others/translator+others} @@ -129,7 +132,8 @@ )% }% } -{}{} + {}% + {\realauthor@failpatch{author/editor+others/translator+others}} @@ -152,41 +156,49 @@ )% }% } -{}{} + {} + {\realauthor@failpatch{bbx:editor}} + \xpatchbibmacro{bbx:editor} {\clearname{editor}} {\clearname{editor} \clearname{realeditor} } -{}{} + {} + {\realauthor@failpatch{bbx:editor}} \xpatchbibmacro{bbx:editor} {\printnames{editor}}% {\printnames{editor}% \usebibmacro{printeditor}% }% -{}{} + {} + {\realauthor@failpatch{bbx:editor}} \xpatchbibmacro{byeditor} {\ifnameundef{editor}}% {\ifboolexpr{test{\ifnameundef{editor}} and test{\ifnameundef{realeditor}}}}% -{}{} + {} + {\realauthor@failpatch{byeditor}} \xpatchbibmacro{byeditor} {\printnames[byeditor]{editor}}% {\usebibmacro{printbyeditor+realeditor}} -{}{} + {} + {\realauthor@failpatch{byeditor}} \xpatchbibmacro{byeditor+others} {\ifnameundef{editor}}% {\ifboolexpr{test{\ifnameundef{editor}} and test{\ifnameundef{realeditor}}}}% -{}{} + {} + {\realauthor@failpatch{byeditor+others}} \xpatchbibmacro{byeditor+others} {\printnames[byeditor]{editor}}% {\usebibmacro{printbyeditor+realeditor}} -{}{} + {} + {\realauthor@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@macro@cite:name}{}{% + \xpatchbibmacro{cite:name}% + {\printnames{labelname}} + {\usebibmacro{realauthor:as:labelname}} + {} + {\realauthor@failpatch{cite:name}} + }% } % Sorting diff --git a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx index 4efbd208d05..be8eef66f17 100644 --- a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx @@ -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} -- cgit v1.2.3