texlive[42343] Master/texmf-dist: biblatex-anonymous (24oct16)

commits+karl at tug.org commits+karl at tug.org
Mon Oct 24 23:29:14 CEST 2016


Revision: 42343
          http://tug.org/svn/texlive?view=revision&revision=42343
Author:   karl
Date:     2016-10-24 23:29:13 +0200 (Mon, 24 Oct 2016)
Log Message:
-----------
biblatex-anonymous (24oct16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.tex
    trunk/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.tex	2016-10-24 21:29:01 UTC (rev 42342)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.tex	2016-10-24 21:29:13 UTC (rev 42343)
@@ -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 @@
 
 \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 @@
 
 \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.

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty	2016-10-24 21:29:01 UTC (rev 42342)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty	2016-10-24 21:29:13 UTC (rev 42343)
@@ -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,14 +47,8 @@
 \fi
 % 2. Sorting
 
-\DeclareSortingScheme{anonymous}{
+\def\bbx at anonymous@sorting{
   \sort{
-    \field{presort}
-  }
-  \sort[final]{
-    \field{sortkey}
-  }
-  \sort{
     \field{sortname}
     \field{author}
     \field{editor}
@@ -74,7 +68,32 @@
     \literal{0000}
   }
 }
+\DeclareSortingScheme{anonymous}{
+  \sort{
+    \field{presort}
+  }
+  \sort[final]{
+    \field{sortkey}
+  }
+ \bbx at anonymous@sorting
+}
 
+\AtEndPreamble{
+  \ifundef{\bbx at manuscripts@sorting}{}%
+    {
+    \DeclareSortingScheme{anonymous+manuscripts}{
+      \sort{
+        \field{presort}
+      }
+      \sort[final]{
+        \field{sortkey}
+      }   
+      \bbx at anonymous@sorting
+      \bbx at 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
 \AtEveryCitekey{\iffieldundef{prenote}{\blx at initunit}{}}



More information about the tex-live-commits mailing list