Commit dd77698c authored by Maïeul Rouquette's avatar Maïeul Rouquette

document, changelog, fix #1

parent f99c4b74
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
subtitle={New data fields}, subtitle={New data fields},
email={maieul <at> maieul <dot> net}, email={maieul <at> maieul <dot> net},
author={Maïeul Rouquette}, author={Maïeul Rouquette},
revision={1.1.0}, revision={1.2.0},
date={07/06/2016}, date={24/02/2017},
url={https://git.framasoft.org/maieul/biblatex-subseries}} url={https://git.framasoft.org/maieul/biblatex-subseries}}
% biblatex % biblatex
...@@ -38,18 +38,24 @@ ...@@ -38,18 +38,24 @@
\tableofcontents \tableofcontents
\section{Introduction} \section{Introduction}
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 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}} 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}.}
Sometime, there is also subsubseries, and number for subsubseries.
This package provides new fields to manage such system. This package provides new fields to manage such system.
\section{Basic use} \section{Basic use}
\subsection{The .bib file} \subsection{The .bib file}
You can use three more fields: You can use six additional fields:
\begin{fieldlist} \begin{fieldlist}
\fielditem{shortsubseries}{literal\LFMark} The shorthand form of the subseries. Not used by default styles. \fielditem{shortsubseries}{literal\LFMark} The shorthand form of the subseries. Not used by default styles.
\fielditem{subnumber}{literal} The number of the book inside the subseries. \fielditem{subnumber}{literal} The number of the book inside the subseries.
\fielditem{subseries}{literal} The subseries. \fielditem{subseries}{literal} The subseries.
\fielditem{shortsubsubseries}{literal\LFMark} The shorthand form of the subsubseries. Not used by default styles.
\fielditem{subsubnumber}{literal} The number of the book inside the subsubseries.
\fielditem{subsubseries}{literal} The subsubseries.
\end{fieldlist} \end{fieldlist}
...@@ -74,7 +80,9 @@ Here, an example of result with the default setting: ...@@ -74,7 +80,9 @@ Here, an example of result with the default setting:
\section{Customization} \section{Customization}
You can redefine \cmd{subseriesseparator} to change the separator between series and subseries. You can redefine \cmd{subseriesseparator} to change the separator between series and subseries.
If you want to customize the \verb+series+number+ bibmacro, do not forget to call the \verb|subseries+subnumber| bibmacro inside. You can also redefine it. If you want to customize the \verb+series+number+ bibmacro, do not forget to call the \verb|subseries+subnumber| bibmacro inside.
You can also redefine this macro, and redefine the \verb+subsubseries+subsubnumber+ bibmacro which is called by the \verb|subseries+subnumber| bibmacro.
\section{Use with other packages which provide new fields} \section{Use with other packages which provide new fields}
...@@ -92,6 +100,10 @@ All issues can be submitted, in French or English, in the Framagit issues page.\ ...@@ -92,6 +100,10 @@ All issues can be submitted, in French or English, in the Framagit issues page.\
\begin{changelog} \begin{changelog}
\begin{release}{1.2.0}{2017-02-24}
\item Add \bibfield{subsubseries}, \bibfield{subsubnumber} and \bibfield{shortsubsubseries} fields.
\end{release}
\begin{release}{1.1.0}{2016-06-07} \begin{release}{1.1.0}{2016-06-07}
\item Add error message to know more quickly break compatibility with new releases of biblatex. \item Add error message to know more quickly break compatibility with new releases of biblatex.
\end{release} \end{release}
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
% The Current Maintainer of this work is Maïeul Rouquette % The Current Maintainer of this work is Maïeul Rouquette
% This work consists of the files subseries.dbx, subseries.bbx % This work consists of the files subseries.dbx, subseries.bbx
\ProvidesFile{subseries.dbx} \ProvidesFile{subseries.dbx}
[2017/02/24 v1.1.0 biblatex bibliography style (MR)]% [2017/02/24 v1.2.0 biblatex bibliography style (MR)]%
\ifdef{\biblatexmultipledm@bibstyle} \ifdef{\biblatexmultipledm@bibstyle}
{\RequireBibliographyStyle{\biblatexmultipledm@bibstyle}} {\RequireBibliographyStyle{\biblatexmultipledm@bibstyle}}
......
%% Copyright 2014 Maïeul Rouquette %% Copyright 2014-… Maïeul Rouquette
% %
% This work may be distributed and/or modified under the % This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3 % conditions of the LaTeX Project Public License, either version 1.3
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
% The Current Maintainer of this work is Maïeul Rouquette % The Current Maintainer of this work is Maïeul Rouquette
% This work consists of the files subseries.dbx, subseries.bbx % This work consists of the files subseries.dbx, subseries.bbx
\ProvidesFile{subseries.dbx} \ProvidesFile{subseries.dbx}
[2017/02/24 v1.1.0 biblatex bibliography style (MR)] [2017/02/24 v1.2.0 biblatex bibliography style (MR)]
\DeclareDatamodelFields[type=field,datatype=literal]{% \DeclareDatamodelFields[type=field,datatype=literal]{%
subnumber,% subnumber,%
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment