diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/biblatex-contrib/biblatex-science |
Initial commit
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-science')
7 files changed, 1228 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-science/LICENSE.md b/macros/latex/contrib/biblatex-contrib/biblatex-science/LICENSE.md new file mode 100644 index 0000000000..69cdc42a1a --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-science/LICENSE.md @@ -0,0 +1,5 @@ +Released under the [LaTeX Project Public +License](http://www.latex-project.org/lppl.txt), v1.3c or later. + +The package has status 'maintained': the current maintainer is +[Joseph Wright](joseph.wright@morningstar2.co.uk).
\ No newline at end of file diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-science/README.md b/macros/latex/contrib/biblatex-contrib/biblatex-science/README.md new file mode 100644 index 0000000000..01351c8c09 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-science/README.md @@ -0,0 +1,13 @@ +biblatex-science - A biblatex implementation of the Science bibliography style +============================================================================== + +The `biblatex-science` package provides an implementation of +the bibliography style of the journal Science for `biblatex`. This +implementation follows standard `biblatex` conventions, and can +be used simply by loading `biblatex` with the appropriate option + + \usepackage[style=science]{biblatex} + +A demonstration database is provided to show how to format +input for the style. + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-science/biblatex-science.bib b/macros/latex/contrib/biblatex-contrib/biblatex-science/biblatex-science.bib new file mode 100644 index 0000000000..1093934c83 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-science/biblatex-science.bib @@ -0,0 +1,410 @@ +%% --------------------------------------------------------------- +%% biblatex-science --- A biblatex implementation of the Science +%% bibliography style +%% 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}, +} + +@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}, +} + +@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}, +} + +@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}, +} + +@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}, +} + +@Online{Corina2006, + title = {CORINA: Generation of 3D coordinates}, + url = {http://www.molecular-networks.com/software/corina/index.html}, + year = {2006}, + urlyear = {2006} +} + +@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, LorrinR.}, + location = {New York}, + edition = {3} +} + +@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}, +} + +@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.}, + howpublished = {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}, +} + +@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}, +} + +@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}, +} + +@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}, +} + +@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.}, +} + +@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}, +} + +@Online{Lancaster2003, + author = {Lancaster, Simon J.}, + title = {Alkylation of boron trifluoride with + pentafluorophenyl Grignard reagent}, + year = {2003}, + urldate = {2008-10-08}, + 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} +} + +@Manual{OxfordDiffraction2006, + hyphenation = {british}, + publisher = {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}, +} + +@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}, +} + +@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}, +} + +@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}, +} + +@Proceedings{Toulouse1980, + title = {Proceedings of the 21st International + Conference on Coordination Chemistry}, + venue = {Toulouse, France}, + year = {1980}, +} + +@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}, +} + +%% +%% Copyright (C) 2010-2013,2016,2018 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 file biblatex-science.bib, +%% biblatex-science.tex, +%% science.bbx and +%% science.cbx, +%% and the derived file science-science.pdf. +%% +%% +%% End of file `biblatex-science.bib'.
\ No newline at end of file diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-science/biblatex-science.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-science/biblatex-science.pdf Binary files differnew file mode 100644 index 0000000000..13a65c5f8f --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-science/biblatex-science.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-science/biblatex-science.tex b/macros/latex/contrib/biblatex-contrib/biblatex-science/biblatex-science.tex new file mode 100644 index 0000000000..3cc9b97710 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-science/biblatex-science.tex @@ -0,0 +1,117 @@ +%% --------------------------------------------------------------- +%% biblatex-science --- A biblatex implementation of the Science +%% bibliography style +%% 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[T1]{fontenc} +\usepackage[backend=biber,style=science]{biblatex} +\usepackage[final]{microtype} +\usepackage{csquotes,lmodern} +\usepackage{hyperref} + +\hypersetup{hidelinks} + +\addbibresource{biblatex-science.bib} + +\author{Joseph Wright\thanks{E-mail: + \href{mailto:joseph.wright@morningstar2.co.uk} + {\texttt{joseph.wright@morningstar2.co.uk}}}} +\title{The \pkg{science} bibliography style for \pkg{biblatex}% + \footnote{This file describes v1.2, last revised 2018/10/18.}} +\date{Released 2018/10/18} + +\providecommand*\opt[1]{\texttt{#1}} +\providecommand*\pkg[1]{\textsf{#1}} + +\RecordChanges + +\begin{document} + +\maketitle + +This package provides a style for \pkg{biblatex} which follows the +guidelines of the journal \emph{Science} +(\url{http://www.sciencemag.org/site/feature/contribinfo/prep/res/refs.xhtml}). +The citation style is numeric and unsorted. The bibliography style follows +the pattern of the layout used in the journal. The style should be loaded +in the usual way +\begin{verbatim} +\usepackage[style=science]{biblatex} +\end{verbatim} +The References section of this document demonstrates the format +generated by the package using the \texttt{biblatex-science.bib} database +of example citations. + +The style introduces one new bibliography string, \texttt{presentedat}: +the text \enquote{presented at the} when printing conference papers. +This may be localized in the usual way. The style also introduces one +new Boolean load-time option, \texttt{articletitle}. When this is +set \texttt{true}, the titles of journal articles are printed: the +journal \emph{Science} does this for the on-line edition but not in +print. + +Suggestions for improvement and bug reports can be logged in the package +issue database, found at +\url{https://github.com/josephwright/biblatex-science/issues}, or can +be sent by e-mail to +\href{mailto:joseph.wright@morningstar2.co.uk} + {\texttt{joseph.wright@morningstar2.co.uk}}. + +\nocite{*} + +\printbibliography + +\changes{v1.0}{2010/11/20}{First stable release} +\changes{v1.0a}{2011/01/10}{Use new \opt{maxbibnames} option in + \pkg{biblatex} v1.1} +\changes{v1.1}{2011/03/13}{Heavily revise style internals to aid + long-term maintenance} +\changes{v1.1}{2011/03/13}{Minor style improvements using updated + guidance from \emph{Science}} +\changes{v1.1}{2011/03/13}{New \texttt{article-title} option to + allow inclusion of titles for journal articles} +\changes{v1.1a}{2012/05/18}{Fix issue with \texttt{inbook} entries which + lack distinct \texttt{author} and \texttt{bookauthor}} +\changes{v1.1b}{2012/06/07}{Remove some extraneous} +\changes{v1.1c}{2012/08/16}{Fix appearance of author names in text when + exactly two authors are given} +\changes{v1.1d}{2013/01/27}{Include related entry data} +\changes{v1.1e}{2016/03/10}{Track \pkg{biblatex} changes} +\changes{v1.1f}{2016/03/13}{Ensure style works with both backends} +\changes{v1.1g}{2016/09/13}{Work properly with \texttt{urldate} option} +\changes{v1.2}{2018/10/18}{Rename \texttt{article-title} to \texttt{articletitle}} +\changes{v1.2}{2018/10/18}{Better \texttt{doi} support} +\changes{v1.2}{2018/10/18}{Better \texttt{related} support} + +\PrintChanges + +\end{document} + +%% +%% Copyright (C) 2010-2013,2016,2018 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 file biblatex-science.bib, +%% biblatex-science.tex, +%% science.bbx and +%% science.cbx, +%% and the derived file biblatex-science.pdf. +%% +%% +%% End of file `biblatex-science.tex'. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-science/science.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-science/science.bbx new file mode 100644 index 0000000000..0c55308786 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-science/science.bbx @@ -0,0 +1,635 @@ +%% --------------------------------------------------------------- +%% biblatex-science --- A biblatex implementation of the Science +%% bibliography style +%% 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{science.bbx}[2018/10/18 v1.2 biblatex bibliography style] + +% Load the standard style to avoid copy-pasting unnecessary material +\RequireBibliographyStyle{numeric-comp} + +% Additional options +\newtoggle{bbx:articletitle} +\DeclareBibliographyOption{articletitle}[true]{% + \settoggle{bbx:articletitle}{#1}% +} + +% Alter settings that carry through from biblatex +\ExecuteBibliographyOptions{ + articletitle = false , + doi = false , + giveninits , + maxnames = 5 , + maxcitenames = 2 , + urldate = year , + useprefix , +} + +% Modify the name format +\DeclareNameFormat{default}{% + \nameparts{#1}% + \usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffix}% + \usebibmacro{name:andothers}% +} + +\renewbibmacro*{name:andothers}{% + \ifboolexpr{ + test {\ifnumequal{\value{listcount}}{\value{liststop}}} + and + test \ifmorenames + } + {% + \ifnumgreater{\value{liststop}}{1} + {\finalandcomma} + {}% + \andothersdelim + \bibstring[\mkbibemph]{andothers}% + } + {}% +} + +% Field formats for the bibliography environment +\DeclareFieldFormat{labelnumberwidth}{#1\adddot} + +% Custom field formats +\DeclareFieldFormat{edition}{% + \ifinteger{#1} + {\bibstring{edition}~#1} + {#1}% +} +\DeclareFieldFormat[inproceedings]{booktitle}{#1} +\DeclareFieldFormat{doi}{% + DOI\space + \ifhyperref + {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}} + {\nolinkurl{#1}}% +} +\DeclareFieldFormat[article]{pages}{#1} +\DeclareFieldFormat[proceedings]{title}{#1} +\DeclareFieldFormat[article]{title}{#1\adddot\space\nopunct} +\DeclareFieldFormat[report]{title}{\mkbibquote{#1}} +\DeclareFieldFormat{url}{\url{#1}} +\DeclareFieldFormat{urldate}{#1} +\DeclareFieldFormat[article,periodical]{volume}{\mkbibbold{#1}} + +% Simple modifications to punctuation, etc. +\renewcommand*{\finalnamedelim}{% + \ifcurrentname{labelname} + {% + \ifnumgreater{\value{liststop}}{2} + {\finalandcomma} + {}% + \addspace + \bibstring{and}% + \space + } + {\multinamedelim}% +} +\renewcommand*\intitlepunct{\addspace} +\renewcommand*\newunitpunct{\addcomma\space} + +% Bibliography strings +\NewBibliographyString{presentedat} + +\DefineBibliographyStrings{english}{ + editor = Ed\adddot , + editors = Eds\adddot , + patentus = US Patent , + presentedat = presented at the\addspace , +} + +% Bibliography macros +\renewbibmacro*{event+venue+date}{% + \printfield{eventtitle}% + \ifboolexpr{ + test {\iffieldundef{venue}} + and + test {\iffieldundef{eventyear}} + } + {} + {% + \printfield{venue}% + \newunit + \iffieldundef{eventyear} + {% + \printdate + \clearfield{year}% + } + {% + \printeventdate + \clearfield{eventyear}% + }% + }% + \newunit +} + +\renewbibmacro*{institution+location+date}{% + \ifboolexpr{ + test {\iflistundef{institution}} + and + test {\iflistundef{location}} + and + test {\iffieldundef{edition}} + and + test {\iffieldundef{date}} + } + {} + {% + \nopunct + \printtext[parens]{% + \printlist{institution}% + \newunit + \printlist{location}% + \newunit + \printfield{edition}% + \newunit + \usebibmacro{date}% + }% + }% +} + +\renewbibmacro*{journal+issuetitle}{% + \usebibmacro{journal}% + \setunit*{\addspace}% + \iffieldundef{series} + {} + {% + \newunit + \printfield{series}% + \setunit{\addspace}% + }% + \printfield{volume}% + \newunit + \usebibmacro{issue}% + \newunit +} + +\renewbibmacro*{publisher+location+date}{% + \ifboolexpr{ + test {\iflistundef{publisher}} + and + test {\iflistundef{location}} + and + test {\iffieldundef{edition}} + and + test {\iffieldundef{date}} + } + {} + {% + \nopunct + \printtext[parens]{% + \printlist{publisher}% + \newunit + \printlist{location}% + \newunit + \printfield{edition}% + \newunit + \usebibmacro{date}% + }% + }% +} + +\renewbibmacro*{url+urldate}{% + \iffieldundef{url} + {} + {% + \printtext[parens]{% + \usebibmacro{urldate}% + \setunit*{\addsemicolon\space}% + \usebibmacro{url}% + }}} + +% 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 + \printlist{language}% + \newunit\newblock + \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 + \iftoggle{bbx:isbn} + {\printfield{issn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \setunit{\addspace}\newblock + \iffieldundef{year} + {\printfield{howpublished}} + {\usebibmacro{issue+date}}% + \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/editor+others/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{volumes}% + \newunit\newblock + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \printfield{volume} + \newunit + \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{editor+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{volumes}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \printfield{volume} + \newunit + \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 + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \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 + \printfield{volume} + \newunit + \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 + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \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 + \printfield{volume} + \newunit + \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 + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \bibstring{presentedat}% + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{event+venue+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{online}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \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}} + {}% + \nopunct + \usebibmacro{url+urldate}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \usebibmacro{related}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \printlist{language}% + \newunit\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{doi+eprint+url}% + \newunit + \nopunct + \printfield[parens]{year}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \printfield{issuetitle}% + \newunit + \usebibmacro{author/editor+others/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{volumes}% + \newunit\newblock + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \printfield{volume} + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \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 + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \printfield{type}% + \newunit\newblock + \printlist{institution}% + \newunit + \printdate + \newunit\newblock + \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}% +} + +%% +%% Copyright (C) 2010-2013,2016,2018 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 file biblatex-science.bib, +%% biblatex-science.tex, +%% science.bbx and +%% science.cbx, +%% and the derived file biblatex-science.pdf. +%% +%% +%% End of file `science.bbx'. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-science/science.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-science/science.cbx new file mode 100644 index 0000000000..128f68dd2a --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-science/science.cbx @@ -0,0 +1,48 @@ +%% --------------------------------------------------------------- +%% biblatex-science --- A biblatex implementation of the Science +%% bibliography style +%% 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{science.cbx}[2018/10/18 v1.2 biblatex citation style] + +\RequireCitationStyle{numeric-comp} + +\ExecuteBibliographyOptions{sorting = none} + +\DeclareFieldFormat{labelnumber}{\mkbibemph{#1}} + +\renewcommand*\bibleftbracket{% + (% ) +} +\renewcommand*\bibrightbracket{% ( + )% + \midsentence +} + +%% +%% Copyright (C) 2010-2013,2016,2018 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 file biblatex-science.bib, +%% biblatex-science.tex, +%% science.bbx and +%% science.cbx, +%% and the derived file biblatex-science.pdf. +%% +%% +%% End of file `science.cbx'. |