summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx26
1 files changed, 20 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx b/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx
index 857711cca07..d203a5dea0b 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{chem-rsc.bbx}[2016/02/26 v1.1n biblatex bibliography style]
+\ProvidesFile{chem-rsc.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 = 999 ,
maxcitenames = 2 ,
@@ -55,10 +55,24 @@
}
% Modify the name format
-\DeclareNameFormat{default}{%
- \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}%
- \usebibmacro{name:andothers}%
-}
+\@ifpackageloaded{biblatex_legacy}
+ {
+ \DeclareNameFormat{default}{%
+ \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}%
+ \usebibmacro{name:andothers}%
+ }
+ }
+ {
+ \DeclareNameFormat{default}{%
+ \nameparts{#1}%
+ \usebibmacro{name:given-family}
+ {\namepartfamily}
+ {\namepartgiveni}
+ {\namepartprefix}
+ {\namepartsuffix}%
+ \usebibmacro{name:andothers}%
+ }
+ }
% Custom field formats
\DeclareFieldFormat[inproceedings]{booktitle}{#1}