| 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 |
\setminted{breaklines} |
| 13 |
% Usefull commands |
| 14 |
\newcommand{\biblatex}{biblatex\xspace} |
| 15 |
\pretocmd{\bibfield}{\sloppy}{}{} |
| 16 |
\pretocmd{\bibtype}{\sloppy}{}{} |
| 17 |
\newcommand{\namebibstyle}[1]{\texttt{#1}} |
| 18 |
% Meta-datas |
| 19 |
\titlepage{% |
| 20 |
title={Description of real authors with biblatex}, |
| 21 |
subtitle={New data field}, |
| 22 |
email={maieul <at> maieul <dot> net}, |
| 23 |
author={Maïeul Rouquette}, |
| 24 |
revision={2.7.1a}, |
| 25 |
date={19/11/2017}, |
| 26 |
url={https://github.com/maieul/biblatex-realauthor}} |
| 27 |
|
| 28 |
% biblatex |
| 29 |
\usepackage[bibstyle=realauthor,citestyle=verbose]{biblatex} |
| 30 |
\addbibresource{example-realauthor.bib} |
| 31 |
|
| 32 |
\begin{document} |
| 33 |
|
| 34 |
\printtitlepage |
| 35 |
\tableofcontents |
| 36 |
\section{Introduction} |
| 37 |
|
| 38 |
The standard biblatex fields allow to describe the author of a work, with the so called \bibfield{authors} field. However, some works are published without name, or with pseudonyme, but the scholars know the real author. This package adds a new field \bibfield{realauthor}, to specify the knew real author. |
| 39 |
|
| 40 |
It also add a new field \bibfield{realeditor}, to specify the knew real editor. |
| 41 |
|
| 42 |
\section{Basic use} |
| 43 |
|
| 44 |
\subsection{Requirement} |
| 45 |
|
| 46 |
The packages require \biblatex~3.5 or later. |
| 47 |
|
| 48 |
\subsection{The .bib file} |
| 49 |
Basically, you just have to add the real author / editor name in the field \bibfield{realauthor} / \bibfield{realdeditor}, like in the following examples: |
| 50 |
|
| 51 |
\inputminted{tex}{example-realauthor.bib} |
| 52 |
|
| 53 |
\subsection{Loading of the \biblatex package} |
| 54 |
|
| 55 |
When loading the \biblatex package, use the \namebibstyle{realauthor} bibstyle, which is based on the \namebibstyle{verbose} bibstyle: |
| 56 |
|
| 57 |
\begin{minted}{latex} |
| 58 |
\usepackage[citestyle=verbose,bibstyle=realauthor]{biblatex} |
| 59 |
\end{minted} |
| 60 |
|
| 61 |
Not that the package patches some bibmacro. |
| 62 |
If you redefine them, don't forget the patches\footnote{We suppose that, if you redefine them, you could understand the packages.}. |
| 63 |
Here the list of macro patched: |
| 64 |
\begin{itemize} |
| 65 |
\item author; |
| 66 |
\item author/editor+others; |
| 67 |
\item author/translator+others; |
| 68 |
\item author/editor+others/translator+others; |
| 69 |
\item bbx:editor; |
| 70 |
\item byeditor; |
| 71 |
\item byeditor+others; |
| 72 |
\item cite:name (patched at the beginning of the document); |
| 73 |
\end{itemize} |
| 74 |
|
| 75 |
\subsection{Example of result} |
| 76 |
|
| 77 |
By default, the real author name is printed in brackets, with an equal, between fine nonbreak spaces, when a pseudonym is also use: |
| 78 |
\begin{quotation} |
| 79 |
\cite{LeClerc1686} |
| 80 |
|
| 81 |
\cite{Simon1686} |
| 82 |
\end{quotation} |
| 83 |
|
| 84 |
\subsection{\bibfield{Labelname} field}\label{field:label} |
| 85 |
|
| 86 |
This package, since version 2.0.0, declares the \bibfield{realauthor} name as the \bibfield{labelname}, if a \bibfield{author} name is not defined. |
| 87 |
|
| 88 |
That implies this field is use for: |
| 89 |
\begin{itemize} |
| 90 |
\item Sorting. |
| 91 |
\item \emph{ibid} / \emph{op. cit} abreviation. |
| 92 |
\end{itemize} |
| 93 |
|
| 94 |
Note that this field is not affected by \verb+useauthor+ option, but it is by \verb+userealauthor+ option \secref{userealauthor}. |
| 95 |
|
| 96 |
Used in a bibliography macro or driver, \cmd{ifuserealauthor}\mprm{true}\mprm{false} expands to \prm{true} if the \opt{userealauthor} option is enabled (either globally or for the current entry), and \prm{false} otherwise. |
| 97 |
|
| 98 |
There is also a \verb+userealeditor+ option and a \cmd{ifuserealeditor} field, similar, but for \bibfield{realeditor} field. |
| 99 |
|
| 100 |
\subsection{Sorting}\label{sorting} |
| 101 |
|
| 102 |
The default sorting schemes \verb+nty+ is problematic, because it doesn't consider the \bibfield{realauthor} field as a name. That is why the package provides two sorting scheme: |
| 103 |
|
| 104 |
\begin{itemize} |
| 105 |
\item \verb|realauthor|, which but considers the \bibfield{realauthor} and \bibfield{realeditor} fields to sort list by authors' name. If an entry has both \bibfield{realauthor} and \bibfield{author}, only the \bibfield{author} field will be used. |
| 106 |
\item \verb|anonymous+realauthor|, which push the anonymous texts at the beginning of the list (as the \verb+anonymous+ sorting of the \emph{biblatex-anonymous+} package), but considers the \bibfield{realauthor} and \bibfield{realeditor} fields to sort list by authors' name (as the \verb+realauthor+ sorting). |
| 107 |
\end{itemize} |
| 108 |
See the example file to have an illustration. |
| 109 |
|
| 110 |
|
| 111 |
+The package also provides \verb-realauthor+manuscripts- and \verb-realauthor+anonymous+manuscripts- sorting schemes to use in combination with the \emph{biblatex-manuscripts-philology} package (please read handbook of this package for more details about it). |
| 112 |
|
| 113 |
\section{Disable realauthor use}\label{userealauthor} |
| 114 |
|
| 115 |
The package, or rather \biblatex, defines an \verb+userealauthor+ option, which can be settable on a per-entry basis in the \bibfield{options} field, or by entrytype, using \cmd{ExecuteBibliographyOptions}, or globally, when loading \biblatex. |
| 116 |
|
| 117 |
This option, when set to false: |
| 118 |
\begin{itemize} |
| 119 |
\item Disable use of \bibfield{realauthor} as label name. |
| 120 |
\item Disable use of \bibfield{realauthor} for sorting. |
| 121 |
\item Before the version 2.4.0. with the default style, and contrary to the \verb+useauthor+ option, also disabled printing of \bibfield{realauthor}. From version 2.4.0, if you don't want to print the field, don't use the package\ldots. |
| 122 |
\end{itemize} |
| 123 |
|
| 124 |
The same is true for \opt{realeditor} option for the \bibfield{realeditor}. |
| 125 |
|
| 126 |
\section{Customization} |
| 127 |
|
| 128 |
You can redefine the \cmd{mkrealauthor} command to change the way the real author name is printed. Default value is: |
| 129 |
|
| 130 |
\begin{minted}{tex} |
| 131 |
\newcommand{\mkrealauthor}[1]{\mkbibbrackets{#1}} |
| 132 |
\end{minted} |
| 133 |
|
| 134 |
You can also redefine the \cmd{realauthorequalsign} command to change the sign before the real author name when a pseudonym is also used. Default value is: |
| 135 |
|
| 136 |
\begin{minted}{tex} |
| 137 |
\newcommand{\realauthorequalsign}{\addnbthinspace=\addnbthinspace} |
| 138 |
\end{minted} |
| 139 |
|
| 140 |
There are also \cmd{mkrealeditor}, which by default calls \cmd{mkrealauthor}, and \cmd{realeditorequalsign}, which by default calls \cmd{realauthorequalsign}. |
| 141 |
|
| 142 |
For more customization, you have to redefine the macros defined in \file{realauthor.bbx}. |
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
\section{Use with biblatex-manuscripts-philology} |
| 148 |
|
| 149 |
To use this package with the features of \verb+biblatex-manuscripts-philology+, you must use the package \verb+biblatex-multiple-dm+. |
| 150 |
|
| 151 |
\section{Credits} |
| 152 |
|
| 153 |
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}.}. |
| 154 |
|
| 155 |
|
| 156 |
All issues can be submitted, in French or English, in the GitHub issues page\footnote{\url{https://github.com/maieul/biblatex-realauthor/issues}.}. |
| 157 |
|
| 158 |
\section{Change history} |
| 159 |
|
| 160 |
\begin{changelog} |
| 161 |
|
| 162 |
\begin{release}{2.7.1a}{2017-11-19} |
| 163 |
\item Add compatibility with \biblatex~3.8 |
| 164 |
\end{release} |
| 165 |
|
| 166 |
\begin{release}{2.7.0}{2016-10-23} |
| 167 |
\item New sorting schemes. |
| 168 |
\end{release} |
| 169 |
|
| 170 |
\begin{release}{2.6.0}{2016-09-08} |
| 171 |
\item Take account of \bibfield{realauthor} to manage dash in bibliography. |
| 172 |
\item Require \biblatex\ 3.5. |
| 173 |
\end{release} |
| 174 |
|
| 175 |
\begin{release}{2.5.0}{2016-06-09} |
| 176 |
\item Add error message to know more quickly break compatibility with new releases of biblatex. |
| 177 |
\end{release} |
| 178 |
|
| 179 |
\begin{release}{2.4.1}{2016-06-07} |
| 180 |
\item Fix bug with abreviatted form of citation. |
| 181 |
\end{release} |
| 182 |
\begin{release}{2.4.0}{2016-06-05} |
| 183 |
\item Add \bibfield{realeditor}. |
| 184 |
\item Restores normal behavior of \opt{userealeauthor}. |
| 185 |
\item Takes account of the real names when choosing to print a dash in the final bibliography. |
| 186 |
\item Requires biblatex 3.3. |
| 187 |
\end{release} |
| 188 |
|
| 189 |
\begin{release}{2.3.0}{2016-03-11} |
| 190 |
\item Compatibility with biblatex 3.3. |
| 191 |
\end{release} |
| 192 |
|
| 193 |
\begin{release}{2.2.1}{2016-02-28} |
| 194 |
\item Correct description of datamodel specification about which entrytype can have a \bibfield{realauthor} field. |
| 195 |
\end{release} |
| 196 |
|
| 197 |
|
| 198 |
\begin{release}{2.2.0}{2015-04-26} |
| 199 |
\item Add new \verb|userealauthor| option. Require \biblatex~3.0. \see{userealauthor} |
| 200 |
\item Provides good file version in the \cs{ProvidesFile} command. |
| 201 |
\end{release} |
| 202 |
|
| 203 |
\begin{release}{2.1.0}{2014-10-30} |
| 204 |
\item Add new \verb|realauthor| sorting scheme. \see{sorting} |
| 205 |
\end{release} |
| 206 |
|
| 207 |
|
| 208 |
\begin{release}{2.0.0}{2014-10-27} |
| 209 |
\item Print the realauthor name in bracket when cited in a abreviated form. |
| 210 |
\item Define \bibfield{realauthor} as \bibfield{labelname}. \see{field:label} |
| 211 |
\end{release} |
| 212 |
|
| 213 |
\begin{release}{1.1.0}{2014-10-09} |
| 214 |
\item In a bibliographical list, print the last name before the first name of a real author, except if a \bibfield{author} is defined. |
| 215 |
\item Add \verb|anonymous+realauthor| sorting scheme. \see{sorting} |
| 216 |
\item Compatibility with \bibtype{article} entry. |
| 217 |
\end{release} |
| 218 |
|
| 219 |
\begin{release}{1.0.0}{2014-06-25} |
| 220 |
\item First public release. |
| 221 |
\end{release} |
| 222 |
\end{changelog} |
| 223 |
\end{document} |