summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-09-14 22:25:21 +0000
committerKarl Berry <karl@freefriends.org>2016-09-14 22:25:21 +0000
commitb5cda940ef69e975ee06e7c3bde2343952309efc (patch)
treec6450d73189af401d4e31c7677f4b88cbb8b38ef
parentca6d1ceb71368bca13dc008c6693b695be209e62 (diff)
biblatex-realauthor
git-svn-id: svn://tug.org/texlive/trunk@42072 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdfbin71224 -> 71364 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex18
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdfbin17958 -> 17952 bytes
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx56
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx2
5 files changed, 68 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf
index dbef8981e76..6ec794d27d0 100644
--- a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf
+++ b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex
index 041484aa316..11643821b4b 100644
--- a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex
+++ b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex
@@ -20,8 +20,8 @@
subtitle={New data field},
email={maieul <at> maieul <dot> net},
author={Maïeul Rouquette},
- revision={2.5.0},
- date={09/06/2016},
+ revision={2.6.0},
+ date={08/09/2016},
url={https://github.com/maieul/biblatex-realauthor}}
% biblatex
@@ -42,7 +42,7 @@ It also add a new field \bibfield{realeditor}, to specify the knew real editor.
\subsection{Requirement}
-The packages require \biblatex~3.3 or later.
+The packages require \biblatex~3.5 or later.
\subsection{The .bib file}
Basically, you just have to add the real author / editor name in the field \bibfield{realauthor} / \bibfield{realdeditor}, like in the following examples:
@@ -154,6 +154,11 @@ All issues can be submitted, in French or English, in the GitHub issues page\foo
\section{Change history}
\begin{changelog}
+\begin{release}{2.6.0}{2016-09-08}
+ \item Take account of \bibtype{realauthor} to manage dash in bibliography.
+ \item Require \biblatex\ 3.5.
+\end{release}
+
\begin{release}{2.5.0}{2016-06-09}
\item Add error message to know more quickly break compatibility with new releases of biblatex.
\end{release}
@@ -162,9 +167,10 @@ All issues can be submitted, in French or English, in the GitHub issues page\foo
\item Fix bug with abreviatted form of citation.
\end{release}
\begin{release}{2.4.0}{2016-06-05}
- \item Adds \bibfield{realeditor}.
- \item Restores normal behavior of \opt{userealeditor}.
- \item Uses \bibfield{realauthor} / \bibfield{realeditor} in the abreviatted form of citation.
+ \item Add \bibfield{realeditor}.
+ \item Restores normal behavior of \opt{userealeauthor}.
+ \item Takes account of the real names when choosing to print a dash in the final bibliography.
+ \item Requires biblatex 3.3.
\end{release}
\begin{release}{2.3.0}{2016-03-11}
diff --git a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdf b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdf
index bfa13170e8f..ba2aba511bc 100644
--- a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdf
+++ b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdf
Binary files differ
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}