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-biochem.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-biochem.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx | 28 |
1 files changed, 21 insertions, 7 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 9198133d88f..5bb8b2d345a 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}[2016/02/26 v1.1n biblatex bibliography style] +\ProvidesFile{chem-biochem.bbx}[2016/03/13 v1.1p biblatex bibliography style] % Load the standard style to avoid copy-pasting unnecessary material \RequireBibliographyStyle{numeric-comp} @@ -47,7 +47,7 @@ articletitle = true , doi = false , eprint = false , - firstinits = true , + giveninits = true , isbn = false , maxnames = 15 , maxcitenames = 2 , @@ -58,10 +58,24 @@ } % Modify the name format -\DeclareNameFormat{default}{% - \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}% - \usebibmacro{name:andothers}% -} +\@ifpackageloaded{biblatex_legacy} + { + \DeclareNameFormat{default}{% + \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}% + \usebibmacro{name:andothers}% + } + } + { + \DeclareNameFormat{default}{% + \nameparts{#1}% + \usebibmacro{name:family-given} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffix}% + \usebibmacro{name:andothers}% + } + } % Custom field formats \DeclareFieldFormat{doi}{% @@ -166,7 +180,7 @@ \newunit } -\renewbibmacro*{name:last-first}[4]{% +\renewbibmacro*{name:family-given}[4]{% \ifuseprefix {\usebibmacro{name:delim}{#3#1}% \usebibmacro{name:hook}{#3#1}% |