texlive[42072] Master/texmf-dist: biblatex-realauthor
commits+karl at tug.org
commits+karl at tug.org
Thu Sep 15 00:25:21 CEST 2016
Revision: 42072
http://tug.org/svn/texlive?view=revision&revision=42072
Author: karl
Date: 2016-09-15 00:25:21 +0200 (Thu, 15 Sep 2016)
Log Message:
-----------
biblatex-realauthor
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex
trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdf
trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex 2016-09-14 22:25:04 UTC (rev 42071)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex 2016-09-14 22:25:21 UTC (rev 42072)
@@ -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 @@
\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 @@
\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 @@
\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}
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example-realauthor.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx 2016-09-14 22:25:04 UTC (rev 42071)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx 2016-09-14 22:25:21 UTC (rev 42072)
@@ -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 at bibstyle}
{\RequireBibliographyStyle{\biblatexmultipledm at 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 at lasthash{\thefield{realeauthorfullhash}}%
+ }%
+ {}%
+ \ifboolexpr{%
+ test {\ifnamesequal{labelname}{editor}}%
+ and
+ not test {\ifnameundef{realeditor}}%
+ }%
+ {%
+ \xappto\bbx at lasthash{\thefield{realeditorfullhash}}%
+ }%
+ {}%
+}
+{}{\realauthor at failpatch{bbx:savehash}}
+
+\xpretobibmacro{bbx:dashcheck}{%
+ \savefield{fullhash}{\bbx at this@hash}%
+ \ifboolexpr{%
+ test {\ifnamesequal{labelname}{author}}%
+ and
+ not test {\ifnameundef{realauthor}}%
+ }%
+ {%
+ \eappto\bbx at this@hash{\thefield{realauthorfullhash}}%
+ }%
+ {}%
+ \ifboolexpr{%
+ test {\ifnamesequal{labelname}{editor}}%
+ and
+ not test {\ifnameundef{realeditor}}%
+ }%
+ {%
+ \eappto\bbx at this@hash{\thefield{realeditorfullhash}}%
+ }%
+ {}%
+}
+{}{\realauthor at failpatch{bbx:dashchek}}
+
+\xpatchbibmacro{bbx:dashcheck}%
+ {\iffieldequals{fullhash}{\bbx at lasthash}}%
+ {\ifdefequal{\bbx at this@hash}{\bbx at lasthash}}%
+{}{\realauthor at failpatch{bbx:dashchek}}
+
+}
% Sorting
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx 2016-09-14 22:25:04 UTC (rev 42071)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.dbx 2016-09-14 22:25:21 UTC (rev 42072)
@@ -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}
More information about the tex-live-commits
mailing list