summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/emisa/emisa.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/emisa/emisa.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/emisa/emisa.bbx51
1 files changed, 45 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/emisa/emisa.bbx b/Master/texmf-dist/tex/latex/emisa/emisa.bbx
index 4e9d1b8a216..c945aa112f1 100644
--- a/Master/texmf-dist/tex/latex/emisa/emisa.bbx
+++ b/Master/texmf-dist/tex/latex/emisa/emisa.bbx
@@ -10,7 +10,7 @@
%% See there for more information.
%% ------------------------------------------------------------------------
%%
-\ProvidesFile{emisa.bbx}[2016/02/06 2.0 EMISA bibliography style]
+\ProvidesFile{emisa.bbx}[2016/03/31 2.1 EMISA bibliography style]
\RequireBibliographyStyle{authoryear}
\newcommand*{\bibitemlabel}[1]{%
\normalfont #1}
@@ -97,21 +97,60 @@
\DeclareFieldFormat{version}{\bibcpstring{version}~#1}
\DeclareFieldFormat{volume}{\bibcpstring{volume}~#1}
\DeclareFieldFormat{volumes}{#1~\bibcpstring{volumes}}
-\DeclareNameFormat{emisa:names}{%
+\@ifpackagelater{biblatex}{2016/03/03}%
+{%
+ \DeclareNameFormat{emisa:names}{%
+ \nameparts{#1}%
+ \usebibmacro{name:family-giveninit}%
+ {\namepartfamily}%
+ {\namepartgiveni}%
+ {\namepartprefix}%
+ {\namepartsuffix}%
+ \usebibmacro{name:andothers}}%
+}%
+ % \item last name
+ % \item last name (initials)
+ % \item first name
+ % \item first name (initials)
+ % \item name prefix, a.k.a. `von part'
+ % \item name prefix (initials)
+ % \item name affix, a.k.a. `junior part'
+ % \item name affix (initials)
+ % \end{compactenum}
+{%
+ \DeclareNameFormat{emisa:names}{%
\usebibmacro{name:last-firstinit}{#1}{#4}{#5}{#7}%
- \usebibmacro{name:andothers}}
-\newbibmacro*{name:last-firstinit}[4]{%
+ \usebibmacro{name:andothers}}%
+}%
+\@ifpackagelater{biblatex}{2016/03/03}%
+{%
+ \newbibmacro*{name:family-giveninit}[4]{%
+ \usebibmacro{name:delim}{#2#3#1}%
+ \usebibmacro{name:hook}{#2#3#1}%
+ \ifempty{#3}{}{%
+ \mkbibnameprefix{#3}%\isdot
+ \ifprefchar% replaces \ifpunctmark{'}%
+ {}%
+ {\ifuseprefix{\addhighpenspace}{\addlowpenspace}}}%
+ \mkbibnamefamily{#1}\addhighpenspace%
+ \ifempty{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\addlowpenspace}%
+ \ifempty{#2}{}{\mkbibnamegiven{#2}\isdot}%
+ }%
+}%
+{%
+ \newbibmacro*{name:last-firstinit}[4]{%
\usebibmacro{name:delim}{#2#3#1}%
\usebibmacro{name:hook}{#2#3#1}%
\ifblank{#3}{}{%
\mkbibnameprefix{#3}%\isdot
- \ifpunctmark{'}
+ \ifpunctmark{'}%
{}
{\ifuseprefix{\addhighpenspace}{\addlowpenspace}}}%
- \mkbibnamelast{#1}\addhighpenspace
+ \mkbibnamelast{#1}\addhighpenspace%
\ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\addlowpenspace}%
\ifblank{#2}{}{\mkbibnamefirst{#2}\isdot}%
}%
+}%
\renewbibmacro*{in:}{%
\printtext{%
\bibcpstring{in}%