summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-05-12 22:01:08 +0000
committerKarl Berry <karl@freefriends.org>2017-05-12 22:01:08 +0000
commitd519d77fb8050b65038daca80ba4e323a9834072 (patch)
tree7849058d498c4c79795c80369bb87f28b791c1e6 /Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty
parent2c06b20f0baed397e5425399d978b209064a2ceb (diff)
udesoftec (12may17)
git-svn-id: svn://tug.org/texlive/trunk@44308 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty')
-rw-r--r--Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty39
1 files changed, 20 insertions, 19 deletions
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}%