From eb4289c0948631c7e94b75f1917b4cc218ed58a7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 11 Mar 2016 23:40:46 +0000 Subject: biblatex-realauthor (11mar16) git-svn-id: svn://tug.org/texlive/trunk@40005 c570f23f-e606-0410-a88d-b1316a301751 --- .../documentation/biblatex-realauthor.pdf | Bin 68165 -> 68796 bytes .../documentation/biblatex-realauthor.tex | 13 +++++++++++-- .../documentation/example-realauthor.bib | 6 +++--- .../documentation/example-realauthor.pdf | Bin 8819 -> 9458 bytes .../tex/latex/biblatex-realauthor/realauthor.bbx | 17 +++++++++-------- .../tex/latex/biblatex-realauthor/realauthor.dbx | 4 ++-- 6 files changed, 25 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist') 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 8aedd9f2d26..0a3750b3957 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 7b5e3b670b8..bafc76165ff 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.2.1}, - date={28/02/2016}, + revision={2.3.0}, + date={03/11/2016}, url={https://github.com/maieul/biblatex-realauthor}} % biblatex @@ -38,6 +38,10 @@ The standard biblatex fields allow to describe the author of a work, with the so \section{Basic use} +\subsection{Requirement} + +The packages require \biblatex~3.3 or later. + \subsection{The .bib file} Basically, you just have to add the real author name in the field \bibfield{realauthor}, like in the two following examples: @@ -131,6 +135,11 @@ All issues can be submitted, in French or English, in the GitHub issues page\foo \section{Change history} \begin{changelog} + + \begin{release}{2.3.0}{2016-03-11} + \item Compatibility with biblatex 3.3. + \end{release} + \begin{release}{2.2.1}{2016-02-28} \item Correct description of datamodel specification about which entrytype can have a \bibfield{realauthor} field. \end{release} diff --git a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.bib b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.bib index 9ffb7f95ab3..993de7fe25a 100644 --- a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.bib +++ b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.bib @@ -26,12 +26,12 @@ } @book{Author+realauthor, - Author = {Theauthor, Name}, - Realauthor= {Therealauthor, Name}, + Author = {Theauthor-Familyname, Given-name}, + Realauthor= {Therealauthor-Familyname, Given-Name}, Title = {That is a work with an author plus a real author}, } @book{Only-realauthor, - Realauthor= {Therealauthor, Name}, + Realauthor= {Therealauthor-Familyname, Given-Name}, Title = {Here a work with only a real author}, } 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 49bc337ffd1..2b421053138 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 bd2d1e05c1c..3f2bdaae653 100644 --- a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx @@ -1,4 +1,4 @@ -%% Copyright 2014 Maïeul Rouquette +%% Copyright 2014-… Maïeul Rouquette % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -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/02/28 v2.2.1 biblatex bibliography style (MR)] +[2016/03/11 v2.3.0 biblatex bibliography style (MR)] \ifdef{\biblatexmultipledm@bibstyle} {\RequireBibliographyStyle{\biblatexmultipledm@bibstyle}} @@ -45,15 +45,16 @@ % A format which could be overrided \DeclareNameFormat{realauthor}{% + \nameparts{#1}% \mkbibrealauthor{% \ifboolexpr{test {\ifbibliography} and test {\ifnameundef{author}}}% - {\iffirstinits% - {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}% - {\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}% + {\ifgiveninits% + {\usebibmacro{name:family-given}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}}% + {\usebibmacro{name:family-given}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}}% }% - {\iffirstinits% - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}}% - {\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}% + {\ifgiveninits% + {\usebibmacro{name:given-family}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}}% + {\usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}}% }% \usebibmacro{name:andothers}}} diff --git a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx index d6bd1b8f334..2673e66a6fa 100644 --- a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx @@ -1,4 +1,4 @@ -%% Copyright 2014 Maïeul Rouquette +%% Copyright 2014-… Maïeul Rouquette % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -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/28/02 v2.2.1 biblatex bibliography style (MR)] +[2016/03/11 v2.3.0 biblatex bibliography style (MR)] \DeclareDatamodelFields[type=list,datatype=name]{realauthor} \DeclareDatamodelEntryfields{realauthor} -- cgit v1.2.3