| 1 |
\documentclass{ltxdockit}[2011/03/25] |
| 2 |
\usepackage{btxdockit} |
| 3 |
\usepackage{fontspec} |
| 4 |
\usepackage[mono=false]{libertine} |
| 5 |
\usepackage{microtype} |
| 6 |
\usepackage[american]{babel} |
| 7 |
\usepackage[strict]{csquotes} |
| 8 |
\setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono} |
| 9 |
\usepackage{shortvrb} |
| 10 |
\usepackage{pifont} |
| 11 |
\usepackage{minted} |
| 12 |
\usepackage{graphics} |
| 13 |
% Usefull commands |
| 14 |
\newcommand{\biblatex}{biblatex\xspace} |
| 15 |
\pretocmd{\bibfield}{\sloppy}{}{} |
| 16 |
\pretocmd{\bibtype}{\sloppy}{}{} |
| 17 |
\newcommand{\namebibstyle}[1]{\texttt{#1}} |
| 18 |
\usepackage[citestyle=verbose,bibstyle=morenames]{biblatex} |
| 19 |
\bibliography{example-maineditor.bib} |
| 20 |
\bibliography{example-bookineditor.bib} |
| 21 |
\bibliography{example-bookineditor-BookineditorFromEditor.bib} |
| 22 |
% Meta-datas |
| 23 |
\titlepage{% |
| 24 |
title={Biblatex-morenames}, |
| 25 |
subtitle={New fields of name type for standard biblatex entry types}, |
| 26 |
email={maieul <at> maieul <dot> net}, |
| 27 |
author={Maïeul Rouquette}, |
| 28 |
revision={1.3.1}, |
| 29 |
date={25/01/2017}, |
| 30 |
url={https://git.framasoft.org/maieul/biblatex-morenames}} |
| 31 |
|
| 32 |
|
| 33 |
\begin{document} |
| 34 |
|
| 35 |
\printtitlepage |
| 36 |
\tableofcontents |
| 37 |
|
| 38 |
\section{Introduction} |
| 39 |
|
| 40 |
\subsection{Aims} |
| 41 |
The \biblatex package provides multiple fields which can contain a list of names. For example : \bibfield{author}, \bibfield{editor}, \bibfield{translator} etc. |
| 42 |
However, this can be limited, especially in the case of humanities. |
| 43 |
|
| 44 |
For example, suppose a \bibtype{bookinbook} entry. Formally, \bibfield{editor} field means for this entry type, the editor of book which contains the edited book, and not the editor of the book which is contained in a other book. This package provides a \bibfield{bookineditor} field, for this need. |
| 45 |
|
| 46 |
An other example: suppose a \bibtype{collection} entry which is cross-referenced to the |
| 47 |
\bibtype{mvcollection} entry. The \bibfield{editor} entry means for the editor of the specific book, and not the editor for the collection of books. |
| 48 |
This package provides a \bibfield{maineditor} field, for this need. |
| 49 |
\subsection{Credits} |
| 50 |
|
| 51 |
This package was created for Maïeul Rouquette's phd dissertation\footnote{\url{http://apocryphes.hypothese.org}.} in 2016. It is licensed on the \emph{\LaTeX\ Project Public License}\footnote{\url{http://latex-project.org/lppl/lppl-1-3c.html}.}. |
| 52 |
|
| 53 |
|
| 54 |
All issues can be submitted, in French or English, in the Framagit issues page\footnote{\url{https://git.framasoft.org/maieul/biblatex-morenames/issues}.}. |
| 55 |
|
| 56 |
|
| 57 |
\section{Naming convention} |
| 58 |
This packages provides multiple new fields. Here are the explanation of the naming convention. |
| 59 |
\subsection{Keeping meaning} |
| 60 |
|
| 61 |
The meaning of already existing field does not change. So \bibfield{editor} means for the editor of a book, not for for editor of a part of a book. |
| 62 |
|
| 63 |
\subsection{New names are related to standard names} |
| 64 |
The name of the new field are all related to the name of existing field. So we created \bibfield{maineditor} and \bibfield{ineditor} field, but not, for example, \bibfield{inrevisor} field, because there is not standard \biblatex called \bibfield{revisor}. |
| 65 |
|
| 66 |
\subsection{Level of entry types and relation between entry types} |
| 67 |
|
| 68 |
|
| 69 |
\biblatex provides three levels of entry types: |
| 70 |
\begin{itemize} |
| 71 |
\item Multiple volume entry types, prefixed with \verb+mv+, as \bibtype{mvcollection}. |
| 72 |
\item Single volume entry, not prefixed, as \bibtype{collection}. |
| 73 |
\item Entry in a single volume, prefixed with \verb+in+ or \verb+bookin+, as \bibtype{incollection} and \bibtype{bookinbook}. |
| 74 |
\end{itemize} |
| 75 |
|
| 76 |
Each level can be related to the immediately higher level with the biber crossref's mechanism. |
| 77 |
|
| 78 |
|
| 79 |
Consequently: |
| 80 |
\begin{itemize} |
| 81 |
\item At a \enquote{multiple volume} level, the new fields are not prefixed. |
| 82 |
\item At a \enquote{single volume} level, the new fields are: |
| 83 |
\begin{itemize} |
| 84 |
\item Not prefixed when referring to the \enquote{single volume} itself. |
| 85 |
\item Prefixed with \verb+main+ when referring to the \enquote{multiple volume} entity. For example, a \bibfield{maineditor} field of a \bibfield{collection} entry means for the \bibfield{editor} field of the \bibfield{mvcollection} entry, for the editor of all the books, and not of the specific single books. |
| 86 |
\end{itemize} |
| 87 |
\item At a \enquote{in single volume} level the new fields are: |
| 88 |
\begin{itemize} |
| 89 |
\item Prefixed with a \verb+main+ when referring to the \enquote{multiple volume} entity. |
| 90 |
\item Prefixed with a \verb+book+ when referring to the \enquote{single volume entity}. |
| 91 |
\item Prefixed with a \verb+in+ or a \verb+bookin+ when referring to the \enquote{in single volume} entity itself. |
| 92 |
\end{itemize} |
| 93 |
\end{itemize} |
| 94 |
|
| 95 |
\textbf{In general, the best way to made no mistake is to use the biber's nested crossref mechanism. A \bibtype{incollection} entry must have a \bibfield{crossref} field referring to the \bibtype{collection} entry, which must have a \bibfield{crossref} field referring to the \bibtype{mvcollection} entry.} |
| 96 |
|
| 97 |
\section{What does the package provide?} |
| 98 |
|
| 99 |
The package provides: |
| 100 |
\begin{itemize} |
| 101 |
\item New fields' declaration. Notes that not all the possible new fields made possible by the name convention are not available. If you want new field, please open a new issue with a example of use.\footnote{\url{https://git.framasoft.org/maieul/biblatex-morenames/issues}.} |
| 102 |
\item Inheritance's mechanism for these fields. |
| 103 |
\item Integration of the fields in the standard bibliography styles of biblatex. |
| 104 |
\end{itemize} |
| 105 |
|
| 106 |
It does not provides any integration to not standard bibliography styles of biblatex which are not based on the \verb+standard.bbx+ style. |
| 107 |
To know if the new field can be automatically integrated to the standard bibliography's style, look on your .log files. If the \verb+standard.bbx+ file is loaded, it should be ok. |
| 108 |
|
| 109 |
\section{Loading package} |
| 110 |
As the package defines new fields, you must load it as \verb+bibstyle+ option of \biblatex package. |
| 111 |
|
| 112 |
\begin{minted}{latex} |
| 113 |
\usepackage[citestyle=youcitationstyle,bibstyle=morenames]{biblatex} |
| 114 |
\end{minted} |
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
Note that the \emph{morenames} bibliography's style automatically loads \emph{verbose} bibliography's style, which means it is compatible with all the \emph{verbose-xxx} and \emph{authortitle-xxx} bibliography's styles of \biblatex, because all of them are identical to the \emph{verbose} \textbf{bibliography style}. |
| 119 |
|
| 120 |
In any case, you can choose your own \textbf{citation style}. |
| 121 |
|
| 122 |
If you need to use this package with package which also requires loading \emph{via} the \verb+bibstyle+ option, as for example biblatex-manuscript-philology, just use the biblatex-multiple-dm package, in the following way: |
| 123 |
|
| 124 |
\begin{minted}{latex} |
| 125 |
\usepackage[tools={morenames,manuscripts},bibstyle=verbose]{biblatex-multiple-dm} |
| 126 |
\usepackage[citestyle=numeric,bibstyle=multiple-dm]{biblatex} |
| 127 |
\end{minted} |
| 128 |
|
| 129 |
If you want to use this package with \emph{alphabetic-xxx} or \emph{numeric-xx} bibliography style, also use the \emph{biblatex-multiple-dm} package, changing the \verb+bibstyle+ option. |
| 130 |
|
| 131 |
\begin{minted}{latex} |
| 132 |
\usepackage[tools={morenames},bibstyle=numeric]{biblatex-multiple-dm} |
| 133 |
\usepackage[citestyle=verbose,bibstyle=multiple-dm]{biblatex} |
| 134 |
\end{minted} |
| 135 |
\section{The new fields} |
| 136 |
|
| 137 |
\subsection{\bibfield{maineditor}} |
| 138 |
|
| 139 |
\subsubsection{Meaning} |
| 140 |
\begin{itemize} |
| 141 |
\item For a \bibtype{collection} or a \bibtype{incollection} entry, means the editor of the \bibtype{mvcollection} entry. |
| 142 |
\item For a \bibtype{proceedings} or a \bibtype{inproceedings} entry, means the editor of the \bibtype{mvproceedings}. |
| 143 |
\item For a \bibtype{reference} or a \bibtype{inreference} entry, means the editor of the \bibtype{mvreference}. |
| 144 |
\end{itemize} |
| 145 |
|
| 146 |
|
| 147 |
\subsubsection{.bib example} |
| 148 |
|
| 149 |
\inputminted[breaklines]{latex}{example-maineditor.bib} |
| 150 |
\subsubsection{Fields inheritance} |
| 151 |
The graph~\ref{example-maineditor} shows the fields inheritance. |
| 152 |
|
| 153 |
\begin{figure} |
| 154 |
\centering |
| 155 |
\includegraphics[height=0.99\textheight]{example-maineditor.pdf} |
| 156 |
\label{example-maineditor} |
| 157 |
\caption{Inheritance related to the \bibtype{maineditor} field} |
| 158 |
\end{figure} |
| 159 |
\subsubsection{Output example} |
| 160 |
|
| 161 |
\begin{quotation} |
| 162 |
\cite{HistoireduChristianisme} |
| 163 |
|
| 164 |
\cite{Pietri1998} |
| 165 |
|
| 166 |
\cite{Maraval1998} |
| 167 |
\end{quotation} |
| 168 |
|
| 169 |
\subsection{\bibfield{ineditor} and \bibfield{bookineditor}} |
| 170 |
\subsubsection{Meaning} |
| 171 |
For a \bibtype{article} or a \bibtype{inbook} entry, \bibfield{ineditor} means the editor of the single contribution, while \bibfield{editor} means the editor of the global volume. |
| 172 |
|
| 173 |
|
| 174 |
For a \bibtype{bookinbook}, \bibfield{bookineditor} means the editor of the (ancient) edited book, while \bibfield{editor} means the editor of the global volume. |
| 175 |
|
| 176 |
The \bibtype{ineditor} or the \bibfield{bookineditor} field is typeset immediately after the title of the subentry, while the \bibtype{editor} field is typeset after the title of the main entry. |
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
Notes that if the value of \bibtype{bookineditor} or \bibfield{ineditor} field is equal to the \bibfield{editor} field, this last one is not printed. |
| 182 |
|
| 183 |
There is two modes of inheritance for these fields: the default one and the optional one. |
| 184 |
|
| 185 |
\subsubsection{Default inheritance mode} |
| 186 |
|
| 187 |
With the default inheritance mode, the \bibtype{bookineditor} field of the subentry is never inherited from the main entry. |
| 188 |
|
| 189 |
|
| 190 |
\paragraph{.bib example} |
| 191 |
|
| 192 |
\inputminted[breaklines]{latex}{example-bookineditor.bib} |
| 193 |
|
| 194 |
\paragraph{Fields inheritance} |
| 195 |
|
| 196 |
The graph~\ref{example-bookineditor} shows the fields inheritance. |
| 197 |
|
| 198 |
\begin{figure} |
| 199 |
\centering |
| 200 |
\includegraphics[height=0.99\textheight]{example-bookineditor.pdf} |
| 201 |
\label{example-bookineditor} |
| 202 |
\caption{Inheritance related to the \bibtype{bookineditor} field, default setting} |
| 203 |
\end{figure} |
| 204 |
|
| 205 |
|
| 206 |
\paragraph{Output example} |
| 207 |
|
| 208 |
\begin{quotation} |
| 209 |
\cite{BHG226} |
| 210 |
|
| 211 |
\cite{BHG225} |
| 212 |
\end{quotation} |
| 213 |
\subsubsection{Optional inheritance} |
| 214 |
|
| 215 |
With the optional inheritance, the \bibfield{bookineditor} or \bibfield{ineditor} field of the subentry is inherited from the \bibfield{editor} field of the main entry, except if the subentrty has already a \bibfield{bookineditor} or \bibfield{ineditor} field. |
| 216 |
|
| 217 |
|
| 218 |
To enable this feature for the \bibfield{bookineditor} field, just add in your preamble, after loading biblatex, the following line: |
| 219 |
\begin{minted}{latex} |
| 220 |
\toggletrue{BookineditorFromEditor} |
| 221 |
\end{minted} |
| 222 |
|
| 223 |
To enable this feature for the \bibfield{ineditor} field, just add in your preamble, after loading biblatex, the following line: |
| 224 |
\begin{minted}{latex} |
| 225 |
\toggletrue{IneditorFromEditor} |
| 226 |
\end{minted} |
| 227 |
|
| 228 |
You can disable these features for specific subentry using \verb+noinherit=bookineditor+ or \verb`noinherit=ineditor` in the \bibfield{options} field of this subentry. |
| 229 |
|
| 230 |
\paragraph{.bib example} |
| 231 |
|
| 232 |
\inputminted[breaklines]{latex}{example-bookineditor-BookineditorFromEditor.bib} |
| 233 |
|
| 234 |
\paragraph{Fields inheritance} |
| 235 |
|
| 236 |
The graph~\ref{example-bookineditor-BookineditorFromEditor} shows the fields inheritance. |
| 237 |
|
| 238 |
\begin{figure} |
| 239 |
\centering |
| 240 |
\includegraphics[height=0.99\textheight]{example-bookineditor-BookineditorFromEditor.pdf} |
| 241 |
\label{example-bookineditor-BookineditorFromEditor} |
| 242 |
\caption{Inheritance related to the \bibtype{bookineditor} field with optional inheritance} |
| 243 |
\end{figure} |
| 244 |
|
| 245 |
|
| 246 |
\paragraph{Output example} |
| 247 |
|
| 248 |
\begin{quotation} |
| 249 |
\cite{BHG226a} |
| 250 |
|
| 251 |
\cite{BHG225a} |
| 252 |
\end{quotation} |
| 253 |
\section{Change history} |
| 254 |
\begin{changelog} |
| 255 |
|
| 256 |
|
| 257 |
\begin{release}{1.3.1}{2017-01-25} |
| 258 |
\item Fix spurious space when a book have nore author, nore editor. |
| 259 |
\end{release} |
| 260 |
|
| 261 |
\begin{release}{1.3.0a}{2016-11-26} |
| 262 |
\item Fix typo in handbook. |
| 263 |
\end{release} |
| 264 |
|
| 265 |
\begin{release}{1.3.0}{2016-11-23} |
| 266 |
\item Add \verb+noinherit=bookineditor+ and \verb+noinherit=ineditor+ options for individual volume. |
| 267 |
\end{release} |
| 268 |
|
| 269 |
\begin{release}{1.2.0}{2016-09-08} |
| 270 |
\item If the \bibfield{bookineditor} or \bibfield{ineditor} field is equal to the\bibfield{editor} field, the last one is not printed. |
| 271 |
\item Add two options to make \bibfield{bookineditor} or \bibfield{ineditor} to be inherited from \bibfield{editor} field. |
| 272 |
\end{release} |
| 273 |
|
| 274 |
\begin{release}{1.1.1}{2016-09-07} |
| 275 |
\item Don't define again \verb+bybookineditor+ macro if already defined by \emph{biblatex-bookinother}. |
| 276 |
\end{release} |
| 277 |
|
| 278 |
|
| 279 |
\begin{release}{1.1.0}{2016-06-07} |
| 280 |
\item Add error message to know more quickly break compatibility with new releases of biblatex. |
| 281 |
\end{release} |
| 282 |
|
| 283 |
\begin{release}{1.0.0}{2016-04-06} |
| 284 |
\item First public release. |
| 285 |
\end{release} |
| 286 |
\end{changelog} |
| 287 |
\end{document} |