diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.pdf | bin | 49906 -> 50579 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-anonymous/biblatex-anonymous.tex | 37 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-anonymous/makefile | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-anonymous/biblatex-anonymous.sty | 31 |
4 files changed, 31 insertions, 41 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 950d136a466..81a3fd7059c 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 a0ca493c669..ce4601d9857 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={1.0.0}, - date={02/07/2014}, + revision={2.0.0}, + date={27/10/2014}, url={https://github.com/maieul/biblatex-anonymous}} \begin{document} @@ -38,16 +38,12 @@ This package provides facility to manage them with \biblatex, with citation and \section{What does the package do?} -This package does those things: - +This package does those things for \bibtype{book}, \bibtype{bookinbook}, \bibtype{bookinarticle}, \bibtype{bookinincollection}, \bibtype{mvbook}, \bibtype{inbook}: \begin{enumerate} - \item Providing a sorting scheme to put all anonymous work at the begining of a bibliography. This sorting scheme is derivated from \verb+nyt+ scheme. - \item For \bibtype{book}, \bibtype{bookinbook}, \bibtype{bookinarticle}, \bibtype{mvbook}, \bibtype{inbook}: - \begin{itemize} - \item Changing label name to author only, never editor. - \item For French, changing \enquote{\selectlanguage{french}dir.} by \enquote{\selectlanguage{french}éd.} - \end{itemize} - \item For \bibtype{book}, printing only the author name before the title, and never the editor, even if the book is anonymous. If you need to print an editor name when a book has no author, you should use \bibtype{collection} or \bibtype{proceedings} Entry Type. + + \item Changing label name to author only, never editor. + \item For French, changing \enquote{\selectlanguage{french}dir.} by \enquote{\selectlanguage{french}éd.}. + \item Printing only the author name before the title, and never the editor, even if the book is anonymous. \end{enumerate} @@ -60,14 +56,14 @@ You must load the package after \biblatex package: \usepackage{biblatex-anonymous} \end{minted} -\subsection{Sorting with anonymous scheme} +\subsection{Sorting scheme} + +With this package, all anonymous works are printed before the works with author. The \verb+anonymous+ sorting scheme is kept only for backward compatibility. -If you want your bibliographies to have all anonymous works at the begining, you can pass option \verb+sorting=anonymous+: +\subsection{Making exceptions} -\begin{itemize} - \item To \biblatex package, to apply it to all bibliographies. - \item To \cs{printbibliography} command, to apply it to a single bibliography. -\end{itemize} +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}. \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}.}. @@ -81,8 +77,13 @@ All issues can be submitted, in French or English, in the GitHub issues page\foo \begin{changelog} +\begin{release}{2.0.0}{2014-10-27} +\item Use less complex code, and more \enquote{biblatex friendly} code to suppress editor and translator. +\item Suppress \verb+anonymous+ sorting, kept only for backward compatibility. +\item Compatibility with \bibtype{bookinincollection} type. +\end{release} -\begin{release}{1.0.0}{2014-07-023} +\begin{release}{1.0.0}{2014-07-23} \item First public release. \end{release} \end{changelog} diff --git a/Master/texmf-dist/doc/latex/biblatex-anonymous/makefile b/Master/texmf-dist/doc/latex/biblatex-anonymous/makefile index 248cf92bc13..1f945315a7d 100644 --- a/Master/texmf-dist/doc/latex/biblatex-anonymous/makefile +++ b/Master/texmf-dist/doc/latex/biblatex-anonymous/makefile @@ -5,8 +5,8 @@ dist: biblatex-anonymous.pdf @$(RM) ../biblatex-anonymous.zip rm -rf biblatex-anonymous mkdir biblatex-anonymous - cp $(FILES) biblatex-anonymous + ln $(FILES) biblatex-anonymous zip -r ../biblatex-anonymous.zip biblatex-anonymous clean: - @$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz*
\ No newline at end of file + @$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz* 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 |