diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-acs.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-acs.bbx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-acs.bbx b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-acs.bbx index 2be8abef8d1..3701e298cf0 100644 --- a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-acs.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-acs.bbx @@ -1,5 +1,5 @@ \ProvidesFile{chem-acs.bbx} -[\abx@bbxid $Id: chem-acs.bbx,v 0.9 2010/02/16 +[\abx@bbxid $Id: chem-acs.bbx,v 0.9a 2010/03/26 09:00:00 joseph beta $] \ExecuteBibliographyOptions{labelnumber,maxnames=15,urldate=long} @@ -11,6 +11,7 @@ \providebool{bbx:articletitle} \providebool{bbx:chaptertitle} +\providebool{bbx:doi} \providebool{bbx:pageranges} \providebool{bbx:subentry} \DeclareBibliographyOption{articletitle}[true]{% @@ -33,6 +34,8 @@ \DeclareFieldFormat{labelnumberwidth}{##1\adddot\midsentence}% \fi } +\DeclareBibliographyOption{doi}[true]{% + \setbool{bbx:doi}{#1}} \DeclareBibliographyOption{pageranges}[true]{% \setbool{bbx:pageranges}{#1}} \DeclareBibliographyOption{subentry}[true]{% @@ -250,7 +253,15 @@ \newbibmacro*{pages/doi}{% \iffieldundef{pages} {\printfield{doi}} - {\printfield{pages}}} + {% + \printfield{pages}}% + \ifbool{bbx:doi} + {% + \setunit*{\adddot\addspace}% + \printfield{doi}% + } + {}% + } \newbibmacro*{publisher+location+year}{% \printlist{publisher}% |