summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-chem
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/biblatex-contrib/biblatex-chem
Initial commit
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-chem')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/README.md17
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-acs.pdfbin0 -> 292087 bytes
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-acs.tex58
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-angew.pdfbin0 -> 276052 bytes
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-angew.tex57
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-biochem.pdfbin0 -> 276553 bytes
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-biochem.tex58
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-rsc.pdfbin0 -> 273580 bytes
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-rsc.tex57
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.bib503
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.pdfbin0 -> 382526 bytes
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.tex273
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-acs.bbx770
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-acs.cbx57
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-angew.bbx740
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-angew.cbx75
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-biochem.bbx742
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-biochem.cbx56
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-rsc.bbx673
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-rsc.cbx57
20 files changed, 4193 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/README.md b/macros/latex/contrib/biblatex-contrib/biblatex-chem/README.md
new file mode 100644
index 0000000000..75c05edc22
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/README.md
@@ -0,0 +1,17 @@
+biblatex-chem - A set of biblatex implementations of chemistry-related bibliography styles
+==========================================================================================
+
+The `biblatex-chem` bundle is a set of styles for creating
+bibliographies using `biblatex` in the style of a number common
+chemistry journals. The bundle comprises styles based on the
+conventions of the Royal Society of Chemistry, American Chemical
+Society and Angewandte Chemie. It therefore covers the journal
+styles of, for example:
+ - Angewandte Chemie
+ - Biochemistry
+ - Chemical Communications
+ - Chemistry-A European Journal
+ - Dalton Transactions
+ - Journal of the American Chemical Society
+ - Organic & Biomolecular Chemistry
+amongst others.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-acs.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-acs.pdf
new file mode 100644
index 0000000000..891df569dc
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-acs.pdf
Binary files differ
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-acs.tex b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-acs.tex
new file mode 100644
index 0000000000..5041207e9a
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-acs.tex
@@ -0,0 +1,58 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\providecommand{\stylename}{acs}
+\providecommand{\styledescription}{%
+This package provides a style for \pkg{biblatex} which follows the
+guidelines of the American Chemical Society \autocite{Coghill2006}.
+The citation style is numeric
+and unsorted. The bibliography style follows the pattern of the layout
+used in the journal \emph{Journal of the American Chemical Society}.
+}
+
+\input{biblatex-chem-common.tex}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-common.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `biblatex-chem-acs.tex'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-angew.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-angew.pdf
new file mode 100644
index 0000000000..795e8c44c3
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-angew.pdf
Binary files differ
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-angew.tex b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-angew.tex
new file mode 100644
index 0000000000..705ff1feaf
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-angew.tex
@@ -0,0 +1,57 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\providecommand{\stylename}{angew}
+\providecommand{\styledescription}{%
+This package provides a style for \pkg{biblatex} which follows the
+guidelines of \emph{Angewandte Chemie}. The citation style is numeric
+and unsorted. The bibliography style follows the pattern of the layout
+used in the journal.
+}
+
+\input{biblatex-chem-common.tex}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-common.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `biblatex-chem-angew.tex'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-biochem.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-biochem.pdf
new file mode 100644
index 0000000000..b7b990ff4b
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-biochem.pdf
Binary files differ
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-biochem.tex b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-biochem.tex
new file mode 100644
index 0000000000..760d0a4cb0
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-biochem.tex
@@ -0,0 +1,58 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\providecommand{\stylename}{biochem}
+\providecommand{\styledescription}{%
+This package provides a style for \pkg{biblatex} which follows the
+guidelines of the American Chemical Society \autocite{Coghill2006}.
+The citation style is numeric
+and unsorted. The bibliography style follows the pattern of the layout
+used in the journal \emph{Biochemistry}.
+}
+
+\input{biblatex-chem-common.tex}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-common.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `biblatex-chem-biochem.tex'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-rsc.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-rsc.pdf
new file mode 100644
index 0000000000..fbb7150642
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-rsc.pdf
Binary files differ
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-rsc.tex b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-rsc.tex
new file mode 100644
index 0000000000..99094a50ee
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem-rsc.tex
@@ -0,0 +1,57 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\providecommand{\stylename}{rsc}
+\providecommand{\styledescription}{%
+This package provides a style for \pkg{biblatex} which follows the
+guidelines of Royal Society of Chemistry. The citation style is numeric
+and unsorted. The bibliography style follows the pattern of the layout
+used in the journal \emph{Chemical Communications}.
+}
+
+\input{biblatex-chem-common.tex}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-common.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `biblatex-chem-rsc.tex'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.bib b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.bib
new file mode 100644
index 0000000000..205fce4c3d
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.bib
@@ -0,0 +1,503 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright at morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+@Report{Allen1961,
+ hyphenation = {british},
+ author = {Allen, R. A. and Smith, D. B. and Hiscott, J.
+ E.},
+ title = {Radioisotope Data},
+ institution = {H.M.S.O.},
+ location = {London},
+ type = {UKAEA Research Group Report},
+ number = {AERE-R 2938},
+ year = {1961}
+}
+
+@Article{Arduengo1991,
+ hyphenation = {american},
+ author = {Arduengo, III, Anthony J. and Harlow,
+ Richard L. and Kline, Michael},
+ title = {A stable crystalline carbene},
+ journaltitle= {J.~Am. Chem. Soc.},
+ year = {1991},
+ volume = {113},
+ pages = {361--363},
+ number = {1},
+ doi = {10.1021/ja00001a054},
+ annotation = {An article with ``III'' in the author
+ section}
+}
+
+@Patent{Arduengo2001,
+ author = {Arduengo, III, Anthony J. and Gentry, Jr.,
+ Frederick P. and Taverkere, Prakash~K. and Simmons,
+ III, Howard E.},
+ title = {Process for manufacture of imidazoles},
+ year = {2001},
+ type = {patentus},
+ holder = {{E.~I. DuPont}},
+ number = {6177575},
+ annotation = {Notice the use of the \texttt{type} field
+ here},
+}
+
+@Book{Armarego2003,
+ hyphenation = {british},
+ title = {Purification of Laboratory Chemicals},
+ publisher = {Butterworth--Heine\-mann},
+ year = {2003},
+ author = {Armarego, W. L. F. and Chai, Christina Lin Li},
+ location = {London},
+ edition = {5},
+ annotation = {A simple \texttt{book} entry}
+}
+
+@Book{Augustine1995,
+ hyphenation = {american},
+ author = {Augustine, Robert L.},
+ title = {Heterogeneous Catalysis for the Synthetic
+ Chemist},
+ shorttitle = {Heterogeneous catalysis},
+ publisher = {Marcel Dekker},
+ location = {New York},
+ year = {1995},
+ annotation = {A plain \texttt{book} entry, taken from the
+ \textsf{biblatex} examples}
+}
+
+@Patent{Baker1921,
+ author = {Baker, J.~C.},
+ title = {Process of bleaching and maturing flour and
+ other cereal products},
+ year = {1921},
+ type = {patentus},
+ number = {1367530},
+}
+
+
+@Article{Booth1962,
+ hyphenation = {british},
+ author = {Booth, G. and Chatt, J.},
+ title = {The reactions of carbon monoxide and nitric
+ oxide with tertiary phosphine complexes of iron(II),
+ cobalt(II), and nickel(II)},
+ journaltitle = {J.~Chem. Soc.},
+ year = {1962},
+ pages = {2099--2106},
+ doi = {10.1039/JR9620002099},
+ annotation = {An article which does not have a volume number}
+}
+
+@Book{Coghill2006,
+ hyphenation = {american},
+ title = {The ACS Style Guide},
+ publisher = {Oxford University Press, Inc. and The
+ American Chemical Society},
+ year = {2006},
+ editor = {Coghill, Anne M. and Garson, Lorrin R.},
+ location = {New York},
+ edition = {3}
+}
+
+@Online{Corina2006,
+ title = {CORINA: Generation of 3D coordinates},
+ url = {http://www.molecular-networks.com/software/corina/index.html}
+}
+
+@Book{Cotton1999,
+ hyphenation = {british},
+ author = {Cotton, Frank Albert and Wilkinson, Geoffrey
+ and Murillio, Carlos A. and Bochmann, Manfred},
+ title = {Advanced Inorganic Chemistry},
+ edition = {6},
+ publisher = {Wiley},
+ location = {Chichester, United Kingdom},
+ year = {1999},
+ annotation = {A \texttt{book} entry with \arabic{author}
+ authors and an \texttt{edition} field}
+}
+
+@Article{Danopoulos2008,
+ author = {Pugh, David and Wright, Joseph A. and
+ Danopoulos, Andreas A.},
+ title = {`Pincer' pyridine dicarbene iridium
+ complexes: facile C--H activations and unexpected
+ $\eta^2$-imidazol-2-ylidene coordination},
+ journaltitle = {Angew. Chem. Int. Ed.},
+ note = {in press}
+}
+
+@Article{Dehnicke1981,
+ hyphenation = {german},
+ author = {Dehnicke, Kurt and Str{\"a}hle, Joachim},
+ title = {Die
+ {\"U}bergangsmetall-Stickstoff-Mehrfachbindung},
+ journaltitle = {Angew. Chem.},
+ year = {1981},
+ volume = {93},
+ pages = {451--464},
+ number = {5},
+ doi = {10.1002/ange.19810930506},
+ related = {Dehnicke1981a},
+ relatedtype = {translatedas},
+ annotation = {A journal article published in two languages,
+ which has to handled manually}
+}
+
+@Article{Dehnicke1981a,
+ hyphenation = {british},
+ author = {Dehnicke, Kurt and Str{\"a}hle, Joachim},
+ title = {The transition metal--nitrogen multiple bond},
+ journaltitle = {Angew. Chem., Int. Ed. Engl.},
+ year = {1981},
+ volume = {20},
+ pages = {413--426},
+ number = {5},
+ doi = {10.1002/anie.198104133},
+ annotation = {The English version of the preceding article,
+ which should really only be cited as along with its
+ partner}
+}
+
+@Thesis{Gaunt1999,
+ hyphenation = {british},
+ author = {Gaunt, Matthew James},
+ title = {The investigation and design of palladium
+ catalysed reactions},
+ institution = {University of Cambridge},
+ year = {1999},
+ type = {phdthesis},
+ location = {Cambridge, United Kingdom}
+}
+
+@Book{Glorius2007,
+ hyphenation = {british},
+ editor = {Glorius, Frank},
+ title = {N-Heterocyclic Carbenes in Transition
+ Metal Catalysis},
+ series = {Topics in Organometallic Chemistry},
+ year = {2007},
+ volume = {21},
+ publisher = {Springer},
+ location = {Berlin},
+ annotation = {A book which is part of a regular series}
+}
+
+@Book{Hahn2002,
+ hyphenation = {british},
+ title = {International Tables for Crystallography},
+ publisher = {Kluwer Academic Publishers},
+ year = {2002},
+ editor = {Hahn, Theo},
+ volume = {A},
+ location = {Dordrecht, Netherlands},
+ edition = {5},
+ annotation = {Compare with data entry for vol.~C}
+}
+
+@Book{Hammond1997,
+ hyphenation = {british},
+ author = {Hammond, Christopher},
+ title = {The Basics of Crystallography and
+ Diffraction},
+ publisher = {International Union of Crystallography and
+ Oxford University Press},
+ location = {Oxford, United Kingdom},
+ year = {1997},
+ chapter = {1},
+ pages = {1--40}
+}
+
+@InCollection{Henry2002,
+ hyphenation = {american},
+ author = {Henry, Patrick M.},
+ title = {The Wacker oxidation and related asymmetric
+ syntheses},
+ booktitle = {Handbook Of Organopalladium Chemistry for
+ Organic Synthesis},
+ publisher = {Wiley Interscience},
+ year = {2002},
+ editor = {Negishi, Ei-Ichi},
+ volume = {2},
+ chapter = {V.3.1.1},
+ pages = {2119--2140},
+ location = {New York},
+}
+
+@Book{Heyn1986,
+ hyphenation = {german},
+ title = {Anorganische Synthesechemie: ein integriertes
+ Praktikum},
+ publisher = {Springer-Verlag},
+ location = {Weinheim, Germany},
+ year = {1986},
+ author = {Heyn, Bodo and Hippler, B. and Kreisel, G. and
+ Schreer, H. and Walther, D.},
+ annotation = {A book in German}
+}
+
+@InProceedings{Hope2005,
+ hyphenation = {american},
+ author = {Hope, E. and Bennett, J. and Stuart, A.},
+ title = {Fluorous zirconium phosphonates: novel
+ inorganic supports for catalysis},
+ booktitle = {Pacifichem (International Chemical
+ Congress of Pacific Basin Societies)},
+ year = {2005},
+ number = {961},
+ venue = {Hawaii, USA},
+ organization = {Pacific Basin Chemical Societies}
+}
+
+@InCollection{Kabbe1973,
+ hyphenation = {german},
+ author = {Kabbe, H.-J. and Jira, R.},
+ title = {Durch Oxidation unter erhalt des
+ Kohlenstoffger{\"u}stes},
+ substitle = {C) Ketone aus Olefinen},
+ booktitle = {Ketone},
+ booksubtitle = {Teil 1},
+ chapter = {III},
+ pages = {781--790},
+ maintitle = {Methoden der organischen Chemie},
+ mainsubtitle = {Houben--Weyl},
+ publisher = {Georg Thieme Verlag},
+ location = {Stuttgart, Germany},
+ year = {1973},
+ volume = {VII},
+ part = {2a},
+ edition = {4}
+}
+
+@Periodical{Kirschning2004,
+ title = {Topics in Current Chemisty},
+ issuetitle = {Immobilized Catalysts},
+ publisher = {Springer-Verlag},
+ year = {2004},
+ editor = {Kirschning, Andreas},
+ volume = {242},
+ location = {Berlin, Germany and London},
+ doi = {10.1007/b94543},
+ annotation = {An entire issue, which is very similar to a
+ book}
+}
+
+@Online{Lancaster2003,
+ author = {Lancaster, Simon J.},
+ title = {Alkylation of boron trifluoride with
+ pentafluorophenyl Grignard reagent},
+ year = {2003},
+ urlyear = {2008},
+ urlmonth = {10},
+ urlday = {8},
+ url = {http://www.syntheticpages.org/pages/215}
+}
+
+@Collection{Leeuwen1995,
+ hyphenation = {british},
+ title = {Theoretical Aspects of Homogeneous Catalysis},
+ publisher = {Kluwer Academic Press},
+ year = {1995},
+ editor = {van Leeuwen, Piet W. M. N. and Morokuma, Keiji
+ and van Lenthe, Joop~H.},
+ number = {18},
+ series = {Catalysis by Metal Compounds},
+ location = {Dordrecht, Netherlands}
+}
+
+@InBook{Muller2006,
+ hyphenation = {british},
+ booktitle = {Crystal Structure Refinement},
+ booksubstitle = {A Crystallographer's Guide to SHELXL},
+ bookauthor = {M{\"u}ller, Peter and Herbst-Irmer, Regine
+ and Spek, Anthony L. and Schneider, Thomas R. and Sawaya,
+ Michael R.},
+ publisher = {International Union of Crystallography and
+ Oxford University Press},
+ location = {Oxford, United Kingdom},
+ year = {2006},
+ title = {A Short History of SHELXL},
+ author = {Sheldrick, George M.}
+}
+
+@Collection{Negishi2002,
+ hyphenation = {american},
+ title = {Handbook of Organopalladium Chemistry for
+ Organic Synthesis},
+ publisher = {Wiley Interscience},
+ location = {New York},
+ year = {2002},
+ editor = {Negishi, Ei-Ichi}
+}
+
+@Article{Ofele1968,
+ hyphenation = {german},
+ author = {{\"O}fele, K.},
+ title = {1,3-{D}imethyl-4-imidazolinyliden-(2)-pentacarbonylchrom
+ ein neuer {\"U}bergangsmetall-carben-komplex},
+ journaltitle = {J.~Organomet. Chem.},
+ year = {1968},
+ volume = {12},
+ pages = {P42--P43},
+ number = {3},
+ annotation = {One entry of a \texttt{set}}
+}
+
+@Manual{OxfordDiffraction2006,
+ hyphenation = {british},
+ organization = {Oxford Diffraction Ltd.},
+ title = {ABSPACK, CrysAlis CCD and CrysAlis RED},
+ location = {Abingdon, United Kingdom},
+ year = {2006},
+ version = {1.171}
+}
+
+@Article{Rees2000,
+ hyphenation = {british},
+ author = {Bunge, Scott D. and Just, Oliver and Rees, Jr.,
+ William S.},
+ title = {[\{Au[$\mu$-N(SiMe$_3$)$_2$]\}$_4$]: the first
+ base-free gold amide},
+ journaltitle = {Angew. Chem. Int. Ed.},
+ year = {2000},
+ volume = {39},
+ pages = {3082--3084},
+ number = {17},
+ annotation = {An article with ``Jr.'' in the author list.}
+}
+
+@Booklet{Sheldrick1997,
+ hyphenation = {british},
+ title = {SHELX-97: Programs for crystal structure
+ analysis},
+ author = {Sheldrick, George M.},
+ location = {G{\"o}ttingen, Germany},
+ year = {1997},
+ annotation = {A slightly forced example of a
+ \texttt{booklet}}
+}
+
+@Article{Smidt1959,
+ hyphenation = {german},
+ author = {Smidt, J. and Hafner, W. and Jira, R. and
+ Sedlmeier, J. and Sieber, R. and R{\"u}ttinger, R. and
+ Kojer, H.},
+ title = {Katalytische Umsetzungen von Olefinen an
+ Platinmetall-Verbindungen},
+ journaltitle = {Angew. Chem.},
+ year = {1959},
+ volume = {71},
+ pages = {176--182},
+ number = {5},
+ annotation = {A standard chemistry article, with the title in
+ German. This makes no difference for the chemistry styles,
+ but will of course with the standard \textsf{biblatex}
+ styles}
+}
+
+@Article{Smidt1962,
+ hyphenation = {british},
+ author = {Smidt, J{\"u}rgen and Hafner, W. and Jira, R.
+ and Sieber, R. and Sedlmeier, J. and Sabel, A.},
+ title = {The oxidation of olefins with palladium
+ chloride catalysts},
+ journaltitle = {Angew. Chem., Int. Ed. Engl.},
+ year = {1962},
+ volume = {1},
+ pages = {80--88},
+ number = {2},
+ doi = {10.1002/anie.196200801},
+ annotation = {A standard chemistry article, with the title in
+ English}
+}
+
+@Article{Sofield2004,
+ hyphenation = {british},
+ author = {Sofield, Chadwick D. and Walter, Marc D. and
+ Andersen, Richard A.},
+ title = {\{Amidobis[$\eta^5$-1,3-bis\-(trimethylsilyl)\-\relax
+ cyclopentadienyl]titanium(III)\}},
+ journaltitle = {Acta Crystallogr., Sect.~C: Cryst. Struct.
+ Commun.},
+ year = {2004},
+ doi = {10.1107/S0108270104018840},
+ annotation = {An article where the volume and page details
+ have deliberately been omitted, to force the use of the
+ \textsc{doi}}
+}
+
+@Proceedings{Toulouse1980,
+ title = {Proceedings of the 21st International
+ Conference on Coordination Chemistry},
+ venue = {Toulouse, France},
+ year = {1980},
+}
+
+@Article{Wanzlick1962,
+ hyphenation = {british},
+ author = {Wanzlick, H. W.},
+ title = {Aspects of nucleophilic carbene chemistry},
+ journaltitle = {Angew. Chem., Int. Ed. Engl.},
+ year = {1962},
+ volume = {1},
+ pages = {75--80},
+ number = {2},
+ annotation = {One entry of a \texttt{set}}
+}
+
+@Book{Wilson1992,
+ hyphenation = {british},
+ title = {Mathematical, Physical and Chemical Tables},
+ maintitle = {International Tables for Crystallography},
+ publisher = {Kluwer Academic Publishers},
+ year = {1992},
+ editor = {Wilson, A. J. C. and Prince, E.},
+ volume = {C},
+ location = {Dordrecht, Netherlands},
+ edition = {3},
+ annotation = {Compare with data entry for vol.~A},
+}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright at morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `biblatex-chem.bib'. \ No newline at end of file
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.pdf
new file mode 100644
index 0000000000..c5316fb35c
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.pdf
Binary files differ
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.tex b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.tex
new file mode 100644
index 0000000000..8c9690f39a
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/biblatex-chem.tex
@@ -0,0 +1,273 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\documentclass[a4paper]{ltxdoc}
+\usepackage{csquotes,lmodern}
+\usepackage[T1]{fontenc}
+\usepackage[final]{microtype}
+\usepackage{hyperref}
+
+\hypersetup{hidelinks}
+
+\author{Joseph Wright\thanks{E-mail:
+ \href{mailto:joseph.wright@morningstar2.co.uk}
+ {\texttt{joseph.wright@morningstar2.co.uk}}}}
+\title{\pkg{biblatex-chem} -- A set of \pkg{biblatex} implementations of
+ chemistry-related bibliography styles%
+ \footnote{This file describes v1.1x, last revised 2019/08/24.}}
+\date{Released 2019/08/24}
+
+\providecommand*{\opt}[1]{\texttt{#1}}
+\providecommand*{\pkg}[1]{\textsf{#1}}
+
+\let\DescribeOption\DescribeEnv
+
+\RecordChanges
+
+\begin{document}
+
+\maketitle
+
+\begin{abstract}
+ The \pkg{biblatex-chem} bundle is a set of styles for creating bibliographies
+ using \pkg{biblatex} in the style of a number common chemistry journals. The
+ bundle comprises styles based on the conventions of the Royal Society of
+ Chemistry, American Chemical Society and \emph{Angewandte Chemie}. It
+ therefore covers the journal styles of, for example:
+ \begin{itemize}
+ \item \emph{Angewandte Chemie}
+ \item \emph{Biochemistry}
+ \item \emph{Chemical Communications}
+ \item \emph{Chemistry~--~A European Journal}
+ \item \emph{Dalton Transactions}
+ \item \emph{Journal of the American Chemical Society}
+ \item \emph{Organic \& Biomolecular Chemistry}
+ \end{itemize}
+ amongst others.
+\end{abstract}
+
+\section{Introduction}
+
+The \pkg{biblatex} package introduces a completely new method for controlling
+the creation of bibliographies using \BibTeX{}. This makes a great deal of
+flexibility available when creating bibliographies, most of which is much more
+difficult with traditional \BibTeX{} styles.
+
+In order to use \pkg{biblatex}, an entirely new set of appropriate supporting
+styles are needed. This bundle provides a number of styles for chemistry,
+following the rules of some of the most important journals in the field.
+
+\section{The styles}
+
+The bundle currently contains four \pkg{biblatex} style files, each of
+which has its own demonstration document:
+\begin{itemize}
+ \item The \href{file:biblatex-chem-acs.pdf}{\pkg{chem-acs}} style,
+ which covers most American Chemistry Society journals.
+ \item The \href{file:biblatex-chem-angew.pdf}{\pkg{chem-angew}} style,
+ which covers \emph{Angewandte Chemie}
+ \emph{Chemistry~--~A European Journal}.
+ \item The \href{file:biblatex-chem-biochem.pdf}{\pkg{chem-biochem}}
+ style, which covers \emph{Biochemistry} and a small number of other
+ American Chemistry Society journals.
+ \item The \href{file:biblatex-chem-rsc.pdf}{\pkg{chem-rsc}} style,
+ which covers all Royal Society of Chemistry journals.
+\end{itemize}
+
+The four styles can be used to follow the current layout rules of all of the
+journals currently published by the American Chemical Society and the Royal
+Society of Chemistry, plus the journals published by Wiley which use the
+\emph{Angewandte Chemie} format.
+
+The styles use the standard \pkg{biblatex} database requirements. This means
+that a database designed for traditional \pkg{biblatex} use may need some
+editing for optimal output. The accompanying example database
+\texttt{biblatex-chem.bib} shows examples of all of the supported entry types
+with common fields filled in.
+
+\section{Style options}
+
+All of the styles here add a small number of package options to the standard
+set provided by \pkg{biblatex}. This allows the styles to cover the variations
+seen between different journals without needing a very large number of files:
+the American Chemical Society in particular varies the exact details between
+journals.
+
+\DescribeOption{doi}
+\DescribeOption{eprint}
+\DescribeOption{isbn}
+\DescribeOption{url}
+The standard style options \opt{doi}, \opt{eprint} \opt{isbn} and
+\opt{eprint}, as described in the \pkg{biblatex} manual. However, these
+options are turned off as standard by the styles in the \pkg{biblatex-chem}
+bundle. This reflects the fact that these entries may be present in reference
+databases but are not generally included in published bibliographies. Note
+that \textsc{doi} values are printed for journal articles with no pages
+given, even if the \opt{doi} option is \opt{false}
+
+\DescribeOption{subentry}
+In common with the standard \pkg{biblatex} numeric styles, all of the styles
+in the bundle support the boolean \texttt{subentry} option. With this set
+\opt{true}, entries of type \texttt{set} are given individual labels within
+the bibliography.
+
+\DescribeOption{articletitle}
+The use of article titles varies between individual journals. The
+boolean option \opt{articletitle} is available is control this behaviour.
+The standard settings for the \pkg{chem-acs}, \pkg{chem-angew}
+and \pkg{chem-rsc} styles have this option turned off, while the
+\pkg{chem-biochem} sets this option \opt{true}.
+
+\DescribeOption{biblabel}
+The format of the numbers used in the bibliography (the \enquote{bibliography
+label}) varies from journal to journal even if the same general style is used.
+The \opt{biblabel} option allows the user to easily set the format used. This
+option takes a value from the list: \opt{parens}, \opt{brackets}, \opt{plain}
+and \opt{dot}.
+
+\DescribeOption{chaptertitle}
+The option boolean \opt{chaptertitle} option is provided to allow flexibility
+for the inclusion of chapter titles for \texttt{inbook} and
+\texttt{incollection} entries. The standard setting is \opt{false} for all
+styles in the bundle.
+
+\DescribeOption{pageranges}
+The use of full page ranges varies between journals and indeed between
+different papers in individual journals. The \opt{pageranges} boolean option
+is available to turn on and off printing of full page ranges, thus allowing
+printing of only the first page even when the database contains the full
+page range. This option is set \opt{true} as standard.
+
+\section{Related entries}
+
+References to related literature can be handled automatically by the Biber
+back-end. This is particularly useful for references to \emph{Angewandte
+Chemie}, which should be given both to the German and English editions of
+the journal. The example database shows this in action, with a paper in the
+German version linked to one in the English edition (see the entry
+\texttt{Dehnicke1981}).
+
+\section{New styles}
+
+The current set of styles here is intended to form a strong base for chemists.
+However, there will be the need for other styles to be created. The package
+author welcomes suggestions for other styles for inclusion. It would also be
+good to keep all chemistry-related \pkg{biblatex} styles in one bundle. Others
+working on chemistry styles for \pkg{biblatex} are welcome to send them to the
+bundle maintainer so they can be incorporated here.
+
+\section{Errors and omissions}
+
+Suggestions for improvement and bug reports can be logged in the package issue
+database, found at
+\url{https://bitbucket.org/josephwright/biblatex-chem/issues}, or can
+be sent by e-mail to
+\href{mailto:joseph.wright@morningstar2.co.uk}
+ {\texttt{joseph.wright@morningstar2.co.uk}}.
+
+\changes{v1.0}{2010/11/20}{First stable release}
+\changes{v1.0a}{2010/12/22}{Format \enquote{\emph{et al.}}~in italics
+ when using \texttt{chem-rsc} style}
+\changes{v1.0b}{2011/01/10}{Require \pkg{biblatex} v1.1}
+\changes{v1.0b}{2011/01/10}{Use new \opt{maxbibnames} option such
+ that bibliographies print all authors but citations use truncated
+ lists when necessary}
+\changes{v1.0c}{2011/01/11}{Add version history for stable releases}
+\changes{v1.0d}{2011/01/17}{Corrections for formatting of
+ optionally-included article and chapter titles}
+\changes{v1.0d}{2011/01/17}{Include additional punctuation tracker
+ corrections for non-English bibliographies}
+\changes{v1.1}{2011/08/15}{Styles revised to work with \pkg{biblatex} v1.6}
+\changes{v1.1a}{2011/08/16}{Turn off standard \opt{url} option by default}
+\changes{v1.1a}{2011/08/16}{Reintroduce \opt{chaptertitle} option for
+ \pkg{chem-angew} and \pkg{chem-rsc} styles}
+\changes{v1.1a}{2011/08/16}{Turn off standard \opt{eprint}
+ and \opt{isbn} options by default}
+\changes{v1.1b}{2011/08/16}{Further documentation improvements}
+\changes{v1.1b}{2011/08/16}{Re-introduce the \opt{biblabel} option}
+\changes{v1.1c}{2011/08/17}{Correct bug in entries with no date in
+ \pkg{chem-acs} and \pkg{chem-acs} styles}
+\changes{v1.1d}{2011/09/25}{Fix a few log warnings: no change to output}
+\changes{v1.1e}{2011/10/14}{Print edition only once for \texttt{manual} entries
+ in \pkg{chem-angew} and \pkg{chem-rsc} styles}
+\changes{v1.1f}{2012/02/05}{Correct formatting of \texttt{report} entries in
+ \pkg{chem-acs} style}
+\changes{v1.1g}{2012/05/18}{Fix issue with \texttt{inbook} entries which
+ lack distinct \texttt{author} and \texttt{bookauthor}}
+\changes{v1.1h}{2012/08/16}{Fix appearance of author names in text when
+ exactly two authors are given}
+\changes{v1.1i}{2012/10/14}{Correct treatment of prefixes with \texttt{acs}
+ style}
+\changes{v1.1j}{2013/01/27}{Update styles to use \texttt{related} information
+ if available}
+\changes{v1.1k}{2013/02/11}{Fix error in name formatting with \texttt{biochem}
+ style}
+\changes{v1.1l}{2013/10/09}{Fix extraneous comma in author list with
+ \texttt{rsc} style}
+\changes{v1.1m}{2014/11/14}{Move position of edition for book records in
+ \texttt{angew} style}
+\changes{v1.1n}{2016/02/26}{Use \cs{mkbibitalic} not \cs{mkbibemph} in styles}
+\changes{v1.1n}{2016/02/26}{Improved approach to removing commas from journal
+ titles in \emph{Angew. Chem.} style}
+\changes{v1.1o}{2016/03/09}{Track \pkg{biblatex} changes}
+\changes{v1.1p}{2016/03/13}{Ensure style works with both backends}
+\changes{v1.1q}{2016/09/14}{Print year only for date fields}
+\changes{v1.1q}{2016/09/14}{Omit \texttt{language} field in bibliography}
+\changes{v1.1r}{2016/12/26}{Track \pkg{biblatex} core changes}
+\changes{v1.1s}{2017/02/01}{Remove a stray space}
+\changes{v1.1t}{2017/08/09}{Improve formatting for \texttt{online} entries
+ in \texttt{acs} and \texttt{biochem} styles}
+\changes{v1.1t}{2017/08/09}{Update some internals}
+\changes{v1.1u}{2018/01/24}{Update some aspects of name formatting}
+\changes{v1.1v}{2018/09/06}{Documentation tweaks}
+\changes{v1.1w}{2018/10/18}{Bring \texttt{related} support in line with
+ \pkg{biblatex} core}
+\changes{v1.1x}{2019-08-24}{Better formatting when article titles are included}
+
+\PrintChanges
+
+\end{document}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `biblatex-chem.tex'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-acs.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-acs.bbx
new file mode 100644
index 0000000000..3d33792c48
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-acs.bbx
@@ -0,0 +1,770 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{chem-acs.bbx}[2019/08/24 v1.1x biblatex bibliography style]
+
+% Load the standard style to avoid copy-pasting unnecessary material
+\RequireBibliographyStyle{numeric-comp}
+
+% New options
+\newtoggle{bbx:articletitle}
+\newtoggle{bbx:chaptertitle}
+\newtoggle{bbx:pageranges}
+\DeclareBibliographyOption{articletitle}[true]{%
+ \settoggle{bbx:articletitle}{#1}%
+}
+\DeclareBibliographyOption{chaptertitle}[true]{%
+ \settoggle{bbx:chaptertitle}{#1}%
+}
+\DeclareBibliographyOption{pageranges}[true]{%
+ \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
+ {
+ date = year ,
+ doi = false ,
+ eprint = false ,
+ giveninits = true ,
+ isbn = false ,
+ maxnames = 15 ,
+ maxcitenames = 2 ,
+ pageranges = true ,
+ url = false ,
+ useprefix = true
+ }
+
+% Modify the name format
+\@ifpackageloaded{biblatex_legacy}
+ {
+ \DeclareNameFormat{default}{%
+ \renewcommand*{\multinamedelim}{\addsemicolon\addspace}%
+ \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}%
+ \usebibmacro{name:andothers}%
+ }
+
+ \DeclareNameFormat{editor}{%
+ \renewcommand*{\multinamedelim}{\addcomma\addspace}%
+ \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}%
+ \usebibmacro{name:andothers}%
+ }
+ }
+ {
+ \DeclareNameFormat{default}{%
+ \renewcommand*{\multinamedelim}{\addsemicolon\addspace}%
+ \nameparts{#1}%
+ \usebibmacro{name:family-given}
+ {\namepartfamily}
+ {\namepartgiveni}
+ {\namepartprefix}
+ {\namepartsuffix}%
+ \usebibmacro{name:andothers}%
+ }
+
+ \DeclareNameFormat{editor}{%
+ \renewcommand*{\multinamedelim}{\addcomma\addspace}%
+ \nameparts{#1}%
+ \usebibmacro{name:family-given}
+ {\namepartfamily}
+ {\namepartgiveni}
+ {\namepartprefix}
+ {\namepartsuffix}%
+ \usebibmacro{name:andothers}%
+ }
+ }
+
+% Custom field formats
+\DeclareFieldFormat[article]{date}{\mkbibbold{#1}}
+\DeclareFieldFormat{doi}{%
+ DOI\addcolon\space
+ \ifhyperref
+ {\href{https://doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}%
+}
+\DeclareFieldFormat{labelnumberwidth}{\mkbibparens{#1}}
+\DeclareFieldFormat[article]{pages}{%
+ \iftoggle{bbx:pageranges}{#1}{\mkfirstpage{#1}}%
+}
+\DeclareFieldFormat*{title}{#1}
+\DeclareFieldFormat[report]{title}{\mkbibitalic{#1}}
+\DeclareFieldFormat[book, collection, inproceedings]{title}{\mkbibitalic{#1}}
+\DeclareFieldFormat{url}{\url{#1}}
+\DeclareFieldFormat[article]{volume}{\mkbibitalic{#1}}
+
+% Simple modifications to punctuation, etc.
+\renewcommand*{\begrelateddelim}{\addsemicolon\space}%
+\renewcommand*{\finalnamedelim}{%
+ \ifcurrentname{labelname}
+ {%
+ \ifnumgreater{\value{liststop}}{2}
+ {\finalandcomma}
+ {}%
+ \addspace
+ \bibstring{and}%
+ \space
+ }
+ {\multinamedelim}%
+}
+\renewcommand*{\intitlepunct}{\addspace}
+\renewcommand*{\labelnamepunct}{\addspace}
+\renewcommand*{\newunitpunct}{\addcomma\addspace}
+
+% Bibliography strings
+\DefineBibliographyStrings{english}{%
+ chapter = Chapter ,
+ editor = Ed\adddot ,
+ editors = Eds\adddot ,
+ in = In ,
+ page = p ,
+ pages = pp ,
+ patentus = US Patent ,
+ phdthesis = Ph.D.\space Thesis ,
+ urlseen = accessed ,
+ volume = Vol\adddot
+}
+
+% Bibliography macros
+\renewbibmacro*{byholder}{%
+ \ifnameundef{holder}
+ {}
+ {%
+ \printtext[parens]{\printnames{holder}}%
+ \adddot
+ }%
+}
+
+\renewbibmacro*{date}{%
+ \iffieldundef{year}
+ {}
+ {\printtext[date]{\printdate}}%
+}
+\renewbibmacro*{event+venue+date}{%
+ \printfield{eventtitle}%
+ \ifboolexpr{
+ test {\iffieldundef{venue}}
+ and
+ test {\iffieldundef{eventyear}}
+ }
+ {}
+ {%
+ \printfield{venue}%
+ \newunit
+ \printeventdate
+ \newunit
+ }%
+}
+
+\renewbibmacro*{journal+issuetitle}{%
+ \usebibmacro{journal}%
+ \setunit*{\addspace}%
+ \usebibmacro{date}%
+ \newunit
+ \usebibmacro{volume+number+eid}%
+ \newunit
+}
+
+\renewbibmacro*{maintitle+booktitle}{%
+ \iffieldundef{maintitle}
+ {}
+ {%
+ \usebibmacro{maintitle}%
+ \newunit\newblock
+ }%
+ \usebibmacro{booktitle}%
+ \newunit
+}
+
+\renewbibmacro*{maintitle+title}{%
+ \iffieldsequal{maintitle}{title}
+ {%
+ \clearfield{maintitle}%
+ \clearfield{mainsubtitle}%
+ \clearfield{maintitleaddon}%
+ }
+ {%
+ \iffieldundef{maintitle}
+ {}
+ {\usebibmacro{maintitle}}%
+ \newunit\newblock
+ }%
+ \usebibmacro{title}%
+ \newunit
+}
+
+\renewbibmacro*{note+pages}{%
+ \printfield{note}%
+ \setunit{\bibpagespunct}%
+ \printfield{pages}%
+ \iffieldundef{pages}
+ {%
+ \printfield{doi}%
+ \clearfield{doi}%
+ }%
+ {%
+ \iftoggle{bbx:doi}
+ {}
+ {\clearfield{doi}}%
+ }%
+}
+
+\renewbibmacro*{publisher+location+date}{%
+ \printlist{publisher}%
+ \iflistundef{publisher}
+ {\newunit}
+ {\setunit*{\addcolon\space}}%
+ \printlist{location}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+ \newunit
+}
+
+\newbibmacro*{related:translatedas}[1]{%
+ \entrydata{#1}{%
+ \usebibmacro{journal+issuetitle}%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit
+ \usebibmacro{note+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ }%
+}
+
+\renewbibmacro*{series+number}{%
+ \printfield{series}%
+ \setunit*{\addspace}%
+ \printfield{number}%
+ \newunit
+ \iffieldundef{series}
+ {}
+ {%
+ \printfield{volume}%
+ \clearfield{volume}%
+ \newunit
+ }%
+}
+
+\renewbibmacro*{volume+number+eid}{%
+ \printfield{volume}%
+ \setunit*{\addspace}%
+ \printfield{eid}%
+}
+
+% New bibliography drivers, using the required order of fields. These
+% are mainly copied from standard.bbx then modified.
+\DeclareBibliographyDriver{article}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \iftoggle{bbx:articletitle}
+ {%
+ \usebibmacro{title}%
+ \printunit{\adddot}%
+ }
+ {}%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \printfield{version}%
+ \setunit{\addspace}%
+ \usebibmacro{journal+issuetitle}%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit
+ \usebibmacro{note+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{editor+others}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{publisher+location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{volume}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \setunit{\addsemicolon\space}%
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{booklet}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{volume}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{collection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \newunit
+ \printlist{language}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{editor+others}%
+ \newunit\newblock
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{publisher+location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{volume}
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{inbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit
+ \iftoggle{bbx:chaptertitle}
+ {\usebibmacro{title}}
+ {}%
+ \setunit{\addspace}%
+ \usebibmacro{in:}%
+ \usebibmacro{bybookauthor}%
+ \setunit{\addspace}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{editor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{publisher+location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{colume}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{incollection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit
+ \iftoggle{bbx:chaptertitle}
+ {\usebibmacro{title}}
+ {}%
+ \setunit{\addspace}%
+ \usebibmacro{in:}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{editor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{publisher+location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{volume}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+\DeclareBibliographyDriver{inproceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \setunit{\addspace}%
+ \usebibmacro{in:}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{event+venue+date}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{volumes}%
+ \setunit{\addsemicolon\space}%
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{volume}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{manual}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{online}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \printunit{\addspace}%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit\newblock
+ \iftoggle{bbx:eprint}
+ {\usebibmacro{eprint}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{url+urldate}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{patent}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\addspace}%
+ \usebibmacro{byholder}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \usebibmacro{byauthor}%
+ \setunit{\addspace}%
+ \printfield{type}%
+ \newunit
+ \printfield{number}%
+ \iflistundef{location}
+ {}
+ {\setunit*{\addspace}%
+ \printtext[parens]{%
+ \printlist[][-\value{listtotal}]{location}}}%
+ \newunit\newblock
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{date}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{report}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \usebibmacro{byauthor}%
+ \setunit{\addsemicolon\space}%
+ \printfield{type}%
+ \setunit*{\addspace}%
+ \printfield{number}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{institution+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isrn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `chem-acs.bbx'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-acs.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-acs.cbx
new file mode 100644
index 0000000000..353cc55721
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-acs.cbx
@@ -0,0 +1,57 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{chem-acs.cbx}[2019/08/24 v1.1x biblatex citation style]
+
+\RequireCitationStyle{numeric-comp}
+
+\ExecuteBibliographyOptions
+ {
+ autocite = superscript ,
+ autopunct = true ,
+ sorting = none
+ }
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `chem-acs.cbx'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-angew.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-angew.bbx
new file mode 100644
index 0000000000..4de530d3c0
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-angew.bbx
@@ -0,0 +1,740 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{chem-angew.bbx}[2019/08/24 v1.1x biblatex bibliography style]
+
+% Load the standard style to avoid copy-pasting unnecessary material
+\RequireBibliographyStyle{numeric-comp}
+
+% New options
+\newtoggle{bbx:articletitle}
+\newtoggle{bbx:chaptertitle}
+\newtoggle{bbx:pageranges}
+\DeclareBibliographyOption{articletitle}[true]{%
+ \settoggle{bbx:articletitle}{#1}%
+}
+\DeclareBibliographyOption{chaptertitle}[true]{%
+ \settoggle{bbx:chaptertitle}{#1}%
+}
+\DeclareBibliographyOption{pageranges}[true]{%
+ \settoggle{bbx:pageranges}{#1}%
+}
+
+\DeclareBibliographyOption{biblabel}{%
+ \ifstrequal{#1}{plain}
+ {\DeclareFieldFormat{labelnumberwidth}{##1}}
+ {%
+ \ifstrequal{#1}{parens}
+ {\DeclareFieldFormat{labelnumberwidth}{\mkbibparens{##1}}}%
+ {%
+ \ifstrequal{#1}{dot}
+ {\DeclareFieldFormat{labelnumberwidth}{##1\adddot\midsentence}}
+ {\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{##1}}}%
+ }%
+ }%
+}
+
+% Alter settings that carry through from biblatex
+\ExecuteBibliographyOptions
+ {
+ date = year ,
+ doi = false ,
+ eprint = false ,
+ giveninits = true ,
+ isbn = false ,
+ maxnames = 999 ,
+ maxcitenames = 2 ,
+ pageranges = true ,
+ url = false
+ }
+
+% Modify the name format
+\@ifpackageloaded{biblatex_legacy}
+ {
+ \DeclareNameFormat{default}{%
+ \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}%
+ \usebibmacro{name:andothers}%
+ }
+ }
+ {
+ \DeclareNameFormat{default}{%
+ \nameparts{#1}%
+ \usebibmacro{name:given-family}
+ {\namepartfamily}
+ {\namepartgiveni}
+ {\namepartprefix}
+ {\namepartsuffix}%
+ \usebibmacro{name:andothers}%
+ }
+ }
+
+% Custom field formats
+\DeclareFieldFormat[inproceedings]{booktitle}{#1}
+\DeclareFieldFormat{date}{\mkbibbold{#1}}
+\DeclareFieldFormat{doi}{%
+ DOI\space
+ \ifhyperref
+ {\href{https://doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}%
+}
+\DeclareFieldFormat{journaltitle}{\mkbibitalic{#1}\isdot}
+\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}}
+\DeclareFieldFormat[article]{pages}{%
+ \iftoggle{bbx:pageranges}{#1}{\mkfirstpage{#1}}%
+}
+\DeclareFieldFormat{removecomma}{\mkbibnocomma{#1}}
+\DeclareFieldFormat[booklet, manual, online, proceedings, report, misc]
+ {title}{#1}
+\DeclareFieldFormat[patent]{type}{%
+ \ifbibstring{#1}
+ {\mkbibitalic{\bibstring{#1}}}
+ {\mkbibitalic{#1}}%
+}
+\DeclareFieldFormat{url}{\url{#1}}
+\DeclareFieldFormat*{volume}{%
+ \mkbibitalic{\bibstring{volume}~#1}%
+}
+\DeclareFieldFormat[article]{volume}{\mkbibitalic{#1}}
+
+% Simple modifications to punctuation, etc.
+\renewcommand*{\begrelateddelim}{\addsemicolon\space}%
+\renewcommand*{\finalnamedelim}{%
+ \ifcurrentname{labelname}
+ {%
+ \ifnumgreater{\value{liststop}}{2}
+ {\finalandcomma}
+ {}%
+ \addspace
+ \bibstring{and}%
+ \space
+ }
+ {\multinamedelim}%
+}
+\renewcommand*{\intitlepunct}{\addspace}
+\ifdef{\mkbibnamesuffix}
+ {\renewcommand*{\mkbibnamesuffix}}
+ {\renewcommand*{\mkbibnameaffix}}%
+ [1]{\addcomma\space#1}
+\renewcommand*{\newunitpunct}{\addcomma\addspace}
+
+% Bibliography strings
+\DefineBibliographyStrings{english}{%
+ chapter = Chapter ,
+ editor = Ed\adddot ,
+ editors = Eds\adddot ,
+ patentus = US Pat\adddot,
+ volume = Vol\adddot
+}
+
+% Bibliography macros
+\renewbibmacro*{byeditor+others}{%
+ \ifnameundef{editor}
+ {}
+ {%
+ \printtext[parens]{%
+ \usebibmacro{editorstrg}%
+ \setunit{\addcolon\addspace}%
+ \printnames[byeditor]{editor}%
+ \clearname{editor}%
+ \newunit
+ }%
+ }%
+ \usebibmacro{byeditorx}%
+ \usebibmacro{bytranslator+others}%
+}
+
+\renewbibmacro*{byholder}{%
+ \ifnameundef{holder}
+ {}
+ {\printtext[parens]{\printnames{holder}}}%
+}
+
+\renewbibmacro*{date}{%
+ \iffieldundef{year}
+ {}
+ {\printtext[date]{\printdate}}%
+}
+
+\renewbibmacro*{event+venue+date}{%
+ \printfield{eventtitle}%
+ \ifboolexpr{
+ test {\iffieldundef{venue}}
+ and
+ test {\iffieldundef{eventyear}}
+ }
+ {}
+ {%
+ \printfield{venue}%
+ \newunit
+ \printeventdate
+ \newunit
+ }%
+}
+
+\renewbibmacro*{institution+location+date}{%
+ \printlist{institution}%
+ \newunit
+ \printlist{location}%
+ \newunit
+ \usebibmacro{date}%
+ \newunit
+}
+
+\renewbibmacro*{journal}{%
+ \iffieldundef{journaltitle}
+ {}
+ {%
+ \printtext[journaltitle]{%
+ \printfield[removecomma]{journaltitle}%
+ \setunit{\subtitlepunct}%
+ \printfield[removecomma]{journalsubtitle}%
+ }%
+ }%
+}
+
+\renewbibmacro*{journal+issuetitle}{%
+ \usebibmacro{journal}%
+ \setunit*{\addspace}%
+ \iffieldundef{series}
+ {}
+ {\newunit
+ \printfield{series}%
+ \setunit{\addspace}}%
+ \usebibmacro{date}%
+ \newunit
+ \printfield{volume}%
+ \newunit
+}
+
+\renewbibmacro*{maintitle}{%
+ \ifboolexpr{
+ test {\iffieldundef{maintitle}}
+ and
+ test {\iffieldundef{mainsubtitle}}
+ }
+ {}
+ {%
+ \printtext[maintitle]{%
+ \printfield[titlecase]{maintitle}%
+ \setunit{\subtitlepunct}%
+ \printfield[parens]{mainsubtitle}%
+ }%
+ \newunit
+ }%
+ \printfield{maintitleaddon}%
+}
+
+\renewbibmacro*{maintitle+booktitle}{%
+ \iffieldundef{maintitle}
+ {}
+ {%
+ \usebibmacro{maintitle}%
+ \newunit\newblock
+ }%
+ \usebibmacro{booktitle}%
+ \newunit
+ \iffieldundef{volume}
+ {}
+ {%
+ \iffieldundef{series}
+ {%
+ \printfield{volume}%
+ \printfield{part}%
+ }
+ {}%
+ }%
+ \newunit
+}
+
+\renewbibmacro*{maintitle+title}{%
+ \iffieldsequal{maintitle}{title}
+ {
+ \clearfield{maintitle}%
+ \clearfield{mainsubtitle}%
+ \clearfield{maintitleaddon}%
+ }
+ {%
+ \iffieldundef{maintitle}
+ {}
+ {%
+ \usebibmacro{maintitle}%
+ \newunit
+ }%
+ }%
+ \usebibmacro{title}%
+ \newunit
+ \iffieldundef{volume}
+ {}
+ {%
+ \iffieldundef{series}
+ {%
+ \printfield{volume}%
+ \printfield{part}%
+ }
+ {}%
+ }%
+ \newunit
+ \printfield{edition}%
+ \newunit
+}
+
+\renewbibmacro*{note+pages}{%
+ \printfield{note}%
+ \setunit{\bibpagespunct}%
+ \printfield{pages}%
+ \iffieldundef{pages}
+ {%
+ \printfield{doi}%
+ \clearfield{doi}%
+ }%
+ {%
+ \iftoggle{bbx:doi}
+ {}
+ {\clearfield{doi}}%
+ }%
+}
+
+\renewbibmacro*{publisher+location+date}{%
+ \printlist{publisher}%
+ \newunit
+ \printlist{location}%
+ \newunit
+ \usebibmacro{date}%
+ \newunit
+}
+
+\newbibmacro*{related:translatedas}[1]{%
+ \entrydata{#1}{%
+ \usebibmacro{journal+issuetitle}%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit
+ \usebibmacro{note+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ }%
+}
+
+% Specialised functions for manipulating data, where the biblatex
+% kernel does not provide a suitable function.
+\newcommand*\mkbibnocomma[1]{%
+ \in@{,}{#1}%
+ \ifin@
+ \expandafter\bbx@no@comma
+ \else
+ \expandafter\@firstofone
+ \fi
+ {#1}%
+}
+\newcommand*\bbx@no@comma[1]{%
+ \bbx@no@comma@aux#1,\@nil,%
+}
+\newcommand\bbx@no@comma@aux{}
+\def\bbx@no@comma@aux#1,{%
+ \ifx\@nil#1\else #1\expandafter\bbx@no@comma@aux\fi
+}
+
+% New bibliography drivers, using the required order of fields. These
+% are mainly copied from standard.bbx then modified.
+\DeclareBibliographyDriver{article}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \iftoggle{bbx:articletitle}
+ {%
+ \usebibmacro{title}%
+ \newunit
+ }
+ {}%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit\newblock
+ \usebibmacro{journal+issuetitle}%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit
+ \usebibmacro{note+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{collection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{inbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit
+ \iftoggle{bbx:chaptertitle}
+ {\usebibmacro{title}}
+ {}%
+ \setunit{\addspace}%
+ \usebibmacro{in:}%
+ \usebibmacro{bybookauthor}%
+ \setunit*{\newunitpunct}\newblock
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{incollection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit
+ \iftoggle{bbx:chaptertitle}
+ {\usebibmacro{title}}
+ {}%
+ \setunit{\addspace}%
+ \usebibmacro{in:}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{inproceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \setunit{\addspace}%
+ \usebibmacro{in:}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{event+venue+date}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{manual}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{patent}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit*{\addspace}%
+ \usebibmacro{byholder}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{number}%
+ \iflistundef{location}
+ {}
+ {\setunit*{\addspace}%
+ \printtext[parens]{%
+ \printlist[][-\value{listtotal}]{location}}}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{date}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{thesis}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \usebibmacro{institution+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `chem-angew.bbx'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-angew.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-angew.cbx
new file mode 100644
index 0000000000..cba9538058
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-angew.cbx
@@ -0,0 +1,75 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{chem-angew.cbx}[2019/08/24 v1.1x biblatex citation style]
+
+\RequireCitationStyle{numeric-comp}
+
+\ExecuteBibliographyOptions
+ {
+ autocite = superscript,
+ autopunct = true ,
+ sorting = none
+ }
+
+\newcommand*\mkbibsuperbracket[1]{%
+ \mkbibsuperscript{\mkbibbrackets{#1}}%
+}
+
+\DeclareCiteCommand{\supercite}[\mkbibsuperbracket]
+ {\usebibmacro{cite:init}%
+ \let\multicitedelim=\supercitedelim
+ \iffieldundef{prenote}
+ {}
+ {\BibliographyWarning{Ignoring prenote argument}}%
+ \iffieldundef{postnote}
+ {}
+ {\BibliographyWarning{Ignoring postnote argument}}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite:comp}}
+ {}
+ {\usebibmacro{cite:dump}}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `chem-angew.cbx'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-biochem.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-biochem.bbx
new file mode 100644
index 0000000000..0b072056d4
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-biochem.bbx
@@ -0,0 +1,742 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{chem-biochem.bbx}[2019/08/24 v1.1x biblatex bibliography style]
+
+% Load the standard style to avoid copy-pasting unnecessary material
+\RequireBibliographyStyle{numeric-comp}
+
+% New options
+\newtoggle{bbx:articletitle}
+\newtoggle{bbx:chaptertitle}
+\newtoggle{bbx:pageranges}
+\DeclareBibliographyOption{articletitle}[true]{%
+ \settoggle{bbx:articletitle}{#1}%
+}
+\DeclareBibliographyOption{chaptertitle}[true]{%
+ \settoggle{bbx:chaptertitle}{#1}%
+}
+\DeclareBibliographyOption{pageranges}[true]{%
+ \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
+ {
+ articletitle = true ,
+ date = year ,
+ doi = false ,
+ eprint = false ,
+ giveninits = true ,
+ isbn = false ,
+ maxnames = 15 ,
+ maxcitenames = 2 ,
+ pageranges = true ,
+ url = false ,
+ urldate = long ,
+ useprefix = true
+ }
+
+% Modify the name format
+\@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}{%
+ DOI\addcolon\space
+ \ifhyperref
+ {\href{https://doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}%
+}
+\DeclareFieldFormat{labelnumberwidth}{\mkbibparens{#1}}
+\DeclareFieldFormat[article]{pages}{%
+ \iftoggle{bbx:pageranges}{#1}{\mkfirstpage{#1}}%
+}
+\DeclareFieldFormat*{title}{#1}
+\DeclareFieldFormat[book, collection, inproceedings]{title}{\mkbibitalic{#1}}
+\DeclareFieldFormat{url}{\url{#1}}
+\DeclareFieldFormat[article]{volume}{\mkbibitalic{#1}}
+
+% Simple modifications to punctuation, etc.
+\renewcommand*{\begrelateddelim}{\addsemicolon\space}%
+\renewcommand*{\finalnamedelim}{%
+ \finalandcomma
+ \addspace
+ \bibstring{and}%
+ \space
+}
+\renewcommand*{\intitlepunct}{\addspace}
+\renewcommand*{\labelnamepunct}{\addspace}
+\ifdef{\mkbibnamesuffix}
+ {\renewcommand*{\mkbibnamesuffix}}
+ {\renewcommand*{\mkbibnameaffix}}%
+ [1]{\addcomma\space#1}
+\renewcommand*{\newunitpunct}{\addcomma\addspace}
+
+% Bibliography strings
+\DefineBibliographyStrings{english}{%
+ chapter = Chapter ,
+ editor = Ed\adddot ,
+ editors = Eds\adddot ,
+ in = In ,
+ page = p ,
+ pages = pp ,
+ patentus = US Patent ,
+ phdthesis = Ph.D.\space Thesis ,
+ urlseen = accessed ,
+ volume = Vol\adddot
+}
+
+% Bibliography macros
+\renewbibmacro*{byholder}{%
+ \ifnameundef{holder}
+ {}
+ {%
+ \printtext[parens]{\printnames{holder}}%
+ \adddot
+ }%
+}
+
+\renewbibmacro*{event+venue+date}{%
+ \printfield{eventtitle}%
+ \ifboolexpr{
+ test {\iffieldundef{venue}}
+ and
+ test {\iffieldundef{eventyear}}
+ }
+ {}
+ {%
+ \printfield{venue}%
+ \newunit
+ \printeventdate
+ \newunit
+ }%
+}
+
+\renewbibmacro*{journal+issuetitle}{%
+ \usebibmacro{journal}%
+ \setunit*{\addspace}%
+ \usebibmacro{volume+number+eid}%
+ \newunit
+}
+
+\renewbibmacro*{maintitle+booktitle}{%
+ \iffieldundef{maintitle}
+ {}
+ {%
+ \usebibmacro{maintitle}%
+ \newunit\newblock
+ }%
+ \usebibmacro{booktitle}%
+ \newunit
+}
+
+\renewbibmacro*{maintitle+title}{%
+ \iffieldsequal{maintitle}{title}
+ {%
+ \clearfield{maintitle}%
+ \clearfield{mainsubtitle}%
+ \clearfield{maintitleaddon}%
+ }
+ {%
+ \iffieldundef{maintitle}
+ {}
+ {\usebibmacro{maintitle}}%
+ \newunit\newblock
+ }%
+ \usebibmacro{title}%
+ \newunit
+}
+
+\renewbibmacro*{name:family-given}[4]{%
+ \ifuseprefix
+ {\usebibmacro{name:delim}{#3#1}%
+ \usebibmacro{name:hook}{#3#1}%
+ \ifdefvoid{#3}{}
+ {\mkbibnameprefix{#3\isdot}%
+ \ifprefchar{}{\addhighpenspace}}%
+ \mkbibnamefamily{#1\isdot}%
+ \ifdefvoid{#2}{}
+ {\addcomma\addlowpenspace
+ \mkbibnamegiven{#2}\isdot}%
+ \ifdefvoid{#4}{}
+ {\addlowpenspace
+ \mkbibnamesuffix{#4}\isdot}}
+ {\usebibmacro{name:delim}{#1}%
+ \usebibmacro{name:hook}{#1}%
+ \mkbibnamefamily{#1}\isdot
+ \ifboolexpe{%
+ test {\ifdefvoid{#2}}
+ and
+ test {\ifdefvoid{#3}}}
+ {}
+ {\addcomma}%
+ \ifdefvoid{#2}{}
+ {\addlowpenspace
+ \mkbibnamegiven{#2}\isdot}%
+ \ifdefvoid{#3}{}
+ {\addlowpenspace
+ \mkbibnameprefix{#3}\isdot}%
+ \ifdefvoid{#4}{}
+ {\addlowpenspace
+ \mkbibnamesuffix{#4}\isdot}}%
+}
+
+\renewbibmacro*{note+pages}{%
+ \printfield{note}%
+ \setunit{\bibpagespunct}%
+ \printfield{pages}%
+ \iffieldundef{pages}
+ {%
+ \printfield{doi}%
+ \clearfield{doi}%
+ }%
+ {%
+ \iftoggle{bbx:doi}
+ {}
+ {\clearfield{doi}}%
+ }%
+}
+
+\renewbibmacro*{publisher+location+date}{%
+ \printlist{publisher}%
+ \iflistundef{publisher}
+ {\newunit}
+ {\setunit*{\addcolon\space}}%
+ \printlist{location}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+ \newunit
+}
+
+\newbibmacro*{related:translatedas}[1]{%
+ \entrydata{#1}{%
+ \usebibmacro{journal+issuetitle}%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit
+ \usebibmacro{note+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ }%
+}
+
+\renewbibmacro*{series+number}{%
+ \printfield{series}%
+ \setunit*{\addspace}%
+ \printfield{number}%
+ \newunit
+ \iffieldundef{series}
+ {}
+ {%
+ \printfield{volume}%
+ \clearfield{volume}%
+ \newunit
+ }%
+}
+
+\renewbibmacro*{volume+number+eid}{%
+ \printfield{volume}%
+ \setunit*{\addspace}%
+ \printfield{eid}%
+}
+
+% New bibliography drivers, using the required order of fields. These
+% are mainly copied from standard.bbx then modified.
+\DeclareBibliographyDriver{article}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \iffieldundef{year}
+ {}
+ {%
+ \printtext[parens]{\usebibmacro{date}}%
+ \setunit{\adddot\space}%
+ }%
+ \iftoggle{bbx:articletitle}
+ {%
+ \usebibmacro{title}%
+ \printunit{\adddot\space}%
+ }
+ {}%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \printfield{version}%
+ \setunit{\addspace}%
+ \usebibmacro{journal+issuetitle}%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit
+ \usebibmacro{note+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{editor+others}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{publisher+location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{volume}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \setunit{\addsemicolon\space}%
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{booklet}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{volume}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{collection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \newunit
+ \printlist{language}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{editor+others}%
+ \newunit\newblock
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{publisher+location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{volume}
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{inbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit
+ \iftoggle{bbx:chaptertitle}
+ {\usebibmacro{title}}
+ {}%
+ \setunit{\addspace}%
+ \usebibmacro{in:}%
+ \usebibmacro{bybookauthor}%
+ \setunit{\addspace}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{editor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{publisher+location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{colume}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{incollection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit
+ \iftoggle{bbx:chaptertitle}
+ {\usebibmacro{title}}
+ {}%
+ \setunit{\addspace}%
+ \usebibmacro{in:}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{editor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{publisher+location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{volume}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+\DeclareBibliographyDriver{inproceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \setunit{\addspace}%
+ \usebibmacro{in:}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{event+venue+date}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{volumes}%
+ \setunit{\addsemicolon\space}%
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \setunit{\addsemicolon\space}%
+ \printfield{volume}%
+ \setunit{\addsemicolon\space}%
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{manual}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \setunit{\addsemicolon\space}%
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{online}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \printunit{\addspace}%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit\newblock
+ \iftoggle{bbx:eprint}
+ {\usebibmacro{eprint}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{url+urldate}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{patent}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\addspace}%
+ \usebibmacro{byholder}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \usebibmacro{byauthor}%
+ \setunit{\addspace}%
+ \printfield{type}%
+ \newunit
+ \printfield{number}%
+ \iflistundef{location}
+ {}
+ {\setunit*{\addspace}%
+ \printtext[parens]{%
+ \printlist[][-\value{listtotal}]{location}}}%
+ \newunit\newblock
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{date}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `chem-biochem.bbx'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-biochem.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-biochem.cbx
new file mode 100644
index 0000000000..fd272ea7e5
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-biochem.cbx
@@ -0,0 +1,56 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{chem-biochem.cbx}[2019/08/24 v1.1x biblatex citation style]
+
+\RequireCitationStyle{numeric-comp}
+
+\ExecuteBibliographyOptions{sorting = none}
+
+\DeclareFieldFormat{labelnumber}{\mkbibitalic{#1}}
+\renewcommand*\bibleftbracket{(}
+\renewcommand*\bibrightbracket{)\midsentence}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `chem-biochem.cbx'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-rsc.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-rsc.bbx
new file mode 100644
index 0000000000..48815b4f73
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-rsc.bbx
@@ -0,0 +1,673 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementation for
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{chem-rsc.bbx}[2019/08/24 v1.1x biblatex bibliography style]
+
+% Load the standard style to avoid copy-pasting unnecessary material
+\RequireBibliographyStyle{numeric-comp}
+
+% New options
+\newtoggle{bbx:articletitle}
+\newtoggle{bbx:chaptertitle}
+\newtoggle{bbx:pageranges}
+\DeclareBibliographyOption{articletitle}[true]{%
+ \settoggle{bbx:articletitle}{#1}%
+}
+\DeclareBibliographyOption{chaptertitle}[true]{%
+ \settoggle{bbx:chaptertitle}{#1}%
+}
+\DeclareBibliographyOption{pageranges}[true]{%
+ \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
+ {
+ date = year ,
+ doi = false ,
+ eprint = false ,
+ giveninits = true ,
+ isbn = false ,
+ maxnames = 999 ,
+ maxcitenames = 2 ,
+ pageranges = true ,
+ url = false
+ }
+
+% Modify the name format
+\@ifpackageloaded{biblatex_legacy}
+ {
+ \DeclareNameFormat{default}{%
+ \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}%
+ \usebibmacro{name:andothers}%
+ }
+ }
+ {
+ \DeclareNameFormat{default}{%
+ \nameparts{#1}%
+ \usebibmacro{name:given-family}
+ {\namepartfamily}
+ {\namepartgiveni}
+ {\namepartprefix}
+ {\namepartsuffix}%
+ \usebibmacro{name:andothers}%
+ }
+ }
+
+% Custom field formats
+\DeclareFieldFormat[inproceedings]{booktitle}{#1}
+\DeclareFieldFormat{doi}{%
+ DOI\addcolon\space
+ \ifhyperref
+ {\href{https://doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}%
+}
+\DeclareFieldFormat{journaltitle}{\mkbibitalic{#1}\isdot}
+\DeclareFieldFormat{labelnumberwidth}{\mkbibparens{#1}}
+\DeclareFieldFormat[patent]{number}{\mkgroupeddigits{#1}}
+\DeclareFieldFormat[article]{pages}{%
+ \iftoggle{bbx:pageranges}{#1}{\mkfirstpage{#1}}%
+}
+\DeclareFieldFormat[inbook, incollection, proceedings]{title}{#1}
+\DeclareFieldFormat[patent]{type}{%
+ \ifbibstring{#1}
+ {\mkbibitalic{\bibstring{#1}}}
+ {\mkbibitalic{#1}}%
+}
+\DeclareFieldFormat{url}{\url{#1}}
+\DeclareFieldFormat[article]{volume}{\mkbibbold{#1}}
+
+% Simple modifications to punctuation, etc.
+\renewcommand*{\begrelateddelim}{\addsemicolon\space}%
+\renewcommand*{\intitlepunct}{\addspace}
+\renewcommand*{\mkbibnamesuffix}[1]{\addcomma\space#1}
+\renewcommand*{\newunitpunct}{\addcomma\addspace}
+
+\DefineBibliographyExtras{english}{%
+ \renewrobustcmd*{\finalandcomma}{}%
+}
+
+% Bibliography strings
+\DefineBibliographyStrings{english}{%
+ chapter = ch\adddot ,
+ edition = edn\adddot ,
+ patentus = US Pat\adddot ,
+ phdthesis = Ph.D.\space Thesis
+}
+
+% Bibliography macros
+\renewbibmacro*{byeditor+others}{%
+ \ifnameundef{editor}
+ {}
+ {%
+ \usebibmacro{editorstrg}%
+ \setunit{\addspace}%
+ \printnames[byeditor]{editor}%
+ \clearname{editor}%
+ \newunit
+ }%
+ \usebibmacro{byeditorx}%
+ \usebibmacro{bytranslator+others}%
+}
+
+\renewbibmacro*{editorstrg}{%
+ \printtext[editortype]{\bibstring{editor}}%
+}
+
+\renewbibmacro*{event+venue+date}{%
+ \printfield{eventtitle}%
+ \printfield{venue}%
+ \newunit
+ \printeventdate
+ \newunit
+}
+
+\renewbibmacro*{institution+location+date}{%
+ \printlist{institution}%
+ \newunit
+ \printlist{location}%
+ \newunit
+ \usebibmacro{date}%
+ \newunit
+}
+
+\renewbibmacro*{journal+issuetitle}{%
+ \usebibmacro{journal}%
+ \newunit
+ \printdate
+ \newunit
+ \printfield{volume}%
+ \newunit
+}
+
+\renewbibmacro*{maintitle+booktitle}{%
+ \iffieldundef{maintitle}
+ {}
+ {\usebibmacro{maintitle}%
+ \newunit\newblock
+ }%
+ \usebibmacro{booktitle}%
+ \newunit}
+
+\renewbibmacro*{maintitle+title}{%
+ \iffieldsequal{maintitle}{title}
+ {\clearfield{maintitle}%
+ \clearfield{mainsubtitle}%
+ \clearfield{maintitleaddon}}
+ {\iffieldundef{maintitle}
+ {}
+ {\usebibmacro{maintitle}%
+ \newunit\newblock
+ }}%
+ \usebibmacro{title}%
+ \newunit
+}
+
+\renewbibmacro*{note+pages}{%
+ \printfield{note}%
+ \setunit{\bibpagespunct}%
+ \printfield{pages}%
+ \iffieldundef{pages}
+ {%
+ \printfield{doi}%
+ \clearfield{doi}%
+ }%
+ {%
+ \iftoggle{bbx:doi}
+ {}
+ {\clearfield{doi}}%
+ }%
+}
+
+\renewbibmacro*{publisher+location+date}{%
+ \printlist{publisher}%
+ \newunit
+ \printlist{location}%
+ \newunit
+ \printfield{edition}%
+ \newunit
+ \usebibmacro{date}%
+ \newunit
+ \printfield{volume}%
+ \newunit
+}
+
+\newbibmacro*{related:translatedas}[1]{%
+ \entrydata{#1}{%
+ \usebibmacro{journal+issuetitle}%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit
+ \usebibmacro{note+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ }%
+}
+
+% Specialised functions for manipulating data, where the biblatex
+% kernel does not provide a suitable function.
+\newcommand*\mkgroupeddigits[1]{%
+ \ifinteger{#1}
+ {%
+ \bbx@digits@ifmorethanfour{#1}
+ {%
+ \def\@tempa{}%
+ \bbx@digits@separate{}#1\@empty\@empty\@empty
+ }
+ {#1}%
+ }%
+ {#1}%
+}
+
+\newcommand*\bbx@digits@ifmorethanfour[1]{%
+ \bbx@digits@ifmorethanfour@aux#1\@empty\@empty\@empty\@empty
+ \@empty\@nil
+}
+
+\def\bbx@digits@ifmorethanfour@aux#1#2#3#4#5\@nil{%
+ \ifx\@empty#5\@empty
+ \expandafter\@secondoftwo
+ \else
+ \expandafter\@firstoftwo
+ \fi
+}
+
+\newcommand*\bbx@digits@separate[4]{%
+ \ifx\@empty#2\@empty
+ \bbx@digits@print#1\relax
+ \else
+ \ifx\@empty#3\@empty
+ \bbx@digits@print\@empty\@empty#1#2\relax
+ \else
+ \ifx\@empty#4\@empty
+ \bbx@digits@print\@empty#1#2#3\relax
+ \else
+ \bbx@digits@separate@aux{#1#2#3#4}%
+ \fi
+ \fi
+ \fi
+}
+
+\def\bbx@digits@separate@aux#1\fi\fi\fi{%
+ \fi\fi\fi\bbx@digits@separate{#1}%
+}
+
+\newcommand*\bbx@digits@print[4]{%
+ \ifblank{#1}{}{#1}%
+ #2#3%
+ \ifx\relax#4\relax\else
+ \addnbthinspace
+ \expandafter\bbx@digits@print\expandafter#4%
+ \fi
+}
+
+% New bibliography drivers, using the required order of fields. These
+% are mainly copied from standard.bbx then modified.
+\DeclareBibliographyDriver{article}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \iftoggle{bbx:articletitle}
+ {%
+ \usebibmacro{title}%
+ \newunit
+ }
+ {}%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit\newblock
+ \usebibmacro{journal+issuetitle}%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit
+ \usebibmacro{note+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{collection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{inbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \iftoggle{bbx:chaptertitle}
+ {\usebibmacro{title}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \usebibmacro{bybookauthor}%
+ \setunit*{\newunitpunct}\newblock
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{incollection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \iftoggle{bbx:chaptertitle}
+ {\usebibmacro{title}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{inproceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{event+venue+date}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{manual}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{patent}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{number}%
+ \iflistundef{location}
+ {}
+ {\setunit*{\addspace}%
+ \printtext[parens]{%
+ \printlist[][-\value{listtotal}]{location}}}%
+ \newunit\newblock
+ \usebibmacro{byholder}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{date}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{thesis}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \usebibmacro{institution+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}%
+}
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `chem-rsc.bbx'.
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-rsc.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-rsc.cbx
new file mode 100644
index 0000000000..1e00013dfd
--- /dev/null
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-chem/chem-rsc.cbx
@@ -0,0 +1,57 @@
+%% ---------------------------------------------------------------
+%% biblatex-chem --- A set of biblatex implementations of
+%% chemistry-related bibliography styles
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{chem-rsc.cbx}[2019/08/24 v1.1x biblatex citation style]
+
+\RequireCitationStyle{numeric-comp}
+
+\ExecuteBibliographyOptions
+ {
+ autocite = superscript,
+ autopunct = true ,
+ sorting = none
+ }
+
+%%
+%% Copyright (C) 2010-2014,2016-2019 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-chem.bib,
+%% biblatex-chem.tex,
+%% biblatex-chem-acs.tex,
+%% biblatex-chem-angew.tex,
+%% biblatex-chem-biochem.tex,
+%% biblatex-chem-rsc.tex,
+%% chem-acs.bbx,
+%% chem-acs.cbx,
+%% chem-angew.bbx,
+%% chem-angew.cbx,
+%% chem-biochem.bbx,
+%% chem-biochem.cbx,
+%% chem-rsc.bbx and
+%% chem-rsc.cbx,
+%% and the derived files biblatex-chem.pdf,
+%% biblatex-chem-acs.pdf,
+%% biblatex-chem-angew.pdf,
+%% biblatex-chem-biochem.pdf and
+%% biblatex-chem-rsc.pdf.
+%%
+%%
+%% End of file `chem-rsc.cbx'.