diff options
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 | 25 |
1 files changed, 22 insertions, 3 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 1145334a89f..7f92b33d7cb 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}[2011/08/16 v1.1a biblatex bibliography style] +\ProvidesFile{chem-acs.bbx}[2011/08/17 v1.1c biblatex bibliography style] % Load the standard style to avoid copy-pasting unnecessary material \RequireBibliographyStyle{numeric-comp} @@ -27,11 +27,27 @@ \settoggle{bbx:pageranges}{#1}% } +\DeclareBibliographyOption{biblabel}{% + \ifstrequal{#1}{plain} + {\DeclareFieldFormat{labelnumberwidth}{##1}} + {% + \ifstrequal{#1}{brackets} + {\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{##1}}}% + {% + \ifstrequal{#1}{dot} + {\DeclareFieldFormat{labelnumberwidth}{##1\adddot\midsentence}} + {\DeclareFieldFormat{labelnumberwidth}{\mkbibparens{##1}}}% + }% + }% +} + % Alter settings that carry through from biblatex \ExecuteBibliographyOptions { doi = false , + eprint = false , firstinits = true , + isbn = false , maxnames = 15 , maxcitenames = 2 , pageranges = true , @@ -98,8 +114,11 @@ }% } -\renewbibmacro*{date}{\printtext[date]{\printdate}} - +\renewbibmacro*{date}{% + \iffieldundef{year} + {} + {\printtext[date]{\printdate}}% +} \renewbibmacro*{event+venue+date}{% \printfield{eventtitle}% \ifboolexpr{ |