From a82c1b341ea2f1522ad9ea40b90e204c1ef789fe Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 26 Apr 2015 21:24:05 +0000 Subject: biblatex-realauthor (26apr15) git-svn-id: svn://tug.org/texlive/trunk@37062 c570f23f-e606-0410-a88d-b1316a301751 --- .../documentation/biblatex-realauthor.pdf | Bin 64626 -> 68015 bytes .../documentation/biblatex-realauthor.tex | 27 ++++++++++++++++++--- .../biblatex-realauthor/documentation/example.pdf | Bin 8819 -> 8821 bytes .../biblatex-realauthor/documentation/example.tex | 9 ++++--- .../tex/latex/biblatex-realauthor/realauthor.bbx | 12 +++++---- .../tex/latex/biblatex-realauthor/realauthor.dbx | 2 +- 6 files changed, 38 insertions(+), 12 deletions(-) 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 c1db19b27aa..8449993a87c 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 cfdb8a52b3a..65581a76075 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.1.0}, - date={30/10/2014}, + revision={2.2.0}, + date={26/04/2015}, url={https://github.com/maieul/biblatex-realauthor}} % biblatex @@ -72,7 +72,9 @@ That implies this field is use for: \item \emph{ibid} / \emph{op. cit} abreviation. \end{itemize} -Note that this field is not affected by \verb+useauthor+ option. +Note that this field is not affected by \verb+useauthor+ option, but it is by \verb+userealauthor+ option \secref{userealauthor}. + +Used in a bibliography macro or driver, \cmd{ifuserealauthor}\mprm{true}\mprm{false} expands to \prm{true} if the \opt{userealauthor} option is enabled (either globally or for the current entry), and \prm{false} otherwise. \subsection{Sorting}\label{sorting} @@ -83,6 +85,19 @@ The default sorting schemes \verb+nty+ is problematic, because it doesn't consid \item \verb|anonymous+realauthor|, which push the anonymous texts at the begininng of the list (as the \verb+anonymous+ sorting of the \emph{biblatex-anonymous+} package), but considers the \bibfield{realauthor} field to sort list by authors' name (as the \verb+realauthor+ sorting). \end{itemize} See the example file to have an illustration. + +\section{Disable realauthor use}\label{userealauthor} + +The package, or rather \biblatex, defines an \verb+userealauthor+ option, which can be settable on a per-entry basis in the \bibfield{options} field, or by entrytype, using \cmd{ExecuteBibliographyOptions}, or globally, when loading \biblatex. + +This option, when set to false: +\begin{itemize} + \item Disable use of \bibfield{realauthor} as label name. + \item Disable use of \bibfield{realauthor} for sorting. + \item With the default style, and contrary to the \verb+useauthor+ option, also disable printing of \bibfield{realauthor}. +\end{itemize} + + \section{Customization} You can redefine the \cmd{mkrealauthor} command to change the way the real author name is printed. Default value is: @@ -101,6 +116,7 @@ For more customization, you have to redefine the macros defined in \file{realaut + \section{Use with biblatex-manuscripts-philology} To use this package with the features of \verb+biblatex-manuscripts-philology+, you must use the package \verb+biblatex-multiple-dm+. @@ -116,6 +132,11 @@ All issues can be submitted, in French or English, in the GitHub issues page\foo \begin{changelog} + \begin{release}{2.2.0}{2015-04-26} + \item Add new \verb|userealauthor| option. Require \biblatex~3.0. \see{userealauthor} + \item Provide good file version in the \cs{ProvidesFile} command. + \end{release} + \begin{release}{2.1.0}{2014-10-30} \item Add new \verb|realauthor| scheme. \see{sorting} \end{release} diff --git a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.pdf b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.pdf index 131697ff198..6a6f6452991 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.pdf and b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.pdf differ diff --git a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.tex b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.tex index c3a68ba5ec7..72680ae6e51 100644 --- a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.tex +++ b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.tex @@ -20,11 +20,14 @@ \cite{noauthor-norealauthor2} -\printbibliography[sorting=nty,title={Default sorting (nty)}] +\newrefcontext[sorting=nty] +\printbibliography[title={Default sorting (nty)}] -\printbibliography[sorting=realauthor,title={realauthor sorting}] +\newrefcontext[sorting=realauthor] +\printbibliography[title={realauthor sorting}] -\printbibliography[sorting=anonymous+realauthor,title={anonymous+realauthor sorting}] +\newrefcontext[sorting=anonymous+realauthor] +\printbibliography[title={anonymous+realauthor sorting}] \end{document} diff --git a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx index 24f7c33eb3a..5b81185ec00 100644 --- a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx @@ -12,8 +12,8 @@ % % The Current Maintainer of this work is Maïeul Rouquette % This work consists of the files realauthor.dbx, realauthor.bbx -\ProvidesFile{realauthor.bbx} -[\abx@bbxid] +\ProvidesFile{realauthor.dbx} +[2015/94/26 v2.2.0 biblatex bibliography style (MR)] \ifdef{\biblatexmultipledm@bibstyle} {\RequireBibliographyStyle{\biblatexmultipledm@bibstyle}} @@ -61,10 +61,12 @@ % Patching some standard bibmacros %% For the drivers \xapptobibmacro{author}{% - \ifnameundef{author}{}{% + \ifuserealauthor{% + \ifnameundef{author}{}{% \ifnameundef{realauthor}{}{\addspace\nopunct}% - }% - \printnames{realauthor}% + }% + \printnames{realauthor}% + }{}% }{}{} \xpatchbibmacro{author/editor+others} diff --git a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx index 9f8e3bc5ecb..5a6aa286fe6 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} -[\abx@bbxid] +[2015/94/26 v2.2.0 biblatex bibliography style (MR)] \DeclareDatamodelFields[type=list,datatype=name]{realauthor} \DeclareDatamodelEntryfields[manuscript]{realauthor} -- cgit v1.2.3