diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-biochem.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-biochem.bbx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-biochem.bbx b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-biochem.bbx index 32850c78536..787caa95caa 100644 --- a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-biochem.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-biochem.bbx @@ -1,5 +1,5 @@ \ProvidesFile{chem-biochem.bbx} -[\abx@bbxid $Id: chem-biochem.bbx,v 0.9 2010/02/16 +[\abx@bbxid $Id: chem-biochem.bbx,v 0.9a 2010/03/26 09:00:00 joseph beta $] \ExecuteBibliographyOptions{labelnumber,maxnames=15,urldate=long,useprefix} @@ -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]{% @@ -244,7 +247,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}% |