summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx
diff options
context:
space:
mode:
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