Fix issue with \DeclareNameFormat

## See for details
 - https://github.com/plk/biblatex/issues/372
This commit is contained in:
Amin Khan 2016-05-10 20:06:40 +01:00
parent 1f1bd17583
commit 6c08ff11ff

View file

@ -799,10 +799,17 @@
\par\vspace{0.3\baselineskip} \par\vspace{0.3\baselineskip}
} }
% New syntax for flexible backend (BibLaTeX > v3.3)
\DeclareNameFormat{author}{% \DeclareNameFormat{author}{%
\small\addfontfeature{Color=lightgray}% \small\addfontfeature{Color=lightgray}%
\ifblank{#3}{}{#3\space}#1% \renewcommand*{\multinamedelim}{\addcomma\addspace}%
\nameparts{#1}%
\ifthenelse{\value{listcount}=1}
{\ifblank{\namepartgiven}{}{\namepartgiven\space}%
\namepartfamily}%
{\ifblank{\namepartgiven}{}{\namepartgiven\space}%
\namepartfamily}%
\ifthenelse{\value{listcount}<\value{liststop}} \ifthenelse{\value{listcount}<\value{liststop}}
{\addcomma\space} {\addcomma\space}
{}% {}
} }