diff options
author | Karl Berry <karl@freefriends.org> | 2016-10-24 21:29:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-10-24 21:29:13 +0000 |
commit | c0b98557de2db1fda9a5d53cecd1c6ea228b4954 (patch) | |
tree | f1e0a42d510c68bad69428ef46a9968c5e7d99ca /Master/texmf-dist/tex | |
parent | 11f2451c1797b36bccbafe688493259a27728911 (diff) |
biblatex-anonymous (24oct16)
git-svn-id: svn://tug.org/texlive/trunk@42343 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty | 35 |
1 files changed, 27 insertions, 8 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 20ba199e0ae..6a375cd7f1d 100644 --- a/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty +++ b/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty @@ -12,7 +12,7 @@ % % The Current Maintainer of this work is Maïeul Rouquette \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biblatex-anonymous}[2016/09/25 v2.4.0 Manage anonymous works with biblatex] +\ProvidesPackage{biblatex-anonymous}[2016/10/23 v2.5.0 Manage anonymous works with biblatex] %1. Just execute bibliographic option for some entries type \ExecuteBibliographyOptions[% @@ -47,13 +47,7 @@ \fi % 2. Sorting -\DeclareSortingScheme{anonymous}{ - \sort{ - \field{presort} - } - \sort[final]{ - \field{sortkey} - } +\def\bbx@anonymous@sorting{ \sort{ \field{sortname} \field{author} @@ -74,6 +68,31 @@ \literal{0000} } } +\DeclareSortingScheme{anonymous}{ + \sort{ + \field{presort} + } + \sort[final]{ + \field{sortkey} + } + \bbx@anonymous@sorting +} + +\AtEndPreamble{ + \ifundef{\bbx@manuscripts@sorting}{}% + { + \DeclareSortingScheme{anonymous+manuscripts}{ + \sort{ + \field{presort} + } + \sort[final]{ + \field{sortkey} + } + \bbx@anonymous@sorting + \bbx@manuscripts@sorting + } + } +} %%3.1 And so, prevent the spurious space in case of \cites command %%% Hack suggested on https://github.com/plk/biblatex/issues/285#issuecomment-226918950 |