summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx50
1 files changed, 38 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx b/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx
index 76c9323f3cf..1508c428350 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{chem-acs.bbx}[2016/02/26 v1.1n biblatex bibliography style]
+\ProvidesFile{chem-acs.bbx}[2016/03/13 v1.1p biblatex bibliography style]
% Load the standard style to avoid copy-pasting unnecessary material
\RequireBibliographyStyle{numeric-comp}
@@ -46,7 +46,7 @@
{
doi = false ,
eprint = false ,
- firstinits = true ,
+ giveninits = true ,
isbn = false ,
maxnames = 15 ,
maxcitenames = 2 ,
@@ -56,17 +56,43 @@
}
% Modify the name format
-\DeclareNameFormat{default}{%
- \renewcommand*{\multinamedelim}{\addsemicolon\addspace}%
- \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}%
- \usebibmacro{name:andothers}%
-}
+\@ifpackageloaded{biblatex_legacy}
+ {
+ \DeclareNameFormat{default}{%
+ \renewcommand*{\multinamedelim}{\addsemicolon\addspace}%
+ \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}%
+ \usebibmacro{name:andothers}%
+ }
-\DeclareNameFormat{editor}{%
- \renewcommand*{\multinamedelim}{\addcomma\addspace}%
- \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}%
- \usebibmacro{name:andothers}%
-}
+ \DeclareNameFormat{editor}{%
+ \renewcommand*{\multinamedelim}{\addcomma\addspace}%
+ \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}%
+ \usebibmacro{name:andothers}%
+ }
+ }
+ {
+ \DeclareNameFormat{default}{%
+ \renewcommand*{\multinamedelim}{\addsemicolon\addspace}%
+ \nameparts{#1}%
+ \usebibmacro{name:family-given}
+ {\namepartfamily}
+ {\namepartgiveni}
+ {\namepartprefix}
+ {\namepartsuffix}%
+ \usebibmacro{name:andothers}%
+ }
+
+ \DeclareNameFormat{editor}{%
+ \renewcommand*{\multinamedelim}{\addcomma\addspace}%
+ \nameparts{#1}%
+ \usebibmacro{name:family-given}
+ {\namepartfamily}
+ {\namepartgiveni}
+ {\namepartprefix}
+ {\namepartsuffix}%
+ \usebibmacro{name:andothers}%
+ }
+ }
% Custom field formats
\DeclareFieldFormat[article]{date}{\mkbibbold{#1}}