summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty31
1 files changed, 10 insertions, 21 deletions
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 9719da65668..cbcd78500ff 100644
--- a/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty
+++ b/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty
@@ -12,9 +12,12 @@
%
% The Current Maintainer of this work is Maïeul Rouquette
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biblatex-anonymous}[2014/06/17 v1.0.0 Manage anonymous works with biblatex]
-\RequirePackage{xpatch}
-% 1. Sorting
+\ProvidesPackage{biblatex-anonymous}[2014/10/27 v2.0.0 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}
+
+% 2. Sorting, kept for backward compatibility
\DeclareSortingScheme{anonymous}{
\sort{
@@ -43,24 +46,10 @@
}
}
-%2. Labelname
-
-\DeclareLabelname[book, bookinbook, bookinarticle,mvbook,inbook]{\field{author}}
-
-%3. Book : print only the author name
-
-\xpatchbibdriver{book}{\usebibmacro{author/editor+others/translator+others}}{\usebibmacro{author}}{}{}
-
-% 4. French: directeur devient éditeur
+%%3.1 And so, prevent the spurious space in case of \cites command
\DefineBibliographyStrings{french}{%
- byeditor = \ifboolexpr{(%
- test {\iffieldequalstr{entrytype}{bookinbook}}%
- or test {\iffieldequalstr{entrytype}{inbook}}%
- or test {\iffieldequalstr{entrytype}{book}}%
- or test {\iffieldequalstr{entrytype}{mvbook}}%
- or test {\iffieldequalstr{entrytype}{bookinarticle}}%
- )}%
- {{éd\adddot}}{{dir\adddotspace}},
+ byeditor = %
+ {\ifuseeditor{dir\adddotspace}{éd\adddot}},
}
-\endinput \ No newline at end of file
+\endinput