summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-02-20 23:41:34 +0000
committerKarl Berry <karl@freefriends.org>2016-02-20 23:41:34 +0000
commit96d5a1c4ed06b7fbfbba43fe27e862c59752d105 (patch)
tree3612ba41792676ea177000e00b2aa56ca89e13e0 /Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx
parent59ab4e92c272e5ed12b587fb2faadb14a7d31cec (diff)
droit-fr (20feb16)
git-svn-id: svn://tug.org/texlive/trunk@39802 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx29
1 files changed, 18 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx
index bfea69f914f..a71ce6807c7 100644
--- a/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx
+++ b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx
@@ -1,4 +1,4 @@
-%% Copyright 2010-2015 Yves de Saint-Pern
+%% Copyright 2010-2016 Yves de Saint-Pern
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -12,23 +12,30 @@
%
% The Current Maintainer of this work is Yves de Saint-Pern.
-\ProvidesFile{droit-fr.cbx}[2015/10/02 v1.1 style droit francais]
+\ProvidesFile{droit-fr.cbx}[2016/20/02 v1.2 style droit francais]
\RequireCitationStyle{verbose-ibid}
\renewcommand*{\mkibid}{\emph} % mots latins en italique
% pas de version raccourcie des note de bas de page passée la 1ère référence.
-\renewbibmacro*{cite:short}{%
- \usebibmacro{cite:full:citepages}%
- \printtext{%
- \usedriver
- {\DeclareNameAlias{sortname}{default}}
- {\thefield{entrytype}}}%
- \usebibmacro{shorthandintro}}
+\renewbibmacro*{cite}{%
+ \usebibmacro{cite:citepages}%
+ \global\togglefalse{cbx:loccit}%
+ \ifciteseen
+ {\iffieldundef{shorthand}
+ {\ifboolexpr{
+ test {\ifciteibid}
+ and
+ not test {\iffirstonpage}
+ }
+ {\usebibmacro{cite:ibid}}
+ {\usebibmacro{cite:full}}} % cite:short => cite:full
+ {\usebibmacro{cite:shorthand}}}
+ {\usebibmacro{cite:full}}}
% commande de citation générique, dérivée de \smartcite.
-\DeclareCiteCommand{\cite}[\iffootnote\bibfootnotewrapper\mkbibfootnote]
+\DeclareCiteCommand{\cite}[\iffootnote\bibsentence\mkbibfootnote]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
@@ -36,7 +43,7 @@
{\usebibmacro{cite:postnote}}
% commande de citation multiple, dérivée de \smartcites.
-\DeclareMultiCiteCommand{\cites}[\iffootnote\bibfootnotewrapper\mkbibfootnote]
+\DeclareMultiCiteCommand{\cites}[\iffootnote\bibsentence\mkbibfootnote]
{\cite}{\multicitedelim}
\endinput