summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-10 23:20:53 +0000
committerKarl Berry <karl@freefriends.org>2016-06-10 23:20:53 +0000
commit00ceb7730c27509dc1c6f5fc5cd670cbea87786c (patch)
treeb759e00676d4b00417238ea190e75774e06cf88f /Master/texmf-dist/tex/latex
parent41f724b3302213df79b8bedd68983d9b7eae7b15 (diff)
biblatex-source-division (7jun16)
git-svn-id: svn://tug.org/texlive/trunk@41357 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty20
1 files changed, 14 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty b/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty
index c1d7a213b9d..135ee8f6c84 100644
--- a/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty
+++ b/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty
@@ -1,4 +1,4 @@
-%% Copyright 2013 Maïeul Rouquette
+%% Copyright 2013-… Maïeul Rouquette
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -15,7 +15,7 @@
% This work consists of the file biblatex-source-division.sty
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biblatex-source-division}[2015/07/07 v2.3.1 source division for biblatex]
+\ProvidesPackage{biblatex-source-division}[2016/06/07 v2.4.0 source division for biblatex]
\RequirePackage{xpatch}
% The options
@@ -88,10 +88,18 @@
}
% Insert source division in bibmacro for abreviated forms
+\newcommand{\sourcedivision@failtopatch}[1]{\PackageError{biblatex-source-division}{Fail to patch `#1` bibmacro}{}}
+
+\def\do#1{%
+ \ifcsvoid{abx@macro@#1}{}{%
+ \xapptobibmacro{#1}%
+ {\newunit\printfield{titleaddon}\printfield{maintitleaddon}}%
+ {}%
+ {\sourcedivision@failtopatch{#1}}%
+ }
+}
+
+\docsvlist{cite:ibid,cite:opcit,cite:short,cite:title}
-\xapptobibmacro{cite:ibid}{\newunit\printfield{titleaddon}\printfield{maintitleaddon}}{}{}
-\xapptobibmacro{cite:opcit}{\newunit\printfield{titleaddon}\printfield{maintitleaddon}}{}{}
-\xapptobibmacro{cite:short}{\newunit\printfield{titleaddon}\printfield{maintitleaddon}}{}{}
-\xapptobibmacro{cite:title}{\newunit\printfield{titleaddon}\printfield{maintitleaddon}}{}{}
\endinput \ No newline at end of file