summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx25
1 files changed, 15 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx b/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx
index ad7ad703bc1..46f64f25414 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{chem-biochem.bbx}[2017/08/09 v1.1t biblatex bibliography style]
+\ProvidesFile{chem-biochem.bbx}[2018/01/24 v1.1u biblatex bibliography style]
% Load the standard style to avoid copy-pasting unnecessary material
\RequireBibliographyStyle{numeric-comp}
@@ -188,27 +188,32 @@
\ifuseprefix
{\usebibmacro{name:delim}{#3#1}%
\usebibmacro{name:hook}{#3#1}%
- \ifblank{#3}{}
+ \ifdefvoid{#3}{}
{\mkbibnameprefix{#3\isdot}%
- \ifpunctmark{'}{}{\addhighpenspace}}%
+ \ifprefchar{}{\addhighpenspace}}%
\mkbibnamefamily{#1\isdot}%
- \ifblank{#2}{}
+ \ifdefvoid{#2}{}
{\addcomma\addlowpenspace
\mkbibnamegiven{#2}\isdot}%
- \ifblank{#4}{}
+ \ifdefvoid{#4}{}
{\addlowpenspace
\mkbibnamesuffix{#4}\isdot}}
{\usebibmacro{name:delim}{#1}%
\usebibmacro{name:hook}{#1}%
\mkbibnamefamily{#1}\isdot
- \ifblank{#2#3}{}{\addcomma}%
- \ifblank{#2}{}
+ \ifboolexpe{%
+ test {\ifdefvoid{#2}}
+ and
+ test {\ifdefvoid{#3}}}
+ {}
+ {\addcomma}%
+ \ifdefvoid{#2}{}
{\addlowpenspace
\mkbibnamegiven{#2}\isdot}%
- \ifblank{#3}{}
+ \ifdefvoid{#3}{}
{\addlowpenspace
\mkbibnameprefix{#3}\isdot}%
- \ifblank{#4}{}
+ \ifdefvoid{#4}{}
{\addlowpenspace
\mkbibnamesuffix{#4}\isdot}}%
}
@@ -712,7 +717,7 @@
}
%%
-%% Copyright (C) 2010-2014,2016,2017 by
+%% Copyright (C) 2010-2014,2016-2018 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of