From 6c08ff11ff1c388460d60046a1ad0c8b96b2465e Mon Sep 17 00:00:00 2001 From: Amin Khan Date: Tue, 10 May 2016 20:06:40 +0100 Subject: [PATCH] Fix issue with \DeclareNameFormat ## See for details - https://github.com/plk/biblatex/issues/372 --- awesome-cv.cls | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index 687be08..1ab7dc7 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -799,10 +799,17 @@ \par\vspace{0.3\baselineskip} } +% New syntax for flexible backend (BibLaTeX > v3.3) \DeclareNameFormat{author}{% \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}} - {\addcomma\space} - {}% + {\addcomma\space} + {} } \ No newline at end of file