summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-anonymous/biblatex-anonymous.tex
blob: 8da9ce65d2647290d6fe308446dde5ed19969bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
\documentclass{ltxdockit}[2011/03/25]
\usepackage{btxdockit}
\usepackage{fontspec}
\usepackage[mono=false]{libertine}
\usepackage{microtype}
\usepackage[main=english,french,latin]{babel}
\usepackage[strict]{csquotes}
\setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono}
\usepackage{shortvrb}
\usepackage{pifont}
\usepackage{minted}
% Usefull commands
\newcommand{\biblatex}{biblatex\xspace}
\pretocmd{\bibfield}{\sloppy}{}{}
\pretocmd{\bibtype}{\sloppy}{}{}
\newcommand{\namebibstyle}[1]{\texttt{#1}}
% Meta-datas
\titlepage{%
	title={Managing anonymous works with biblatex},
	subtitle={},
	email={maieul <at> maieul <dot> net},
	author={Maïeul Rouquette},
	revision={2.6.2},
	date={02/09/2018},
	url={https://github.com/maieul/biblatex-anonymous}}

\begin{document}


\printtitlepage
\tableofcontents

\section{Introduction}

In some scholar fields, like history or philology, we have to work with anonymous works. 

This package provides facility to manage them with \biblatex, with citation and bibliography style of the \namebibstyle{verbose} family.
It is compatible with the biblatex-morenames and biblatex-realeditor package. 

\section{What does the package do?}

This package does those things for  \bibtype{book}, \bibtype{bookinbook}, \bibtype{bookinarticle}, \bibtype{bookinincollection}, \bibtype{mvbook}, \bibtype{inbook}:
\begin{enumerate}
	

	\item Changing label name to author only, never editor.
	\item Providing a sorting scheme to put all anonymous works at the beginning of a bibliography. This sorting scheme is derivated from \verb+nyt+ scheme.
	\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.
 	\item Fixing \biblatex\ bug with  \expandafter\cs\expandafter{\prm{xx}cites} command when using anonymous works.\footnote{\url{https://github.com/plk/biblatex/issues/285}.}
		
\end{enumerate}

\section{Using the package}

\subsection{Loading}
You must load the package after \biblatex package:
\begin{minted}{latex}
\usepackage[…]{biblatex}
\usepackage{biblatex-anonymous}
\end{minted}

\subsection{Sorting with anonymous scheme}

If you want your bibliographies to have all anonymous works at the begining, you can pass option \verb+sorting=anonymous+:

\begin{itemize}
	\item To \biblatex package, to apply it to all bibliographies.
	\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+ 
option in the \bibfield{options} field. However, in many case, such entry should be a \bibtype{proceedings} or \bibtype{collection}. 

\subsection{Anonymous works edited on not anonymous books}\label{noinherit}

Sometime, an anonymous \bibtype{bookinbook} is printed in a NOT anonymous book.
If you use cross-referencing system, you would like to NOT inherit the \bibfield{name} from the main entry in the subentry.

\textbf{From \biblatex~3.4.0}, you can use entry option \opt{noinherit=author} as in the following example:

\begin{minted}{latex}
@book{mainentry,
  Author = {Name},
  …
}
@book{subentry,
  Crossref = {mainentry},
  Options = {noinherit=author},
  …
}
\end{minted}
\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}.}. 

Its code was explained before (in French) on Maïeul Rouquette website\footnote{\url{http://geekographie.maieul.net/Gestions-des-oeuvres-anonymes}.}.

All issues can be submitted, in French or English, in the GitHub issues page\footnote{\url{https://github.com/maieul/biblatex-multiple-anonymous/issues}.}.

\section{Change history}

\begin{changelog}

\begin{release}{2.6.2}{2018-09-02}
  \item Fix \verb+anonymous+manuscripts+ sorting scheme.
\end{release}
\begin{release}{2.6.1}{2017-11-19}
	\item Improve compatibility with biblatex 3.8.
\end{release}

\begin{release}{2.6.0}{2017-01-24}
	\item Add compatibility with the biblatex-morenames package.
\end{release}

\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.
\end{release}

\begin{release}{2.3.0}{2016-09-08}
  \item Add compatibility with \bibtype{bookininbook} and \bibtype{bookininarticle} of \emph{biblatex-bookinbook} package.
\end{release}

\begin{release}{2.2.3}{2016-06-27}
  \item Fix bug added on v.~2.2.2 when using prenote argument.
 \end{release}

\begin{release}{2.2.2a}{2016-06-21}
  \item Fix typo in handbook.
 \end{release}

\begin{release}{2.2.2}{2016-06-18}
  \item Fix \biblatex\ bug with  \expandafter\cs\expandafter{\prm{xx}cites} command when using anonymous works.
  \item Fix bug added by version 2.0.0 when not using the \emph{biblatex-realauthor} package.
 \end{release}
\begin{release}{2.2.1}{2016-06-06}
 \item Fix compatibility with biblatex < 3.4, broken by v. 2.2.0
\end{release}
\begin{release}{2.2.0}{2016-06-05}
  \item Takes account of the \bibfield{realeditor} field of the \emph{biblatex-realauthor} package~2.4.0 and later.
  \item Adds tools to prevent inherinting name from main entry \see{noinherit}.
\end{release}

\begin{release}{2.1.0}{2014-10-30}
\item Coming back, and improve, the \verb+anonymous+ sorting scheme.
\end{release}

\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 Compatibility with \bibtype{bookinincollection} type.
\end{release}

\begin{release}{1.0.0}{2014-07-23}
\item First public release.
\end{release}
\end{changelog}
\end{document}