From 282aba5292e7064912f8be31ce942ea9ea4a44ab Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 12 May 2015 22:37:48 +0000 Subject: biblatex-subseries (12may15) git-svn-id: svn://tug.org/texlive/trunk@37359 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/biblatex-subseries/subseries.bbx | 35 ++++++++++++++++++++++ .../tex/latex/biblatex-subseries/subseries.dbx | 23 ++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx create mode 100644 Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx (limited to 'Master/texmf-dist/tex') 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 -- cgit v1.2.3