diff options
author | Karl Berry <karl@freefriends.org> | 2014-10-10 22:04:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-10-10 22:04:37 +0000 |
commit | 9cd23851fe60ab020619f71e6f2d5d8ca159663f (patch) | |
tree | 533723570c33234a714408fc1c06de885c344d4f | |
parent | a9feb4ef4a79b2a7d1ceb7df7c9fbacd7f9f3b86 (diff) |
biblatex-realauthor (10oct14)
git-svn-id: svn://tug.org/texlive/trunk@35348 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.pdf | bin | 59922 -> 57774 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/biblatex-realauthor.tex | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.pdf | bin | 12903 -> 12905 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-realauthor/makefile | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx | 57 |
5 files changed, 67 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 Binary files differindex b2c1b43e789..3e8fdc8c49a 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 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 d80482dcc99..5a1ad9ec96d 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={1.0.0}, - date={25/06/2014}, + revision={1.1.0}, + date={09/10/2014}, url={https://github.com/maieul/biblatex-realauthor}} % biblatex @@ -62,6 +62,9 @@ By default, the real author name is printed in brackets, with an equal, between \cite{Simon1686} \end{quotation} +\subsubsection{Sorting} + +The package provides a sorting scheme: \verb+anonymous+realauthor+, which push the anonymous texts at the begining, but considers the \bibtype{realauthor} field to sort list by authors' name. \section{Customization} You can redefine the \cmd{mkrealauthor} command to change the way the real author name is printed. Default value is: @@ -100,6 +103,11 @@ To use this package with the features of \verb+biblatex-manuscripts-philology+, \begin{changelog} +\begin{release}{1.1.0}{2014-10-09} +\item In a bibliographical list, print the last name before the first name of a real author, except if a \bibfield{author} is defined. +\item Add \verb+anonymous+realauthor+ sorting scheme. +\item Compatibility with \bibtype{article} entry. +\end{release} \begin{release}{1.0.0}{2014-06-25} \item First public release. diff --git a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.pdf b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.pdf Binary files differindex 96298ca4ee6..223247ae935 100644 --- a/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-realauthor/documentation/example.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-realauthor/makefile b/Master/texmf-dist/doc/latex/biblatex-realauthor/makefile index 7a6c294ba29..4ff6a985565 100644 --- a/Master/texmf-dist/doc/latex/biblatex-realauthor/makefile +++ b/Master/texmf-dist/doc/latex/biblatex-realauthor/makefile @@ -4,9 +4,9 @@ FILES = *.bbx *.dbx *.lbx documentation makefile README dist: all rm -rf biblatex-realauthor mkdir biblatex-realauthor - cp README *bbx *dbx *makefile biblatex-realauthor + ln README *bbx *dbx *makefile biblatex-realauthor mkdir biblatex-realauthor/documentation - cp documentation/*tex documentation/*bib documentation/*pdf documentation/makefile biblatex-realauthor/documentation + ln documentation/*tex documentation/*bib documentation/*pdf documentation/makefile biblatex-realauthor/documentation $(RM) ../biblatex-realauthor.zip zip -r ../biblatex-realauthor.zip biblatex-realauthor @@ -16,4 +16,4 @@ clean: @$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz* all: documentation/example.tex documentation/biblatex-realauthor.tex documentation/example.bib - $(MAKE) -C documentation all
\ No newline at end of file + $(MAKE) -C documentation all diff --git a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx index 9a10ff0cefd..c0967abfd60 100644 --- a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx @@ -35,9 +35,15 @@ \DeclareNameFormat{realauthor}{% \mkbibrealauthor{% - \iffirstinits - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}} + \ifboolexpr{test {\ifbibliography} and test {\ifnameundef{author}}}% + {\iffirstinits% + {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}% + {\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}% + }% + {\iffirstinits% + {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}}% {\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}% + }% \usebibmacro{name:andothers}}} @@ -50,10 +56,55 @@ \printnames{realauthor}% }{}{} +\xpatchbibmacro{author/editor+others} + {not test {\ifnameundef{author}}} + {not (test {\ifnameundef{author}} and test {\ifnameundef{realauthor}})} + {} + {} + + +\xpatchbibmacro{author/translator+others} + {not test {\ifnameundef{author}}} + {not (test {\ifnameundef{author}} and test {\ifnameundef{realauthor}})} + {} + {} + \xpatchbibmacro{author/editor+others/translator+others} {not test {\ifnameundef{author}}} {not (test {\ifnameundef{author}} and test {\ifnameundef{realauthor}})} {} {} -\endinput
\ No newline at end of file +% Sorting + + +\DeclareSortingScheme{anonymous+realauthor}{ + \sort{ + \field{presort} + } + \sort[final]{ + \field{sortkey} + } + \sort{ + \field{sortname} + \field{labelname} + \field{realauthor} + \literal{0000} + } + \sort{ + \field{sorttitle} + \field{title} + \field{maintitle} + } + \sort{ + \field{sortyear} + \field{year} + } + \sort{ + \field[padside=left,padwidth=4,padchar=0]{volume} + \literal{0000} + } +} + + +\endinput |