summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-12 22:37:48 +0000
committerKarl Berry <karl@freefriends.org>2015-05-12 22:37:48 +0000
commit282aba5292e7064912f8be31ce942ea9ea4a44ab (patch)
tree0f5590e2e76f0f2beba9cd39a5b93214c0b20061 /Master/texmf-dist/tex/latex
parent798a00f49ea498ec77e2bc560317007b0315dea8 (diff)
biblatex-subseries (12may15)
git-svn-id: svn://tug.org/texlive/trunk@37359 c570f23f-e606-0410-a88d-b1316a301751
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