| 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 |
% Usefull commands |
| 13 |
\newcommand{\biblatex}{biblatex\xspace} |
| 14 |
\pretocmd{\bibfield}{\sloppy}{}{} |
| 15 |
\pretocmd{\bibtype}{\sloppy}{}{} |
| 16 |
\newcommand{\namebibstyle}[1]{\texttt{#1}} |
| 17 |
\newrobustcmd*{\LF}{% |
| 18 |
\textcolor{spot}{\margnotefont Label field}} |
| 19 |
\newrobustcmd*{\LFMark}{% |
| 20 |
\leavevmode\marginpar{\LF}} |
| 21 |
% Meta-datas |
| 22 |
\titlepage{% |
| 23 |
title={Description of subseries with biblatex}, |
| 24 |
subtitle={New data fields}, |
| 25 |
email={maieul <at> maieul <dot> net}, |
| 26 |
author={Maïeul Rouquette}, |
| 27 |
revision={1.2.0}, |
| 28 |
date={24/02/2017}, |
| 29 |
url={https://git.framasoft.org/maieul/biblatex-subseries}} |
| 30 |
|
| 31 |
% biblatex |
| 32 |
\usepackage[bibstyle=subseries,citestyle=verbose]{biblatex} |
| 33 |
\addbibresource{biblatex-subseries-example.bib} |
| 34 |
|
| 35 |
\begin{document} |
| 36 |
|
| 37 |
\printtitlepage |
| 38 |
\tableofcontents |
| 39 |
\section{Introduction} |
| 40 |
|
| 41 |
Some publishers organize book series with subseries. In this case, two numbers are associated with one volume: the number inside the series and the number inside the subseries. That is the case, for example, of the series \emph{\foreignlanguage{latin}{Corpus Scriptorium Christianorum Orientalium}} published by Peeters.\footnote{\url{http://www.peeters-leuven.be/search_serie_book.asp?nr=94}.} |
| 42 |
Sometime, there is also subsubseries, and number for subsubseries. |
| 43 |
|
| 44 |
This package provides new fields to manage such system. |
| 45 |
\section{Basic use} |
| 46 |
|
| 47 |
\subsection{The .bib file} |
| 48 |
You can use six additional fields: |
| 49 |
\begin{fieldlist} |
| 50 |
|
| 51 |
\fielditem{shortsubseries}{literal\LFMark} The shorthand form of the subseries. Not used by default styles. |
| 52 |
\fielditem{subnumber}{literal} The number of the book inside the subseries. |
| 53 |
\fielditem{subseries}{literal} The subseries. |
| 54 |
|
| 55 |
\fielditem{shortsubsubseries}{literal\LFMark} The shorthand form of the subsubseries. Not used by default styles. |
| 56 |
\fielditem{subsubnumber}{literal} The number of the book inside the subsubseries. |
| 57 |
\fielditem{subsubseries}{literal} The subsubseries. |
| 58 |
|
| 59 |
\end{fieldlist} |
| 60 |
|
| 61 |
|
| 62 |
\inputminted{tex}{biblatex-subseries-example.bib} |
| 63 |
|
| 64 |
|
| 65 |
\subsection{Loading of the \biblatex package} |
| 66 |
|
| 67 |
When loading the \biblatex package, use the \namebibstyle{subseries} bibstyle, which is based on the \namebibstyle{verbose} bibstyle: |
| 68 |
|
| 69 |
\begin{minted}{latex} |
| 70 |
\usepackage[citestyle=verbose,bibstyle=subseries]{biblatex} |
| 71 |
\end{minted} |
| 72 |
|
| 73 |
\subsection{Example of result} |
| 74 |
|
| 75 |
Here, an example of result with the default setting: |
| 76 |
\begin{quotation} |
| 77 |
\cite{CSCO545} |
| 78 |
\end{quotation} |
| 79 |
|
| 80 |
\section{Customization} |
| 81 |
You can redefine \cmd{subseriesseparator} to change the separator between series and subseries. You can also redefine \cmd{subsubseriesseparator} to change the separator between subseries and subsubseries. By default, it is the same as \cmd{subseriesseparator}. |
| 82 |
|
| 83 |
If you want to customize the \verb+series+number+ bibmacro, do not forget to call the \verb|subseries+subnumber| bibmacro inside. |
| 84 |
|
| 85 |
You can also redefine this macro, and redefine the \verb+subsubseries+subsubnumber+ bibmacro which is called by the \verb|subseries+subnumber| bibmacro. |
| 86 |
|
| 87 |
|
| 88 |
\section{Use with other packages which provide new fields} |
| 89 |
|
| 90 |
To use this package with the features of others which provide new fields, like \verb+biblatex-manuscripts-philology+, you must use the package \verb+biblatex-multiple-dm+. |
| 91 |
|
| 92 |
\section{Credits} |
| 93 |
|
| 94 |
This package was created for Maïeul Rouquette's phd dissertation\footnote{\url{http://apocryphes.hypothese.org}.} in 2015. It is licensed on the \emph{\LaTeX\ Project Public License}\footnote{\url{http://latex-project.org/lppl/lppl-1-3c.html}.}. |
| 95 |
|
| 96 |
|
| 97 |
All issues can be submitted, in French or English, in the Framagit issues page.\footnote{\url{https://git.framasoft.org/maieul/biblatex-subseries/issues}.} |
| 98 |
|
| 99 |
\section{Change history} |
| 100 |
|
| 101 |
\begin{changelog} |
| 102 |
|
| 103 |
\begin{release}{1.2.0}{2017-02-24} |
| 104 |
\item Add \bibfield{subsubseries}, \bibfield{subsubnumber} and \bibfield{shortsubsubseries} fields. |
| 105 |
\end{release} |
| 106 |
|
| 107 |
\begin{release}{1.1.0}{2016-06-07} |
| 108 |
\item Add error message to know more quickly break compatibility with new releases of biblatex. |
| 109 |
\end{release} |
| 110 |
|
| 111 |
\begin{release}{1.0.0a}{2015-05-14} |
| 112 |
\item Fix typo in handbook. |
| 113 |
\end{release} |
| 114 |
|
| 115 |
\begin{release}{1.0.0}{2015-05-12} |
| 116 |
\item First public release. |
| 117 |
\end{release} |
| 118 |
\end{changelog} |
| 119 |
\end{document} |