From c33cac2db6aa4544a9ba06bc2550633d33b0ea67 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 6 Jun 2016 22:57:03 +0000 Subject: biblatex-anonymous (5jun16) git-svn-id: svn://tug.org/texlive/trunk@41297 c570f23f-e606-0410-a88d-b1316a301751 --- .../biblatex-anonymous/biblatex-anonymous.pdf | Bin 50861 -> 54846 bytes .../biblatex-anonymous/biblatex-anonymous.tex | 30 +++++++++++++++++++-- .../biblatex-anonymous/biblatex-anonymous.sty | 14 ++++++++-- 3 files changed, 40 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf b/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf index 65e0e5655af..0a26ded6bd1 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf and b/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf differ diff --git a/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.tex b/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.tex index a633e21fc0f..f0e3fe5a58a 100644 --- a/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.tex +++ b/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.tex @@ -20,8 +20,8 @@ subtitle={}, email={maieul maieul net}, author={Maïeul Rouquette}, - revision={2.1.0}, - date={30/10/2014}, + revision={2.2.1}, + date={06/06/2016}, url={https://github.com/maieul/biblatex-anonymous}} \begin{document} @@ -70,6 +70,25 @@ If you want your bibliographies to have all anonymous works at the begining, you If you want to use the \bibfield{editor} or \bibfield{translator} for a entry concerned by this package (e.g. \bibtype{book}, \bibtype{bookinbook} etc.), you can use the \verb+useeditor=true+ or \verb+usetranslator=true+ option in the \bibfield{options} field. However, in many case, such entry should be a \bibtype{proceedings} or \bibtype{collection}. + +\subsection{Anonymous work edited on not anonymous books}\label{noinherit} + +Sometime, an anonymous \bibtype{bookinbook} is printed in a NOT anonymous work. +If you use cross-referencing system, you would like to NOT inherit the \bibfield{name} from the main entry in the subentry. + +\textbf{From \biblatex~3.4.0}, you can use entry option \opt{noinherit=noauthor} as in the following example: + +\begin{minted}{latex} +@book{mainentry, + Author = {Name}, + … +} +@book{subentry, + Crossref = {mainentry}, + Options = {noinherit=author}, + … +} +\end{minted} \section{Credits} This package was created for Maïeul Rouquette's phd dissertation\footnote{\url{http://apocryphes.hypothese.org}.} in 2014. It is licensed on the \emph{\LaTeX\ Project Public License}\footnote{\url{http://latex-project.org/lppl/lppl-1-3c.html}.}. @@ -82,6 +101,13 @@ All issues can be submitted, in French or English, in the GitHub issues page\foo \begin{changelog} +\begin{release}{2.2.1}{2015-06-06} + \item Fix compatibility with biblatex < 3.4, broken by v. 2.2.0 +\end{release} +\begin{release}{2.2.0}{2015-06-05} + \item Takes account of the \bibfield{realeditor} field of the \emph{biblatex-realauthor} package~2.4.0 and later. + \item Adds tools to prevent inherinting name from main entry \see{noinherit}. +\end{release} \begin{release}{2.1.0}{2014-10-30} \item Coming back, and improve, the \verb+anonymous+ sorting scheme. diff --git a/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty b/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty index 7d38c3310c2..76ea5b98409 100644 --- a/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty +++ b/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty @@ -12,10 +12,10 @@ % % The Current Maintainer of this work is Maïeul Rouquette \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biblatex-anonymous}[2014/10/30 v2.1.0 Manage anonymous works with biblatex] +\ProvidesPackage{biblatex-anonymous}[2016/06/06 v2.2.1 Manage anonymous works with biblatex] %1. Just execute bibliographic option for some entries type -\ExecuteBibliographyOptions[book, bookinbook, bookinarticle, bookinincollection, mvbook,inbook]{useeditor=false,usetranslator=false} +\ExecuteBibliographyOptions[book, bookinbook, bookinarticle, bookinincollection, mvbook,inbook]{useeditor=false,usetranslator=false,userealeditor=false} % 2. Sorting @@ -48,7 +48,17 @@ } %%3.1 And so, prevent the spurious space in case of \cites command +%%% Not for now, waiting from https://github.com/plk/biblatex/issues/285 +%4. Tools to prevent inhering author field (require biblatex > 3.4) +\ifdefined\DeclareDatafieldSet + + \DeclareDatafieldSet{author}{ + \member[field=author] + } + +\fi +%5. Language specific setting \DefineBibliographyStrings{french}{% byeditor = % {\ifuseeditor{dir\adddotspace}{éd\adddot}}, -- cgit v1.2.3