diff options
author | Karl Berry <karl@freefriends.org> | 2016-03-13 21:18:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-03-13 21:18:36 +0000 |
commit | 394db27879e3e1a46733cafc5aa3c9612b767fdd (patch) | |
tree | 9971378b70de47cb8a3c14cc4b16eac5d5a7e612 /Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx | |
parent | 1dece60d27697bab91c26ad47b09149c34bfe189 (diff) |
biblatex-chem (13mar16)
git-svn-id: svn://tug.org/texlive/trunk@40015 c570f23f-e606-0410-a88d-b1316a301751
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.bbx | 50 |
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}} |