summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx35
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx23
2 files changed, 58 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx b/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx
new file mode 100644
index 00000000000..41bc38b71cc
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx
@@ -0,0 +1,35 @@
+%% 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
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% 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/12 v1.0.0 biblatex bibliography style (MR)]
+
+\ifdef{\biblatexmultipledm@bibstyle}
+ {\RequireBibliographyStyle{\biblatexmultipledm@bibstyle}}
+ {\RequireBibliographyStyle{verbose}}
+
+\RequirePackage{xpatch}
+
+\xapptobibmacro{series+number}{\usebibmacro{subseries+subnumber}}{}{}%Patch the standard bibmacro series+number
+
+\newbibmacro{subseries+subnumber}{%A default subseries+subnumber style
+ \setunit *{\subseriesseparator}%
+ \printfield{subseries}%
+ \setunit *{\addspace}%
+ \printfield{subnumber}%
+ \newunit%
+}
+
+\newcommand{\subseriesseparator}{\addspace---\addspace}
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx b/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx
new file mode 100644
index 00000000000..bbf4ed7a41e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx
@@ -0,0 +1,23 @@
+%% 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
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Maïeul Rouquette
+% This work consists of the files subseries.dbx, subseries.bbx
+\ProvidesFile{subseries.dbx}
+[2015/12/05 v1.0.0 biblatex bibliography style (MR)]
+
+\DeclareDatamodelFields[type=field,datatype=literal]{%
+ subnumber,%
+ subseries,%
+}
+\DeclareDatamodelFields[type=field,datatype=literal,label=true]{shortsubseries}
+\endinput \ No newline at end of file