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 | |
parent | 11f2451c1797b36bccbafe688493259a27728911 (diff) |
biblatex-anonymous (24oct16)
git-svn-id: svn://tug.org/texlive/trunk@42343 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf | bin | 58513 -> 59663 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.tex | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty | 35 |
3 files changed, 37 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf b/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf Binary files differindex b246a184843..e3301198415 100644 --- a/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf 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 cb9d2221a51..e443a5bf4bd 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 <at> maieul <dot> net}, author={Maïeul Rouquette}, - revision={2.4.0}, - date={25/09/2016}, + revision={2.5.0}, + date={23/10/2016}, url={https://github.com/maieul/biblatex-anonymous}} \begin{document} @@ -65,8 +65,10 @@ If you want your bibliographies to have all anonymous works at the begining, you \begin{itemize} \item To \biblatex package, to apply it to all bibliographies. - \item To \cs{printbibliography} command, to apply it to a single bibliography. + \item To an optional argument of a \cs{refcontext} environment, to apply it to a single bibliography. \end{itemize} + +The package also provides a \verb-anonymous+manuscripts- sorting scheme to use in combination with the \emph{biblatex-manuscripts-philology} package (please read handbook of this package for more details about it). \subsection{Making exceptions} 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+ @@ -102,6 +104,11 @@ All issues can be submitted, in French or English, in the GitHub issues page\foo \begin{changelog} + +\begin{release}{2.5.0}{2016-10-23} + \item Add \verb+anonymous+manuscripts+ sorting scheme. +\end{release} + \begin{release}{2.4.0}{2016-09-25} \item Also works for anonymous \bibtype{inreference}, \bibtype{bookinreference} and \bibtype{bookininreference}. \item Fix bug added by version 2.2.2 when using the \emph{biblatex-realauthor} package. 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 |