diff options
author | Karl Berry <karl@freefriends.org> | 2018-10-19 20:35:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-10-19 20:35:06 +0000 |
commit | 2155d3f76d7126cadded29859bc9a9627362f5a3 (patch) | |
tree | 6e2f95f0876c7201cbe776346853b4f5da5a6abb /Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx | |
parent | effa10ccad58af9bff6e83daf63f55e5428032f5 (diff) |
biblatex-chem (19oct18)
git-svn-id: svn://tug.org/texlive/trunk@48944 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 | 93 |
1 files changed, 42 insertions, 51 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 dc0499f8868..19f06a667cb 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}[2018/09/06 v1.1v biblatex bibliography style] +\ProvidesFile{chem-acs.bbx}[2018/10/18 v1.1w biblatex bibliography style] % Load the standard style to avoid copy-pasting unnecessary material \RequireBibliographyStyle{numeric-comp} @@ -114,6 +114,7 @@ \DeclareFieldFormat[article]{volume}{\mkbibitalic{#1}} % Simple modifications to punctuation, etc. +\renewcommand*{\begrelateddelim}{\addsemicolon\space}% \renewcommand*{\finalnamedelim}{% \ifcurrentname{labelname} {% @@ -239,46 +240,6 @@ \newunit } -\renewbibmacro*{related}{% - \ifboolexpr{ - not test {\iftoggle{bbx:related}} - or - test {\iffieldundef{related}} - } - {} - {% - \setunit{\addsemicolon\space}% - \setcounter{bbx:relatedcount}{0}% - \setcounter{bbx:relatedtotal}{0}% - \def\do##1{\stepcounter{bbx:relatedtotal}}% - \docsvfield{related}% - \def\do{% - \stepcounter{bbx:relatedcount}% - \ifnumgreater{\value{bbx:relatedcount}}{1} - {\printtext{\relateddelim}} - {}}% - \ifbibmacroundef{related:\strfield{relatedtype}} - {\appto{\do}{\usebibmacro{related:default}}} - {\appto{\do}{\usebibmacro*{related:\strfield{relatedtype}}}}% - \iffieldformatundef{related:\strfield{relatedtype}} - {\def\bbx@tempa{related}} - {\def\bbx@tempa{related:\strfield{relatedtype}}}% - \printtext[\bbx@tempa]{% - \iffieldundef{relatedstring} - {\ifboolexpr{ - test {\ifnumgreater{\value{bbx:relatedtotal}}{1}} - and - test {\ifbibxstring{\thefield{relatedtype}s}} - } - {\printtext{\bibstring{\thefield{relatedtype}s}\relatedpunct}} - {\iffieldbibstring{relatedtype} - {\printtext{\bibstring{\thefield{relatedtype}}\relatedpunct}} - {}}} - {\iffieldbibstring{relatedstring} - {\printtext{\bibstring{\thefield{relatedstring}}\relatedpunct}} - {\printtext{\printfield{relatedstring}\relatedpunct}}}% - \docsvfield{related}}}} - \newbibmacro*{related:translatedas}[1]{% \entrydata{#1}{% \usebibmacro{journal+issuetitle}% @@ -389,7 +350,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } @@ -424,7 +388,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } @@ -464,7 +431,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } @@ -510,7 +480,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } @@ -554,7 +527,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } \DeclareBibliographyDriver{inproceedings}{% @@ -591,7 +567,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } @@ -634,7 +613,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } @@ -665,7 +647,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } @@ -700,7 +685,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } @@ -737,7 +725,10 @@ \setunit{\bibpagerefpunct}\newblock \usebibmacro{pageref}% \newunit\newblock - \usebibmacro{related}% + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% \usebibmacro{finentry}% } |