texlive[43330] Master/texmf-dist: biblatex-subseries (23feb17)
commits+karl at tug.org
commits+karl at tug.org
Fri Feb 24 23:17:16 CET 2017
Revision: 43330
http://tug.org/svn/texlive?view=revision&revision=43330
Author: karl
Date: 2017-02-24 23:17:16 +0100 (Fri, 24 Feb 2017)
Log Message:
-----------
biblatex-subseries (23feb17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.tex
trunk/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.tex 2017-02-24 22:17:02 UTC (rev 43329)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.tex 2017-02-24 22:17:16 UTC (rev 43330)
@@ -24,8 +24,8 @@
subtitle={New data fields},
email={maieul <at> maieul <dot> net},
author={Maïeul Rouquette},
- revision={1.1.0},
- date={07/06/2016},
+ revision={1.2.0},
+ date={24/02/2017},
url={https://git.framasoft.org/maieul/biblatex-subseries}}
% biblatex
@@ -38,12 +38,14 @@
\tableofcontents
\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.
\section{Basic use}
\subsection{The .bib file}
-You can use three more fields:
+You can use six additional fields:
\begin{fieldlist}
\fielditem{shortsubseries}{literal\LFMark} The shorthand form of the subseries. Not used by default styles.
@@ -50,6 +52,10 @@
\fielditem{subnumber}{literal} The number of the book inside 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}
@@ -72,11 +78,13 @@
\end{quotation}
\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. You can also redefine \cmd{subsubseriesseparator} to change the separator between subseries and subsubseries. By default, it is the same as \cmd{subseriesseparator}.
-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}
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+.
@@ -92,6 +100,10 @@
\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}
\item Add error message to know more quickly break compatibility with new releases of biblatex.
\end{release}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx 2017-02-24 22:17:02 UTC (rev 43329)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx 2017-02-24 22:17:16 UTC (rev 43330)
@@ -13,7 +13,7 @@
% The Current Maintainer of this work is Maïeul Rouquette
% This work consists of the files subseries.dbx, subseries.bbx
\ProvidesFile{subseries.dbx}
-[2016/06/07 v1.1.0 biblatex bibliography style (MR)]
+[2017/02/24 v1.2.0 biblatex bibliography style (MR)]%
\ifdef{\biblatexmultipledm at bibstyle}
{\RequireBibliographyStyle{\biblatexmultipledm at bibstyle}}
@@ -21,16 +21,32 @@
\RequirePackage{xpatch}
-\newcommand{\subseries at failtopatch}[1]{\PackageError{biblatex-subseries}{Unable to patch `#1` bibmacro}{}}
-\xapptobibmacro{series+number}{\usebibmacro{subseries+subnumber}}{}{}%Patch the standard bibmacro series+number
+\newcommand{\subseries at failtopatch}[1]{%
+ \PackageError{biblatex-subseries}{Unable to patch `#1` bibmacro}{}%
+}%
+%Patch the standard bibmacro series+number
+\xapptobibmacro{series+number}%
+ {\usebibmacro{subseries+subnumber}}%
+ {}%
+ {\subseries at failtopatch{series+number}}%
+
\newbibmacro{subseries+subnumber}{%A default subseries+subnumber style
- \setunit *{\subseriesseparator}%
+ \setunit*{\subseriesseparator}%
\printfield{subseries}%
- \setunit *{\addspace}%
+ \setunit*{\addspace}%
\printfield{subnumber}%
+ \usebibmacro{subsubseries+subsubnumber}%
\newunit%
}
-\newcommand{\subseriesseparator}{\addspace---\addspace}
+\newbibmacro{subsubseries+subsubnumber}{%
+ \setunit*{\subsubseriesseparator}%
+ \printfield{subsubseries}%
+ \setunit*{\addspace}%
+ \printfield{subsubnumber}%
+}%
+
+\newcommand{\subseriesseparator}{\addspace---\addspace}%
+\newcommand{\subsubseriesseparator}{\subseriesseparator}%
\endinput
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx 2017-02-24 22:17:02 UTC (rev 43329)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx 2017-02-24 22:17:16 UTC (rev 43330)
@@ -1,4 +1,4 @@
-%% Copyright 2014 Maïeul Rouquette
+%% Copyright 2014-… Maïeul Rouquette
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -13,11 +13,16 @@
% The Current Maintainer of this work is Maïeul Rouquette
% This work consists of the files subseries.dbx, subseries.bbx
\ProvidesFile{subseries.dbx}
-[2015/05/14 v1.0.0a biblatex bibliography style (MR)]
+[2017/02/24 v1.2.0 biblatex bibliography style (MR)]
\DeclareDatamodelFields[type=field,datatype=literal]{%
subnumber,%
subseries,%
+ subsubnumber,%
+ subsubseries,%
}
-\DeclareDatamodelFields[type=field,datatype=literal,label=true]{shortsubseries}
+\DeclareDatamodelFields[type=field,datatype=literal,label=true]{%
+ shortsubseries,%
+ shortsubsubseries%
+}
\endinput
\ No newline at end of file
More information about the tex-live-commits
mailing list