From d519d77fb8050b65038daca80ba4e323a9834072 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 12 May 2017 22:01:08 +0000
Subject: udesoftec (12may17)

git-svn-id: svn://tug.org/texlive/trunk@44308 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/udesoftec/udesoftec-biblatex.sty     | 39 +++++++++++-----------
 1 file changed, 20 insertions(+), 19 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty')

diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty
index e1bb5321611..e6dbc9deee1 100644
--- a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty
+++ b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty
@@ -1,7 +1,8 @@
 % !Mode:: "TeX:UTF-8"
 %% udesoftec-biblatex.sty
 %% Copyright 2015 J. Peter M. Schuler
-%% 2016/08/15 v1.5.5 udesoftec
+%% 2017/05/12 v1.6.0 udesoftec
+
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -39,7 +40,7 @@
 % http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf
 
 \NeedsTeXFormat{LaTeX2e}%
-\ProvidesPackage{udesoftec-biblatex}[2016/08/15 v1.5.5 udesoftec-biblatex.sty udesoftec bibstyle configuration for biblatex]%
+\ProvidesPackage{udesoftec-biblatex}[2017/05/12 v1.6.0 udesoftec-biblatex.sty udesoftec bibstyle configuration for biblatex]%
 
 % 
 % \newif\ifprimaryDocumentLanguageGerman
@@ -70,15 +71,18 @@
     uniquelist=false,
     urldate=long,
     maxbibnames=99]{biblatex}
+\@ifpackageloaded{biblatex_legacy}
+{
 \ExecuteBibliographyOptions{labeldate,sorting=nyt,pagetracker}
-
+}{
+\ExecuteBibliographyOptions{labeldateparts,sorting=nyt,pagetracker}
+}
 \setlength{\bibhang} {1.5em} %hanging indentation for list of references
 \setlength{\bibitemsep} {.25em}
 \setlength{\bibnamesep} {.25em}
 \setlength{\bibinitsep} {.25em}
 
 
-
 \DeclareFieldFormat*{title}{\bblFontTitle{#1}}
 \renewcommand*{\mkbibacro}[1]{#1}
 \DeclareFieldFormat{isbn}{\mkbibacro{ISBN}\addcolon{}#1}
@@ -113,31 +117,29 @@
 \AtBeginBibliography{%
     \renewcommand*{\finalnamedelim}{\bblAuthorsSep}
 %    \renewcommand*{\mkbibnameprefix}[1]{#1}
+    \renewcommand*{\mkbibnamelast}[1]{#1}
     \renewcommand*{\mkbibnamegiven}[1]{#1}
     \renewcommand*{\mkbibnamefamily}[1]{#1}
 %    \renewcommand*{\mkbibnameaffix}[1]{#1}
     \renewcommand*{\bibnamedelimd}{\bblFirstnameSep}
     \renewcommand*{\multinamedelim}{\bblAuthorsSep}
     \renewcommand*{\finalnamedelim}{\bblAuthorsSep}%
+    \renewcommand*{\revsdnamepunct}{}
     \doublehyphendemerits=10000
     \raggedright    
 }
 
 
-%\renewbibmacro*{name:last-first}[5]{%
-%    \usebibmacro{name:delim}{#1}%
-%     \ifblank{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}%
-%     \mkbibnamelast{#1}\isdot%
-%     \ifblank{#4}{}{\bibnamedelimd\mkbibnameaffix{#4}\isdot}%
-%     \ifblank{#2}{}{\bibnamedelimd\mkbibnamefirst{#2}}%
-%}
 
-\DeclareNameFormat{last-first}{
-    \usebibmacro{name:family-given}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}%
-}
-
-\DeclareNameFormat{default}{%
-    \usebibmacro{name:family-given}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}%
+  \toggletrue{abx@bool@giveninits}%
+  \DeclareNameAlias{default}{family-given}%
+    \renewbibmacro*{name:last-first}[5]{%
+        \usebibmacro{name:delim}{#1}%
+         \ifblank{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}%
+         \mkbibnamelast{#1}\isdot%
+         \ifblank{#4}{}{\bibnamedelimd\mkbibnameaffix{#4}\isdot}%
+         \ifblank{#2}{}{\bibnamedelimd\mkbibnamefirst{#2}}%
+    
 }
 
 \DeclareNameAlias{sortname}{last-first} %alle Autoren in der Biblografie gleich
@@ -211,6 +213,7 @@ references = {\bblheading},
   }
  }
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 % for compatibility with bibcommon's citemulti
 \providecommand{\bibstyle@udesoftec}{}
 \providecommand{\bibstyle@udesoftecmulticite}{}
@@ -333,8 +336,6 @@ references = {\bblheading},
       \printdate}%
     \newunit}}
 
-% n.b. the default datelabel=year overrides merging of months and days
-\ExecuteBibliographyOptions{labeldate,sorting=nyt,pagetracker}
 \defbibheading{udesoftec}[\bibname]{%
  \chapter*{#1}%
  \addcontentsline{toc}{chapter}{#1}%
-- 
cgit v1.2.3

