summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx56
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx2
2 files changed, 56 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
index 9babae7a7a7..cf8c70e9061 100644
--- a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
@@ -13,7 +13,7 @@
% The Current Maintainer of this work is Maïeul Rouquette
% This work consists of the files realauthor.dbx, realauthor.bbx
\ProvidesFile{realauthor.dbx}
-[2016/06/09 v2.5.0 biblatex bibliography style (MR)]
+[2016/09/08 v2.6.0 biblatex bibliography style (MR)]
\ifdef{\biblatexmultipledm@bibstyle}
{\RequireBibliographyStyle{\biblatexmultipledm@bibstyle}}
@@ -251,6 +251,60 @@
}%
}
+% For the dash on the bibliography, in the case two real author use the same pseudonym
+
+\AtBeginDocument{
+\xapptobibmacro{bbx:savehash}{%
+ \ifboolexpr{%
+ test {\ifnamesequal{labelname}{author}}%
+ and
+ not test {\ifnameundef{realauthor}}%
+ }%
+ {%
+ \xappto\bbx@lasthash{\thefield{realeauthorfullhash}}%
+ }%
+ {}%
+ \ifboolexpr{%
+ test {\ifnamesequal{labelname}{editor}}%
+ and
+ not test {\ifnameundef{realeditor}}%
+ }%
+ {%
+ \xappto\bbx@lasthash{\thefield{realeditorfullhash}}%
+ }%
+ {}%
+}
+{}{\realauthor@failpatch{bbx:savehash}}
+
+\xpretobibmacro{bbx:dashcheck}{%
+ \savefield{fullhash}{\bbx@this@hash}%
+ \ifboolexpr{%
+ test {\ifnamesequal{labelname}{author}}%
+ and
+ not test {\ifnameundef{realauthor}}%
+ }%
+ {%
+ \eappto\bbx@this@hash{\thefield{realauthorfullhash}}%
+ }%
+ {}%
+ \ifboolexpr{%
+ test {\ifnamesequal{labelname}{editor}}%
+ and
+ not test {\ifnameundef{realeditor}}%
+ }%
+ {%
+ \eappto\bbx@this@hash{\thefield{realeditorfullhash}}%
+ }%
+ {}%
+}
+{}{\realauthor@failpatch{bbx:dashchek}}
+
+\xpatchbibmacro{bbx:dashcheck}%
+ {\iffieldequals{fullhash}{\bbx@lasthash}}%
+ {\ifdefequal{\bbx@this@hash}{\bbx@lasthash}}%
+{}{\realauthor@failpatch{bbx:dashchek}}
+
+}
% Sorting
diff --git a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx
index be8eef66f17..206a3d09b53 100644
--- a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx
+++ b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx
@@ -13,7 +13,7 @@
% The Current Maintainer of this work is Maïeul Rouquette
% This work consists of the files realauthor.dbx, realauthor.bbx
\ProvidesFile{realauthor.dbx}
-[2016/06/09 v2.5.0 biblatex bibliography style (MR)]
+[2016/09/08 v2.6.0 biblatex bibliography style (MR)]
\DeclareDatamodelFields[type=list,datatype=name]{realauthor,realeditor}
\DeclareDatamodelEntryfields{realauthor,realeditor}