diff options
author | Karl Berry <karl@freefriends.org> | 2010-02-17 01:15:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-02-17 01:15:31 +0000 |
commit | 4d09457e93b5e2562c5f6240a56f14967f32ca2e (patch) | |
tree | 7e0f03a6967118ae4638aa2f6522a5874840f862 /Master | |
parent | a345f8db89a34a925ab8a5e75f22bb17777eac8d (diff) |
new/updated package biblatex-chem (16feb10)
git-svn-id: svn://tug.org/texlive/trunk@17069 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
23 files changed, 3745 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/README b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/README new file mode 100644 index 00000000000..9ea2a5aaf02 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/README @@ -0,0 +1,22 @@ +---------------------------------------------------------------- +The biblatex-chem bundle - biblatex styles for chemistry +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 +---------------------------------------------------------------- + +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/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/biblatex-chem.pdf b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/biblatex-chem.pdf Binary files differnew file mode 100644 index 00000000000..0dddb4cdea3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/biblatex-chem.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/biblatex-chem.tex b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/biblatex-chem.tex new file mode 100644 index 00000000000..db4cb99086d --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/biblatex-chem.tex @@ -0,0 +1,212 @@ +\documentclass[a4paper]{article} +\usepackage{lmodern,mathpazo,courier,helvet,multicol} +\usepackage[style=chem-rsc,hyperref]{biblatex} +\usepackage[colorlinks]{hyperref} +\bibliography{biblatex-chem} +\reversemarginpar +\makeatletter +\newcommand*{\DescribeOption}[1]{% + \leavevmode + \@bsphack + \marginpar{\texttt{#1}}% + \@esphack + \ignorespaces +} +\makeatother +\title{The \textsf{biblatex-chem} bundle --- + \textsf{biblatex} styles for chemistry% + \thanks{Describes version v0.9, released 2010/02/16}} +\author{Joseph Wright% + \thanks{E-mail: joseph.wright@morningstar2.co.uk}} +\date{Released 2010/02/16} +\begin{document} +\maketitle +\begin{abstract} +The \textsf{biblatex-chem} bundle is a set of styles for +creating bibliographies using \textsf{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} + +\begin{multicols}{2} + \tableofcontents +\end{multicols} + +\section{Introduction} +The \textsf{biblatex} package introduces a completely new method +for controlling the creation of bibliographies using +\textsf{bibtex}. This makes a great deal of flexibility +available when creating bibliographies, most of which is much +more difficult with traditional \textsf{bibtex} styles. + +In order to use \textsf{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} + +Currently, the bundle contains four \textsf{biblatex} styles: +\begin{itemize} + \item \texttt{chem-acs}: American Chemical Society style + \item \texttt{chem-angew}: \emph{Angewandte Chemie} style + \item \texttt{chem-biochem}: \emph{Biochemistry} style + \item \texttt{chem-rsc}: Royal Society of Chemistry style +\end{itemize} +These can all be loaded in the usual way: +\begin{verbatim} +\usepackage[style=chem-<name>]{biblatex} +\end{verbatim} + +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 \textsf{biblatex} database +requirements, although they are somewhat selective in which +fields are used (for example, \texttt{language} is never +printed). This means that a database designed for traditional +\textsf{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 \textsf{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{articletitle} +The \texttt{articletitle} option is a switch for including the +title of journal articles in the output. For the styles +\texttt{chem-acs}, \texttt{chem-angew} and \texttt{chem-rsc} this +is turned off on loading, and you therefore need to use for +example +\begin{verbatim} +\usepackage[ + style=chem-rsc, + articletitle + ]{biblatex} +\end{verbatim} +or +\begin{verbatim} +\usepackage[ + style=chem-rsc, + articletitle=true + ]{biblatex} +\end{verbatim} +to include titles. In the case of the \texttt{chem-biochem} +style, the titles are included as standard: this can be turned +off using +\begin{verbatim} +\usepackage[ + style=chem-biochem, + articletitle=false + ]{biblatex}. +\end{verbatim} + +\DescribeOption{biblabel} +The format of the numbers used in the bibliography varies from +journal to journal even if the same general style is used. The +\texttt{biblabel} option allows the user to easily set the +format used. This option takes a value from the list: +\texttt{parens}, \texttt{brackets}, \texttt{plain} and +\texttt{dot}. +For example +\begin{verbatim} +\usepackage[ + style=chem-angew, + biblabel=plain + ]{biblatex} +\end{verbatim} +would use the style of \emph{Angewandte Chemie} but with nothing +added to the numbers in the bibliography. + +\DescribeOption{chaptertitle} +The inclusion of chapter titles in \texttt{inbook} and +\texttt{incollection} entries is not consistent in chemistry +journals; the \emph{ACS Style Guide} recommends their use, but +does not require it \autocite{Coghill2006}. As a result, the +styles here provide the \texttt{chaptertitle} option to allow +the inclusion of chapter titles if required. +\begin{verbatim} +\usepackage[ + style=chem-rsc, + chaptertitle + ]{biblatex} +\end{verbatim} + +\DescribeOption{pageranges} +Some journals only allow the first page of a range to be used, even +if the data for the full range is available. The \texttt{pageranges} +option can be used to turn off printing of the range for these +journals. +\begin{verbatim} +\usepackage[ + style=chem-rsc, + pageranges=false + ]{biblatex} +\end{verbatim} + +\DescribeOption{subentry} +In common with the standard \textsf{biblatex} numeric styles, +all of the styles here support the \texttt{subentry} option. +With this turned on, entries of type \texttt{set} are given +individual labels within the bibliography. +\begin{verbatim} +\usepackage[ + style=chem-acs, + subentry + ]{biblatex} +\end{verbatim} +The result is very similar to the behaviour of the +\textsf{mciteplus} package. + +Different ACS journals use varying combinations of bibliography +styles (\texttt{chem-acs} or \texttt{chem-biochem}), citations +styles, bibliography labels and article title inclusion. In +general, the user will need to consult a recent issue of the +journal concerned to check which options to use. + +\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 \textsf{biblatex} styles in one bundle. Others +working on chemistry styles for \textsf{biblatex} are welcome to +send them to the bundle maintainer so they can be incorporated +here. + +\section{Errors and omissions} + +Creating a \textsf{biblatex} style is a complex task, +particularly as chemistry journals only give complete rules +for the layout of references to journal articles. The +examples and test database provided with this bundle should be +consulted to see how the formatting is intended to work. +Feedback on errors an omissions in either the database or the +styles is very welcome. + +\printbibliography + +\end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/biblatex-chem.bib b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/biblatex-chem.bib new file mode 100644 index 00000000000..04efb25cee4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/biblatex-chem.bib @@ -0,0 +1,453 @@ +@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}, + journal = {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} +} + +@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} +} + +@Set{Carbenes, + entryset = {Wanzlick1962,Ofele1968}, + crossref = {Wanzlick1962}, + annotation = {A \texttt{set} of entries} + } + +@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} +} + +@Misc{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} +} + +@Unpublished{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}, + journal = {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}, + 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)-penta% + carbonylchrom ein neuer {\"U}bergangsmetall-carben-komplex}, + journaltitle = {J.~Organomet. Chem.}, + year = {1968}, + volume = {12}, + pages = {P42--P43}, + number = {3}, + entryset = {Carbenes}, + 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)% + \-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}, + entryset = {Carbenes}, + 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}, +} + diff --git a/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-acs.pdf b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-acs.pdf Binary files differnew file mode 100644 index 00000000000..abc02b924f2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-acs.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-acs.tex b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-acs.tex new file mode 100644 index 00000000000..8f955148b13 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-acs.tex @@ -0,0 +1,45 @@ +% +% This file presents the `chem-acs' style +% +\documentclass[a4paper]{article} +\usepackage[T1]{fontenc} +\usepackage[english,UKenglish,american]{babel} +\usepackage[babel]{csquotes} +\usepackage[ + style=chem-acs,maxnames=111, + % articletitle, % To include article titles + % biblabel=dot, % Alter bibliography labels + % chaptertitle, % Include chapter titles for parts of books + % pageranges=false, % Only include first page of a range + % subentry, % For (a), (b), etc. in sets + hyperref + ]{biblatex} +\usepackage[ + colorlinks, + linkcolor=black, + urlcolor=black, + citecolor=black + ]{hyperref} +\bibliography{biblatex-chem} + +\begin{document} + +\section*{The \texttt{chem-acs} style} + +This style prints numeric citations with bibliography +formatting following the rules of the American Chemical Society, +as outlined in \emph{The ACS Style Guide} \cite{Coghill2006}. +This applies to journals such as \emph{Journal of the American +Chemical Society}, \emph{The Journal of Organic Chemistry} +and \emph{Organometallics}. Some journals published by the ACS +use superscript citations and some do not: read the package +documentation for more details. With settings for citations as +given, the citations will be superscript and punctuation will be +moved before citations, for example \autocite{Kabbe1973} or +\autocite{Arduengo1991}. + +\nocite{*} + +\printbibliography + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-angew.pdf b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-angew.pdf Binary files differnew file mode 100644 index 00000000000..699920cda1c --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-angew.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-angew.tex b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-angew.tex new file mode 100644 index 00000000000..5c9cb1e9126 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-angew.tex @@ -0,0 +1,42 @@ +% +% This file presents the `chem-angew' style +% +\documentclass[a4paper]{article} +\usepackage[T1]{fontenc} +\usepackage[english,UKenglish]{babel} +\usepackage[babel]{csquotes} +\usepackage[ + style=chem-angew, + % articletitle, % To include article titles + % biblabel=dot, % Alter bibliography labels + % chaptertitle, % Include chapter titles for parts of books + % pageranges=false, % Only include first page of a range + % subentry, % For (a), (b), etc. in sets + hyperref, + ]{biblatex} +\usepackage[ + colorlinks, + linkcolor=black, + urlcolor=black, + citecolor=black + ]{hyperref} +\bibliography{biblatex-chem} + +\begin{document} + +\section*{The \texttt{chem-angew} style} + +This style prints numeric citations with bibliography +formatting following the rules of the used in \emph{Angewandte +Chemie}. The same formatting applies to related journals +published by Wiley, for example \emph{Chemistry---A European +Journal} and \emph{European Journal of Organic Chemistry}. With +settings for citations as given, the citations will be +superscript and punctuation will be moved before citations, for +example \autocite{Kabbe1973} or \cite{Arduengo1991}. + +\nocite{*} + +\printbibliography + +\end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-biochem.pdf b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-biochem.pdf Binary files differnew file mode 100644 index 00000000000..a2404f5b291 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-biochem.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-biochem.tex b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-biochem.tex new file mode 100644 index 00000000000..3f5a2a0074c --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-biochem.tex @@ -0,0 +1,39 @@ +% +% This file presents the `chem-biochem' style +% +\documentclass[a4paper]{article} +\usepackage[T1]{fontenc} +\usepackage[english,UKenglish,american]{babel} +\usepackage[babel]{csquotes} +\usepackage[ + style=chem-biochem, + % articletitle, % To include article titles + % biblabel=dot, % Alter bibliography labels + % chaptertitle, % Include chapter titles for parts of books + % pageranges=false, % Only include first page of a range + % subentry, % For (a), (b), etc. in sets + hyperref + ]{biblatex} +\usepackage[ + colorlinks, + linkcolor=black, + urlcolor=black, + citecolor=black + ]{hyperref} +\bibliography{biblatex-chem} + +\begin{document} + +\section*{The \texttt{chem-biochem} style} + +This style prints numeric citations with bibliography +formatting following the rules of the American Chemical Society, +as implemented in the journal \emph{Biochemistry}. Citations +will occur in-line, for example \autocite{Kabbe1973} or +\autocite{Arduengo1991}. + +\nocite{*} + +\printbibliography + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-rsc.pdf b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-rsc.pdf Binary files differnew file mode 100644 index 00000000000..fb5795853e6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-rsc.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-rsc.tex b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-rsc.tex new file mode 100644 index 00000000000..a8398aa33ee --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-contrib/biblatex-chem/examples/style-chem-rsc.tex @@ -0,0 +1,43 @@ +% +% This file presents the `chem-rsc' style +% +\documentclass[a4paper]{article} +\usepackage[T1]{fontenc} +\usepackage[english,UKenglish]{babel} +\usepackage[babel]{csquotes} +\usepackage[ + style=chem-rsc, + % articletitle, % To include article titles + % biblabel=dot, % Alter bibliography labels + % chaptertitle, % Include chapter titles for parts of books + % pageranges=false, % Only include first page of a range + % subentry, % For (a), (b), etc. in sets + hyperref + ]{biblatex} +\usepackage[ + colorlinks, + linkcolor=black, + urlcolor=black, + citecolor=black + ]{hyperref} +\bibliography{biblatex-chem} + +\begin{document} + +\section*{The \texttt{chem-rsc} style} + +This style prints numeric citations with bibliography +formatting following the rules of the Royal Society of +Chemistry. This applies to journals such as \emph{Chemical +Communications}, \emph{Organic \& Biomolecular Chemistry}, +\emph{Dalton Transactions} and \emph{Physical Chemistry +Chemical Physics}. With settings for citations as given, the +citations will be superscript and punctuation will be moved +before citations, for example \autocite{Kabbe1973} or +\autocite{Arduengo1991}. + +\nocite{*} + +\printbibliography + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-acs.bbx b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-acs.bbx new file mode 100644 index 00000000000..2be8abef8d1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-acs.bbx @@ -0,0 +1,717 @@ +\ProvidesFile{chem-acs.bbx} +[\abx@bbxid $Id: chem-acs.bbx,v 0.9 2010/02/16 + 09:00:00 joseph beta $] + +\ExecuteBibliographyOptions{labelnumber,maxnames=15,urldate=long} + +\newbibmacro*{begentry}{} +\newbibmacro*{finentry}{\finentry} + +% Option handling + +\providebool{bbx:articletitle} +\providebool{bbx:chaptertitle} +\providebool{bbx:pageranges} +\providebool{bbx:subentry} +\DeclareBibliographyOption{articletitle}[true]{% + \setbool{bbx:articletitle}{#1}} +\DeclareBibliographyOption{chaptertitle}[true]{% + \setbool{bbx:chaptertitle}{#1}} +\DeclareBibliographyOption{biblabel}{% + \DeclareFieldFormat{labelnumberwidth}{\mkbibparens{##1}}% + \def\@tempa{plain}% + \def\@tempb{#1}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{##1}% + \fi + \def\@tempa{brackets}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{##1}}% + \fi + \def\@tempa{dot}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{##1\adddot\midsentence}% + \fi +} +\DeclareBibliographyOption{pageranges}[true]{% + \setbool{bbx:pageranges}{#1}} +\DeclareBibliographyOption{subentry}[true]{% + \setbool{bbx:subentry}{#1}} + +\ExecuteBibliographyOptions{biblabel=parens,pageranges=true} + +% The standard alias + +\DeclareNameAlias{author}{default} + +% Some basic formatting + +\DeclareFieldFormat{bibentrysetcount}{% + \mkbibparens{\mknumalph{#1}}} +\DeclareFieldFormat{doi}{% + DOI\addcolon\addspace + \ifhyperref + {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}} + {\nolinkurl{#1}}} +\DeclareFieldFormat[article]{pages}{% + \ifbool{bbx:pageranges}{#1}{\mkpagefirst{#1}}% +} +\DeclareFieldFormat{part}{Part\addspace#1} +\DeclareFieldFormat{parens}{\mkbibparens{#1}} +\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} +\DeclareFieldFormat[article]{title}{#1\adddot} +\DeclareFieldFormat[thesis]{title}{#1\adddot} +\DeclareFieldFormat[inproceedings]{title}{\mkbibemph{#1}} +\DeclareFieldFormat[online]{title}{#1\adddot} +\DeclareFieldFormat[patent]{title}{#1\adddot} +\DeclareFieldFormat{url}{\let\UrlFont\normalfont\url{#1}} +\DeclareFieldFormat[article]{volume}{\mkbibemph{#1}} +\DeclareFieldFormat[periodical]{volume}{\bibstring{volume}~#1} +\DeclareFieldFormat[article]{year}{\textbf{#1}} + +\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}} + +\renewcommand*{\thebibitem}{\item} +\renewcommand*{\thelositem}{\item} +\renewcommand*{\finalnamedelim}{\multinamedelim} +\renewcommand*{\mkbibnameaffix}[1]{\addcomma\addspace#1} +\renewcommand*{\multinamedelim}{\addsemicolon\addspace} +\renewcommand*{\newunitpunct}{\addcomma\addspace} + +% The environments are set up correctly + +\renewenvironment*{thebibliography} + {\list + {\printfield[labelnumberwidth]{labelnumber}} + {\setlength{\labelwidth}{\labelnumberwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {\endlist} + +\renewenvironment*{theshorthands} + {\list + {\printfield[shorthandwidth]{shorthand}} + {\setlength{\labelwidth}{\shorthandwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + \renewcommand*{\makelabel}[1]{\hss##1}}} + {\endlist} + +% Some altered strings, in English at least + +\DefineBibliographyStrings{english}{% + chapter = {Chapter}, + editor = {Ed\adddot}, + editors = {Eds\adddot}, + in = {In}, + page = {p}, + pages = {pp}, + patentus = {US Patent}, + phdthesis = {Ph.D. Thesis}, + urlseen = {accessed}, + volume = {Vol\adddot} +} + +% New and altered bibliography macros + +\renewbibmacro*{byholder}{% + \printtext[parens]{\printnames{holder}}} + +\newbibmacro*{chapter+pages}{% + \printfield{chapter}% + \newunit + \printfield{pages}% + \newunit} + +\newbibmacro*{in}{% + \bibstring{in}% + \setunit{\addspace}} + +\newbibmacro*{institution+location+year}{% + \printlist{institution}% + \setunit*{\addcolon\addspace}% + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\newbibmacro*{journal+volume}{% + \usebibmacro{journal}% + \setunit{\addspace}% + \printfield{year}% + \newunit + \printfield{volume}% + \newunit} + +\newbibmacro*{location+year}{% + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\renewbibmacro*{maintitle}{% + \ifthenelse{\iffieldundef{maintitle}\AND + \iffieldundef{mainsubtitle}} + {} + {\printtext[maintitle]{% + \printfield[noformat]{maintitle}% + \addspace + \printfield[parens]{mainsubtitle}}% + \newunit}% + \printfield{maintitleaddon}% + \newunit} + +\newbibmacro*{maintitle/booktitle+edition}{% + \iffieldundef{maintitle} + {\usebibmacro{booktitle}} + {\usebibmacro{maintitle}}% + \iffieldundef{edition} + {} + {\newunit + \printfield{edition}}} + +\newbibmacro*{maintitle/title}{% + \iffieldsequal{maintitle}{title} + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}} + {}% + \iffieldundef{maintitle} + {\usebibmacro{title}} + {\usebibmacro{maintitle}}} + +\newbibmacro*{maintitle/title+edition}{% + \iffieldsequal{maintitle}{title} + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}} + {}% + \iffieldundef{maintitle} + {\usebibmacro{title}} + {\usebibmacro{maintitle}}% + \iffieldundef{edition} + {} + {\newunit + \printfield{edition}}} + +\renewbibmacro*{name:last-first}[4]{% + \ifuseprefix + {\usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifblank{#3}{} + {\mkbibnameprefix{\MakeCapital{#3}\isdot}% + \ifpunctmark{'}{}{\addhighpenspace}}% + \mkbibnamelast{#1\isdot}% + \ifblank{#2}{} + {\addcomma\addlowpenspace + \mkbibnamefirst{#2}\isdot}% + \ifblank{#4}{} + {\addcomma\addlowpenspace + \mkbibnameaffix{#4}\isdot}} + {\usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamelast{#1}\isdot + \ifblank{#2#3}{}{\addcomma}% + \ifblank{#2}{} + {\addlowpenspace + \mkbibnamefirst{#2}\isdot}% + \ifblank{#3}{} + {\addlowpenspace + \mkbibnameprefix{#3}\isdot}}% + \ifblank{#4}{} + {\addcomma\addlowpenspace + \mkbibnameaffix{#4}\isdot}} + +\newbibmacro*{organization+location+year}{% + \printlist{organization}% + \iflistundef{location} + {\newunit} + {\setunit*{\addcolon\addspace}}% + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\newbibmacro*{pages/doi}{% + \iffieldundef{pages} + {\printfield{doi}} + {\printfield{pages}}} + +\newbibmacro*{publisher+location+year}{% + \printlist{publisher}% + \iflistundef{location} + {\newunit} + {\setunit*{\addcolon\addspace}}% + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\newbibmacro*{series+number}{% + \iffieldundef{series} + {} + {\printfield{series}% + \iffieldundef{number} + {\newunit + \printfield{volume}} + {\setunit*{\addspace}% + \printfield{number}}% + \newunit}} + +\renewbibmacro*{title}{% + \ifthenelse{\iffieldundef{title}\AND + \iffieldundef{subtitle}} + {} + {\printtext[title]{% + \printfield[noformat]{title}% + \addspace + \printfield[parens]{subtitle}}% + \newunit}% + \printfield{titleaddon}% + \newunit} + +\newbibmacro*{volume+part}{% + \iffieldundef{series} + {\printfield{volume}% + \setunit*{\addspace}% + \printfield{part}} + {}} + +% Drivers, edited from the standard versions, some quite heavily + +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \ifbool{bbx:articletitle} + {\usebibmacro{title}} + {}% + \setunit{\addspace}% + \usebibmacro{journal+volume}% + \setunit{\addspace}% + \printfield{note}% + \newunit + \usebibmacro{pages/doi}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{book}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \usebibmacro{maintitle/title+edition}% + \setunit{\addsemicolon\addspace}% + \ifnameundef{editor} + {} + {\usebibmacro{editor}% + \setunit{\addsemicolon\addspace}}% + \usebibmacro{series+number}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{publisher+location+year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{booklet}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit*{\addspace}% + \usebibmacro{title}% + \setunit{\addsemicolon\addspace}% + \printfield{howpublished}% + \newunit + \printfield{type}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{collection}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{maintitle/title+edition}% + \setunit{\addsemicolon\addspace}% + \ifnameundef{editor} + {} + {\usebibmacro{editor}% + \setunit{\addsemicolon\addspace}}% + \usebibmacro{series+number}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{publisher+location+year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inbook}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \ifbool{bbx:chaptertitle} + {\usebibmacro{title}} + {}% + \setunit*{\adddot\addspace}% + \usebibmacro{in}% + \usebibmacro{bybookauthor}% + \setunit*{\addspace}% + \usebibmacro{maintitle/booktitle+edition}% + \setunit{\addsemicolon\addspace}% + \ifnameundef{editor} + {} + {\usebibmacro{editor}% + \setunit{\addsemicolon\addspace}}% + \usebibmacro{series+number}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{publisher+location+year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \ifbool{bbx:chaptertitle} + {\usebibmacro{title}} + {}% + \setunit*{\adddot\addspace}% + \usebibmacro{in}% + \usebibmacro{maintitle/booktitle+edition}% + \setunit{\addsemicolon\addspace}% + \ifnameundef{editor} + {} + {\usebibmacro{editor}% + \setunit{\addsemicolon\addspace}}% + \usebibmacro{series+number}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{publisher+location+year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \usebibmacro{in}% + \printfield{booktitle}% + \newunit + \printfield{venue}% + \newunit + \printfield{year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{editor}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{manual}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit*{\addspace}% + \usebibmacro{title}% + \newunit + \printfield{edition}% + \newunit + \usebibmacro{series+number}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{organization+location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{misc}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit*{\addspace}% + \usebibmacro{title}% + \setunit{\addsemicolon\addspace}% + \printfield{howpublished}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \printlist{organization}% + \newunit + \printlist{location}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{date}% + \newunit + \printfield{doi}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{online}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\addspace}% + \usebibmacro{title}% + \setunit{\addspace}% + \usebibmacro{url+urldate}% + \newunit + \printfield{note}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\addspace}% + \usebibmacro{byholder}% + \setunit*{\adddot\addspace}% + \usebibmacro{title}% + \setunit{\addspace}% + \printfield{type}% + \newunit + \printfield{number}% + \newunit + \printfield{location}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \printfield{issuetitle}% + \setunit{\addsemicolon\addspace}% + \ifnameundef{editor} + {} + {\usebibmacro{editor}% + \setunit{\addsemicolon\addspace}}% + \usebibmacro{series+number}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{publisher+location+year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{title}% + \setunit*{\addspace}% + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + + \DeclareBibliographyDriver{set}{% + \ifbool{bbx:subentry} + {\entryset{% + \printfield[bibentrysetcount]{entrysetcount}% + \setunit*{\addnbspace}}{}} + {\entryset{}{}} + \finentry} + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{maintitle/title}% + \newunit + \printfield{venue}% + \newunit + \printfield{year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{editor}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{report}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \usebibmacro{title}% + \setunit{\addsemicolon\addspace}% + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{institution+location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{set}{% + \ifbool{bbx:subentry} + {\entryset{% + \printfield[bibentrysetcount]{entrysetcount}% + \setunit*{\addnbspace}}{}} + {\entryset{}{}} + \finentry} + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \printfield{title}% + \setunit{\adddot\addspace}% + \printfield{note}% + \setunit*{\addcomma\addspace}% + \printfield{type}% + \newunit + \printlist{institution}% + \newunit + \printlist{location}% + \newunit + \printfield{year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{unpublished}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \printfield{journaltitle}% + \newunit + \printfield{howpublished}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{date}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +% Some aliases + +\DeclareBibliographyAlias{review}{article} +\DeclareBibliographyAlias{reference}{collection} +\DeclareBibliographyAlias{inreference}{incollection} +\DeclareBibliographyAlias{suppbook}{inbook} +\DeclareBibliographyAlias{suppcollection}{incollection} +\DeclareBibliographyAlias{suppperiodical}{article} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-angew.bbx b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-angew.bbx new file mode 100644 index 00000000000..9841221e8aa --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-angew.bbx @@ -0,0 +1,704 @@ +\ProvidesFile{chem-angew.bbx} +[\abx@bbxid $Id: chem-angew.bbx,v 0.9 2010/02/16 + 09:00:00 joseph beta $] + +\ExecuteBibliographyOptions{labelnumber,maxnames=999} + +\newbibmacro*{begentry}{} +\newbibmacro*{finentry}{\finentry} + +% Option handling + +\providebool{bbx:articletitle} +\providebool{bbx:chaptertitle} +\providebool{bbx:pageranges} +\providebool{bbx:subentry} +\DeclareBibliographyOption{articletitle}[true]{% + \setbool{bbx:articletitle}{#1}} +\DeclareBibliographyOption{chaptertitle}[true]{% + \setbool{bbx:chaptertitle}{#1}} +\DeclareBibliographyOption{biblabel}{% + \DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{##1}}% + \def\@tempa{plain}% + \def\@tempb{#1}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{##1}% + \fi + \def\@tempa{parens}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{\mkbibparens{##1}}% + \fi + \def\@tempa{dot}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{##1\adddot\midsentence}% + \fi +} +\DeclareBibliographyOption{pageranges}[true]{% + \setbool{bbx:pageranges}{#1}} +\DeclareBibliographyOption{subentry}[true]{% + \setbool{bbx:subentry}{#1}} + +\ExecuteBibliographyOptions{biblabel=brackets,pageranges=true} + +% The standard aliases + +\DeclareNameAlias{author}{default} +\DeclareNameAlias{editor}{default} + +% Some basic formatting + +\DeclareFieldFormat{bibentrysetcount}{% + \mknumalph{#1})} +\DeclareFieldFormat[inproceedings]{booktitle}{#1} +\DeclareFieldFormat{doi}{% + DOI\addspace + \ifhyperref + {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}} + {\nolinkurl{#1}}} +\DeclareFieldFormat{journaltitle}{\mkbibemph{#1\isdot}} +\DeclareFieldFormat[article]{pages}{% + \ifbool{bbx:pageranges}{#1}{\mkpagefirst{#1}}% +} +\DeclareFieldFormat{parens}{\mkbibparens{#1}} +\DeclareFieldFormat{part}{\addslash#1}% physical part of a logical volume +\DeclareFieldFormat{removecomma}{\bbx@comma@remove{#1}} +\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} +\DeclareFieldFormat{title}{#1} +\DeclareFieldFormat[article]{title}{#1} +\DeclareFieldFormat[book]{title}{\mkbibemph{#1}} +\DeclareFieldFormat[collection]{title}{\mkbibemph{#1}} +\DeclareFieldFormat[patent]{type}{\ifbibstring{#1}{% + \mkbibemph{\bibstring{#1}}}{\mkbibemph{#1}}} +\DeclareFieldFormat{url}{\url{#1}} +\DeclareFieldFormat[article]{volume}{\mkbibemph{#1}} +\DeclareFieldFormat[periodical]{volume}{% + \mkbibemph{\bibstring{volume}~#1}} +\DeclareFieldFormat{year}{\textbf{#1}} + +\DeclareNameFormat{default}{% + \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}% + \usebibmacro{name:andothers}} + +\renewcommand*{\thebibitem}{\item} +\renewcommand*{\thelositem}{\item} +\renewcommand*{\finalnamedelim}{\multinamedelim} +\renewcommand*{\mkbibnameaffix}[1]{\addcomma\addspace#1} +\renewcommand*{\newunitpunct}{\addcomma\addspace} + +% The environments are set up correctly + +\renewenvironment*{thebibliography} + {\list + {\printfield[labelnumberwidth]{labelnumber}} + {\setlength{\labelwidth}{\labelnumberwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {\endlist} + +\renewenvironment*{theshorthands} + {\list + {\printfield[shorthandwidth]{shorthand}} + {\setlength{\labelwidth}{\shorthandwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + \renewcommand*{\makelabel}[1]{\hss##1}}} + {\endlist} + +% Some altered strings, in English at least + +\DefineBibliographyStrings{english}{% + chapter = {Chapter}, + editor = {Ed\adddot}, + editors = {Eds\adddot}, + patentus = {US Pat\adddot}, + volume = {Vol\adddot} +} + +% Custom code to remove commas from titles + +\newcommand*{\bbx@comma@remove}[1]{% + \begingroup + \let\@tempa\@empty + \bbx@comma@parse#1\bbx@comma@end +} + +\newcommand*{\bbx@comma@parse}{% + \futurelet\@let@token\bbx@comma@check +} + +\newcommand*{\bbx@comma@check}{% + \ifx\@let@token\bbx@comma@end + \expandafter\bbx@comma@end + \fi + \ifx\@let@token\@sptoken + \expandafter\bbx@comma@space + \fi + \ifx\@let@token,\relax + \expandafter\bbx@comma@comma + \fi + \ifx\@let@token\bgroup + \expandafter\bbx@comma@group + \fi + \bbx@comma@other + \relax +} + +\newcommand*{\bbx@comma@space}{% + \def\bbx@comma@space##1\relax +} +\@nameuse{bbx@comma@space} {% + \appto\@tempa{ }% + \bbx@comma@parse +} + +\def\bbx@comma@comma#1\relax,{% + \bbx@comma@parse +} + +\def\bbx@comma@group#1\relax#2{% + \appto\@tempa{{#2}}% + \bbx@comma@parse +} + +\def\bbx@comma@other\relax#1{% + \appto\@tempa{#1}% + \bbx@comma@parse +} + +\def\bbx@comma@end#1\bbx@comma@end{% + \expandafter\endgroup\@tempa +} + +% New and altered bibliography macros + +\renewbibmacro*{byholder}{% + \setunit{\addspace}% + \printtext[parens]{\printnames{holder}}} + +\newbibmacro*{chapter+pages}{% + \printfield{chapter}% + \newunit + \printfield{pages}% + \newunit} + +\renewbibmacro*{editor}{% + \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}} + {\setunit{\addspace}% + \printtext[parens]{% + \usebibmacro{editorstrg} + \addcolon\addspace + \printnames{editor}% + \clearname{editor}}} + {}} + +\newbibmacro*{in}{% + \bibstring{in}% + \setunit{\addspace}} + +\newbibmacro*{institution+location+year}{% + \printlist{institution}% + \newunit + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\renewbibmacro*{journal}{% + \iffieldundef{journaltitle} + {} + {\printtext[journaltitle]{% + \printfield[removecomma]{journaltitle}% + \newunit + \printfield[removecomma]{journalsubtitle}}}} + +\newbibmacro*{journal+volume}{% + \usebibmacro{journal}% + \setunit{\addspace}% + \printfield{year}% + \newunit + \printfield{volume}} + +\newbibmacro*{location+year}{% + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\renewbibmacro*{maintitle}{% + \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{mainsubtitle}} + {} + {\printtext[maintitle]{% + \printfield[noformat]{maintitle}\addspace + \printfield[parens]{mainsubtitle}}% + \newunit}% + \printfield{maintitleaddon}} + +\newbibmacro*{maintitle/booktitle}{% + \iffieldundef{maintitle}{% + \usebibmacro{booktitle}% + }{% + \usebibmacro{maintitle}% + }} + +\newbibmacro*{maintitle/title}{% + \iffieldsequal{maintitle}{title} + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}} + {}% + \iffieldundef{maintitle} + {\usebibmacro{title}} + {\usebibmacro{maintitle}}% + \newunit} + +\newbibmacro*{type+number}{% + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}% + \newunit} + +\newbibmacro*{organization+location+year}{% + \printlist{organization}% + \newunit + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\newbibmacro*{pages/doi}{% + \iffieldundef{pages} + {\printfield{doi}} + {\printfield{pages}}} + +\newbibmacro*{publisher+location}{% + \printlist{publisher}% + \newunit + \printlist{location}% + \newunit} + +\newbibmacro*{series+number}{% + \printfield{series}% + \setunit*{\addspace}% + \printfield{number}% + \newunit} + +\newbibmacro*{volume+part}{% + \iffieldundef{series} + {\mkbibemph{% + \printfield{volume}% + \printfield{part}}} + {}} + +% Drivers, edited from the standard versions, some quite heavily + +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \ifbool{bbx:articletitle} + {\usebibmacro{title}% + \newunit} + {}% + \usebibmacro{journal+volume}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{pages/doi}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{book}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \usebibmacro{maintitle/title}% + \newunit + \usebibmacro{volume+part}% + \newunit + \usebibmacro{editor}% + \newunit + \usebibmacro{publisher+location}% + \newunit + \printfield{edition}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{booklet}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{howpublished}% + \newunit + \printfield{type}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{collection}{% Very similar to a book + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{maintitle/title}% + \newunit + \usebibmacro{volume+part}% + \newunit + \usebibmacro{editor}% + \newunit + \usebibmacro{publisher+location}% + \newunit + \printfield{edition}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inbook}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \ifbool{bbx:chaptertitle} + {\usebibmacro{title}} + {}% + \setunit{\addspace}% + \usebibmacro{in}% + \usebibmacro{bybookauthor}% + \newunit + \usebibmacro{maintitle/booktitle}% + \newunit + \usebibmacro{volume+part}% + \newunit + \usebibmacro{editor}% + \newunit + \usebibmacro{publisher+location}% + \newunit + \printfield{edition}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \ifbool{bbx:chaptertitle} + {\usebibmacro{title}} + {}% + \setunit{\addspace}% + \usebibmacro{in}% + \usebibmacro{maintitle/booktitle}% + \newunit + \usebibmacro{volume+part}% + \newunit + \usebibmacro{editor}% + \newunit + \usebibmacro{publisher+location}% + \newunit + \printfield{edition}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\addspace}% + \printfield{booktitle}% + \newunit + \usebibmacro{editor}% + \newunit + \printfield{venue}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{manual}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{edition}% + \newunit + \usebibmacro{series+number}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{organization+location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{misc}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{howpublished}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \printlist{organization}% + \newunit + \printlist{location}% + \newunit + \usebibmacro{date}% + \newunit + \printfield{doi}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{online}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \printlist{organization}% + \newunit + \usebibmacro{date}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \usebibmacro{byholder}% + \newunit + \printfield{type}% + \newunit + \printfield{number}% + \newunit + \printfield{location}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \printfield{issuetitle}% + \newunit + \usebibmacro{volume+part}% + \newunit + \usebibmacro{editor}% + \newunit + \usebibmacro{publisher+location}% + \newunit + \printfield{edition}% + \newunit + \printfield{title}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{maintitle/title}% + \newunit + \usebibmacro{editor}% + \newunit + \printfield{venue}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{report}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \usebibmacro{title}% + \newunit + \usebibmacro{type+number}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{institution+location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{set}{% + \ifbool{bbx:subentry} + {\entryset{% + \printfield[bibentrysetcount]{entrysetcount}% + \setunit*{\addnbspace}}{}} + {\entryset{}{}} + \finentry} + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \printfield{note}% + \newunit + \printfield{type}% + \newunit + \usebibmacro{institution+location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{unpublished}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \printfield{journaltitle}% + \newunit + \printfield{howpublished}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{date}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +% Some aliases + +\DeclareBibliographyAlias{review}{article} +\DeclareBibliographyAlias{reference}{collection} +\DeclareBibliographyAlias{inreference}{incollection} +\DeclareBibliographyAlias{suppbook}{inbook} +\DeclareBibliographyAlias{suppcollection}{incollection} +\DeclareBibliographyAlias{suppperiodical}{article} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-biochem.bbx b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-biochem.bbx new file mode 100644 index 00000000000..32850c78536 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-biochem.bbx @@ -0,0 +1,711 @@ +\ProvidesFile{chem-biochem.bbx} +[\abx@bbxid $Id: chem-biochem.bbx,v 0.9 2010/02/16 + 09:00:00 joseph beta $] + +\ExecuteBibliographyOptions{labelnumber,maxnames=15,urldate=long,useprefix} + +\newbibmacro*{begentry}{} +\newbibmacro*{finentry}{\finentry} + +% Option handling + +\providebool{bbx:articletitle} +\providebool{bbx:chaptertitle} +\providebool{bbx:pageranges} +\providebool{bbx:subentry} +\DeclareBibliographyOption{articletitle}[true]{% + \setbool{bbx:articletitle}{#1}} +\DeclareBibliographyOption{chaptertitle}[true]{% + \setbool{bbx:chaptertitle}{#1}} +\DeclareBibliographyOption{biblabel}{% + \DeclareFieldFormat{labelnumberwidth}{\mkbibparens{##1}}% + \def\@tempa{plain}% + \def\@tempb{#1}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{##1}% + \fi + \def\@tempa{brackets}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{##1}}% + \fi + \def\@tempa{dot}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{##1\adddot\midsentence}% + \fi +} +\DeclareBibliographyOption{pageranges}[true]{% + \setbool{bbx:pageranges}{#1}} +\DeclareBibliographyOption{subentry}[true]{% + \setbool{bbx:subentry}{#1}} + +\ExecuteBibliographyOptions{articletitle,biblabel=parens,pageranges=true} + +% The standard alias + +\DeclareNameAlias{author}{default} +\DeclareNameAlias{editor}{default} + +% Some basic formatting + +\DeclareFieldFormat{bibentrysetcount}{% + \mkbibparens{\mknumalph{#1}}} +\DeclareFieldFormat{doi}{% + DOI\addcolon\addspace + \let\UrlFont\normalfont + \ifhyperref + {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}} + {\nolinkurl{#1}}} +\DeclareFieldFormat[article]{pages}{% + \ifbool{bbx:pageranges}{#1}{\mkpagefirst{#1}}% +} +\DeclareFieldFormat{part}{Part\addspace#1} +\DeclareFieldFormat{parens}{\mkbibparens{#1}} +\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} +\DeclareFieldFormat[article]{title}{#1\adddot} +\DeclareFieldFormat[thesis]{title}{#1\adddot} +\DeclareFieldFormat[inproceedings]{title}{\mkbibemph{#1}} +\DeclareFieldFormat[online]{title}{#1\adddot} +\DeclareFieldFormat[patent]{title}{#1\adddot} +\DeclareFieldFormat{url}{\let\UrlFont\normalfont\url{#1}} +\DeclareFieldFormat[article]{volume}{\mkbibemph{#1}} +\DeclareFieldFormat[periodical]{volume}{\bibstring{volume}~#1} +\DeclareFieldFormat[article]{year}{\mkbibparens{#1}} + +\DeclareNameFormat{default}{% + \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}% + \usebibmacro{name:andothers}} + +\renewcommand*{\thebibitem}{\item} +\renewcommand*{\thelositem}{\item} +\renewcommand*{\finalnamedelim}{\multinamedelim} +\renewcommand*{\mkbibnameaffix}[1]{\addcomma\addspace#1} +\renewcommand*{\multinamedelim}{\addcomma\addspace} +\renewcommand*{\newunitpunct}{\addcomma\addspace} + +% The environments are set up correctly + +\renewenvironment*{thebibliography} + {\list + {\printfield[labelnumberwidth]{labelnumber}} + {\setlength{\labelwidth}{\labelnumberwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {\endlist} + +\renewenvironment*{theshorthands} + {\list + {\printfield[shorthandwidth]{shorthand}} + {\setlength{\labelwidth}{\shorthandwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + \renewcommand*{\makelabel}[1]{\hss##1}}} + {\endlist} + +% Some altered strings, in English at least + +\DefineBibliographyStrings{english}{% + chapter = {Chapter}, + editor = {Ed\adddot}, + editors = {Eds\adddot}, + in = {In}, + page = {p}, + pages = {pp}, + patentus = {US Patent}, + phdthesis = {Ph.D. Thesis}, + urlseen = {accessed}, + volume = {Vol\adddot} +} + +% New and altered bibliography macros + +\renewbibmacro*{byholder}{% + \printtext[parens]{\printnames{holder}}} + +\newbibmacro*{chapter+pages}{% + \printfield{chapter}% + \newunit + \printfield{pages}% + \newunit} + +\newbibmacro*{in}{% + \bibstring{in}% + \setunit{\addspace}} + +\newbibmacro*{institution+location+year}{% + \printlist{institution}% + \setunit*{\addcolon\addspace}% + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\newbibmacro*{journal+volume}{% + \usebibmacro{journal}% + \newunit + \printfield{volume}% + \newunit} + +\newbibmacro*{location+year}{% + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\renewbibmacro*{maintitle}{% + \ifthenelse{\iffieldundef{maintitle}\AND + \iffieldundef{mainsubtitle}} + {} + {\printtext[maintitle]{% + \printfield[noformat]{maintitle}% + \addspace + \printfield[parens]{mainsubtitle}}% + \newunit}% + \printfield{maintitleaddon}% + \newunit} + +\newbibmacro*{maintitle/booktitle+edition}{% + \iffieldundef{maintitle} + {\usebibmacro{booktitle}} + {\usebibmacro{maintitle}}% + \iffieldundef{edition} + {} + {\newunit + \printfield{edition}}} + +\newbibmacro*{maintitle/title}{% + \iffieldsequal{maintitle}{title} + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}} + {}% + \iffieldundef{maintitle} + {\usebibmacro{title}} + {\usebibmacro{maintitle}}} + +\newbibmacro*{maintitle/title+edition}{% + \iffieldsequal{maintitle}{title} + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}} + {}% + \iffieldundef{maintitle} + {\usebibmacro{title}} + {\usebibmacro{maintitle}}% + \iffieldundef{edition} + {} + {\newunit + \printfield{edition}}} + +\renewbibmacro*{name:last-first}[4]{% + \ifuseprefix + {\usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifblank{#3}{} + {\mkbibnameprefix{#3\isdot}% + \ifpunctmark{'}{}{\addhighpenspace}}% + \mkbibnamelast{#1\isdot}% + \ifblank{#2}{} + {\addcomma\addlowpenspace + \mkbibnamefirst{#2}\isdot}% + \ifblank{#4}{} + {\addlowpenspace + \mkbibnameaffix{#4}\isdot}} + {\usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamelast{#1}\isdot + \ifblank{#2#3}{}{\addcomma}% + \ifblank{#2}{} + {\addlowpenspace + \mkbibnamefirst{#2}\isdot}% + \ifblank{#3}{} + {\addlowpenspace + \mkbibnameprefix{#3}\isdot}% + \ifblank{#4}{} + {\addlowpenspace + \mkbibnameaffix{#4}\isdot}}} + +\newbibmacro*{organization+location+year}{% + \printlist{organization}% + \iflistundef{location} + {\newunit} + {\setunit*{\addcolon\addspace}}% + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\newbibmacro*{pages/doi}{% + \iffieldundef{pages} + {\printfield{doi}} + {\printfield{pages}}} + +\newbibmacro*{publisher+location+year}{% + \printlist{publisher}% + \iflistundef{location} + {\newunit} + {\setunit*{\addcolon\addspace}}% + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\newbibmacro*{series+number}{% + \iffieldundef{series} + {} + {\printfield{series}% + \iffieldundef{number} + {\newunit + \printfield{volume}} + {\setunit*{\addspace}% + \printfield{number}}% + \newunit}} + +\renewbibmacro*{title}{% + \ifthenelse{\iffieldundef{title}\AND + \iffieldundef{subtitle}} + {} + {\printtext[title]{% + \printfield[noformat]{title}% + \addspace + \printfield[parens]{subtitle}}% + \newunit}% + \printfield{titleaddon}% + \newunit} + +\newbibmacro*{volume+part}{% + \iffieldundef{series} + {\printfield{volume}% + \setunit*{\addspace}% + \printfield{part}} + {}} + +% Drivers, edited from the standard versions, some quite heavily + +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \printfield{year}% + \setunit{\adddot\addspace}% + \ifbool{bbx:articletitle} + {\usebibmacro{title}} + {}% + \setunit{\addspace}% + \usebibmacro{journal+volume}% + \setunit{\addspace}% + \printfield{note}% + \newunit + \usebibmacro{pages/doi}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{book}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \usebibmacro{maintitle/title+edition}% + \setunit{\addsemicolon\addspace}% + \ifnameundef{editor} + {} + {\usebibmacro{editor}% + \setunit{\addsemicolon\addspace}}% + \usebibmacro{series+number}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{publisher+location+year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{booklet}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit*{\addspace}% + \usebibmacro{title}% + \setunit{\addsemicolon\addspace}% + \printfield{howpublished}% + \newunit + \printfield{type}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{collection}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{maintitle/title+edition}% + \setunit{\addsemicolon\addspace}% + \ifnameundef{editor} + {} + {\usebibmacro{editor}% + \setunit{\addsemicolon\addspace}}% + \usebibmacro{series+number}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{publisher+location+year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inbook}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \ifbool{bbx:chaptertitle} + {\usebibmacro{title}} + {}% + \setunit*{\adddot\addspace}% + \usebibmacro{in}% + \usebibmacro{bybookauthor}% + \setunit*{\addspace}% + \usebibmacro{maintitle/booktitle+edition}% + \setunit{\addsemicolon\addspace}% + \ifnameundef{editor} + {} + {\usebibmacro{editor}% + \setunit{\addsemicolon\addspace}}% + \usebibmacro{series+number}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{publisher+location+year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \ifbool{bbx:chaptertitle} + {\usebibmacro{title}} + {}% + \setunit*{\adddot\addspace}% + \usebibmacro{in}% + \usebibmacro{maintitle/booktitle+edition}% + \setunit{\addsemicolon\addspace}% + \ifnameundef{editor} + {} + {\usebibmacro{editor}% + \setunit{\addsemicolon\addspace}}% + \usebibmacro{series+number}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{publisher+location+year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \usebibmacro{in}% + \printfield{booktitle}% + \newunit + \printfield{venue}% + \newunit + \printfield{year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{editor}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{manual}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit*{\addspace}% + \usebibmacro{title}% + \newunit + \printfield{edition}% + \newunit + \usebibmacro{series+number}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{organization+location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{misc}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit*{\addspace}% + \usebibmacro{title}% + \setunit{\addsemicolon\addspace}% + \printfield{howpublished}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \printlist{organization}% + \newunit + \printlist{location}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{date}% + \newunit + \printfield{doi}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{online}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\addspace}% + \usebibmacro{title}% + \setunit{\addspace}% + \usebibmacro{url+urldate}% + \newunit + \printfield{note}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\addspace}% + \usebibmacro{byholder}% + \setunit*{\adddot\addspace}% + \usebibmacro{title}% + \setunit{\addspace}% + \printfield{type}% + \newunit + \printfield{number}% + \newunit + \printfield{location}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \printfield{issuetitle}% + \setunit{\addsemicolon\addspace}% + \ifnameundef{editor} + {} + {\usebibmacro{editor}% + \setunit{\addsemicolon\addspace}}% + \usebibmacro{series+number}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{publisher+location+year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{title}% + \setunit*{\addspace}% + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + + \DeclareBibliographyDriver{set}{% + \ifbool{bbx:subentry} + {\entryset{% + \printfield[bibentrysetcount]{entrysetcount}% + \setunit*{\addnbspace}}{}} + {\entryset{}{}} + \finentry} + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{maintitle/title}% + \newunit + \printfield{venue}% + \newunit + \printfield{year}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{editor}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{report}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \usebibmacro{title}% + \setunit{\addsemicolon\addspace}% + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \setunit{\addsemicolon\addspace}% + \usebibmacro{institution+location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{set}{% + \ifbool{bbx:subentry} + {\entryset{% + \printfield[bibentrysetcount]{entrysetcount}% + \setunit*{\addnbspace}}{}} + {\entryset{}{}} + \finentry} + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \printfield{title}% + \setunit{\adddot\addspace}% + \printfield{note}% + \setunit*{\addcomma\addspace}% + \printfield{type}% + \newunit + \printlist{institution}% + \newunit + \printlist{location}% + \newunit + \printfield{year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{unpublished}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit*{\addspace}% + \printfield{journaltitle}% + \newunit + \printfield{howpublished}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{date}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +% Some aliases + +\DeclareBibliographyAlias{review}{article} +\DeclareBibliographyAlias{reference}{collection} +\DeclareBibliographyAlias{inreference}{incollection} +\DeclareBibliographyAlias{suppbook}{inbook} +\DeclareBibliographyAlias{suppcollection}{incollection} +\DeclareBibliographyAlias{suppperiodical}{article} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-rsc.bbx b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-rsc.bbx new file mode 100644 index 00000000000..08766d6adaf --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/bbx/chem-rsc.bbx @@ -0,0 +1,700 @@ +\ProvidesFile{chem-rsc.bbx} +[\abx@bbxid $Id: chem-rsc.bbx,v 0.9 2010/02/16 + 09:00:00 joseph beta $] + + +\ExecuteBibliographyOptions{labelnumber,maxnames=999} + +\newbibmacro*{begentry}{} +\newbibmacro*{finentry}{\finentry} + +% Option handling + +\providebool{bbx:articletitle} +\providebool{bbx:chaptertitle} +\providebool{bbx:pageranges} +\providebool{bbx:subentry} +\DeclareBibliographyOption{articletitle}[true]{% + \setbool{bbx:articletitle}{#1}} +\DeclareBibliographyOption{chaptertitle}[true]{% + \setbool{bbx:chaptertitle}{#1}} +\DeclareBibliographyOption{biblabel}{% + \DeclareFieldFormat{labelnumberwidth}{\mkbibparens{##1}}% + \def\@tempa{plain}% + \def\@tempb{#1}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{##1}% + \fi + \def\@tempa{brackets}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{##1}}% + \fi + \def\@tempa{dot}% + \ifx\@tempa\@tempb + \DeclareFieldFormat{labelnumberwidth}{##1\adddot\midsentence}% + \fi +} +\DeclareBibliographyOption{pageranges}[true]{% + \setbool{bbx:pageranges}{#1}} +\DeclareBibliographyOption{subentry}[true]{% + \setbool{bbx:subentry}{#1}} + +\ExecuteBibliographyOptions{biblabel=parens,pageranges=true} + +% The standard aliases + +\DeclareNameAlias{author}{default} +\DeclareNameAlias{editor}{default} + +% Some basic formatting + +\DeclareFieldFormat{bibentrysetcount}{% + \mkbibparens{\mknumalph{#1}}} +\DeclareFieldFormat[inproceedings]{booktitle}{#1} +\DeclareFieldFormat{doi}{% + DOI\addcolon\addspace + \ifhyperref + {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}} + {\nolinkurl{#1}}} +\DeclareFieldFormat[patent]{number}{% + \bbx@digits@space{#1}% +} +\DeclareFieldFormat[article]{pages}{% + \ifbool{bbx:pageranges}{#1}{\mkpagefirst{#1}}% +} +\DeclareFieldFormat{parens}{\mkbibparens{#1}} +\DeclareFieldFormat{part}{\addslash#1} +\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} +\DeclareFieldFormat[article]{title}{#1} +\DeclareFieldFormat[proceedings]{title}{#1} +\DeclareFieldFormat[patent]{type}{\ifbibstring{#1}{% + \mkbibemph{\bibstring{#1}}}{\mkbibemph{#1}}} +\DeclareFieldFormat{url}{\url{#1}} +\DeclareFieldFormat[article]{volume}{\textbf{#1}} +\DeclareFieldFormat[periodical]{volume}{\bibstring{volume}~#1} + +\DeclareNameFormat{default}{% + \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}% + \usebibmacro{name:andothers}} + +\renewcommand*{\thebibitem}{\item} +\renewcommand*{\thelositem}{\item} +\renewcommand*{\mkbibnameaffix}[1]{\addcomma\addspace#1} +\renewcommand*{\newunitpunct}{\addcomma\addspace} + +% The environments are set up correctly + +\renewenvironment*{thebibliography} + {\list + {\printfield[labelnumberwidth]{labelnumber}} + {\setlength{\labelwidth}{\labelnumberwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {\endlist} + +\renewenvironment*{theshorthands} + {\list + {\printfield[shorthandwidth]{shorthand}} + {\setlength{\labelwidth}{\shorthandwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + \renewcommand*{\makelabel}[1]{\hss##1}}} + {\endlist} + +% Some altered strings, in English at least + +\DefineBibliographyStrings{english}{% + chapter = {ch\adddot}, + edition = {edn\adddot}, + patentus = {US Pat\adddot}, + phdthesis = {Ph.D. Thesis} +} + +% Some custom code for doing digit separation. +% This is very similar to the code in siunitx, which is itself +% taken from numprint. + +\newcommand*{\bbx@digits@space}[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 and altered bibliography macros + +\newbibmacro*{chapter+pages}{% + \printfield{chapter}% + \newunit + \printfield{pages}% + \newunit} + +\renewbibmacro*{editor}{% + \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}} + {\usebibmacro{editorstrg}% + \addspace + \printnames{editor}% + \clearname{editor}} + {}} + +\renewbibmacro*{editorstrg}{% + \iffieldundef{editortype} + {\bibstring{editor}} + {\bibstring{\thefield{editortype}}}} + +\newbibmacro*{in}{% + \bibstring{in}% + \setunit{\addspace}} + +\newbibmacro*{institution+location+year}{% + \printlist{institution}% + \newunit + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\renewbibmacro*{journal}{% + \iffieldundef{journaltitle} + {} + {\printtext[journaltitle]{% + \printfield[titlecase]{journaltitle}% +% \setunit{\subtitlepunct}% + \printfield[titlecase]{journalsubtitle}}}} + +\newbibmacro*{journal+volume}{% + \printfield{journal}% + \newunit + \printfield{year}% + \newunit + \printfield{volume}% + \newunit} + +\newbibmacro*{location+year}{% + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\renewbibmacro*{maintitle}{% + \ifthenelse{\iffieldundef{maintitle}\AND + \iffieldundef{mainsubtitle}} + {} + {\printtext[maintitle]{% + \printfield[noformat]{maintitle}% + \addspace + \printfield[parens]{mainsubtitle}}% + \newunit}% + \printfield{maintitleaddon}% + \newunit} + +\newbibmacro*{maintitle/booktitle}{% + \iffieldundef{maintitle}{% + \usebibmacro{booktitle}% + }{% + \usebibmacro{maintitle}% + }} + +\newbibmacro*{maintitle/title}{% + \iffieldsequal{maintitle}{title} + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}} + {}% + \iffieldundef{maintitle} + {\usebibmacro{title}} + {\usebibmacro{maintitle}}% + \newunit} + +\newbibmacro*{organization+location+year}{% + \printlist{organization}% + \newunit + \printlist{location}% + \newunit + \printfield{year}% + \newunit} + +\newbibmacro*{pages/doi}{% + \iffieldundef{pages} + {\printfield{doi}} + {\printfield{pages}}} + +\newbibmacro*{publisher+location}{% + \printlist{publisher}% + \newunit + \printlist{location}% + \newunit} + +\newbibmacro*{series+number}{% + \printfield{series}% + \setunit*{\addspace}% + \printfield{number}% + \newunit} + +\newbibmacro*{volume+part}{% + \iffieldundef{series} + {\printfield{volume}% + \printfield{part}} + {}} + +% Drivers, edited from the standard versions, some quite heavily + +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \ifbool{bbx:articletitle} + {\usebibmacro{title}% + \newunit} + {}% + \usebibmacro{journal+volume}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{pages/doi}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{book}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \usebibmacro{maintitle/title}% + \newunit + \usebibmacro{editor}% + \newunit + \usebibmacro{publisher+location}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{booklet}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{howpublished}% + \newunit + \printfield{type}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{collection}{% Very similar to a book + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{maintitle/title}% + \newunit + \usebibmacro{editor}% + \newunit + \usebibmacro{publisher+location}% + \newunit + \printfield{edition}% + \newunit + \printfield{year}% + \newunit + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inbook}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \ifbool{bbx:chaptertitle} + {\usebibmacro{title}% + \newunit} + {}% + \usebibmacro{in}% + \usebibmacro{bybookauthor}% + \newunit + \usebibmacro{maintitle/booktitle}% + \newunit + \usebibmacro{editor}% + \newunit + \usebibmacro{publisher+location}% + \newunit + \printfield{edition}% + \newunit + \printfield{year}% + \newunit + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \ifbool{bbx:chaptertitle} + {\usebibmacro{title}% + \newunit} + {}% + \usebibmacro{in}% + \usebibmacro{maintitle/booktitle}% + \newunit + \usebibmacro{editor}% + \newunit + \usebibmacro{publisher+location}% + \newunit + \printfield{edition}% + \newunit + \printfield{year}% + \newunit + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \printfield{booktitle}% + \newunit + \usebibmacro{editor}% + \newunit + \printfield{venue}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{manual}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{edition}% + \newunit + \usebibmacro{series+number}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{organization+location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{misc}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{howpublished}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \printlist{organization}% + \newunit + \printlist{location}% + \newunit + \usebibmacro{date}% + \newunit + \printfield{doi}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{online}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \printlist{organization}% + \newunit + \usebibmacro{date}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \printfield{type}% + \newunit + \printfield{number}% + \newunit + \usebibmacro{byholder}% + \newunit + \printfield{location}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \printfield{issuetitle}% + \newunit + \usebibmacro{editor}% + \newunit + \usebibmacro{publisher+location}% + \newunit + \printfield{edition}% + \newunit + \printfield{title}% + \newunit + \printfield{year}% + \newunit + \usebibmacro{volume+part}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{maintitle/title}% + \newunit + \usebibmacro{editor}% + \newunit + \printfield{venue}% + \newunit + \printfield{year}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{report}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{institution+location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{set}{% + \ifbool{bbx:subentry} + {\entryset{% + \printfield[bibentrysetcount]{entrysetcount}% + \setunit*{\addnbspace}}{}} + {\entryset{}{}} + \finentry} + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \printfield{note}% + \newunit + \printfield{type}% + \newunit + \usebibmacro{institution+location+year}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{unpublished}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \printfield{journaltitle}% + \newunit + \printfield{howpublished}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{date}% + \newunit + \usebibmacro{url+urldate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +% Some aliases + +\DeclareBibliographyAlias{review}{article} +\DeclareBibliographyAlias{reference}{collection} +\DeclareBibliographyAlias{inreference}{incollection} +\DeclareBibliographyAlias{suppbook}{inbook} +\DeclareBibliographyAlias{suppcollection}{incollection} +\DeclareBibliographyAlias{suppperiodical}{article} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-acs.cbx b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-acs.cbx new file mode 100644 index 00000000000..ac673d0162e --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-acs.cbx @@ -0,0 +1,9 @@ +\ProvidesFile{chem-acs.cbx} +[\abx@cbxid $Id: chem-acs.cbx,v 0.9 2010/02/16 + 09:00:00 joseph beta $] + +\RequireCitationStyle{numeric-comp} +\ExecuteBibliographyOptions{% + autocite=superscript,autopunct=true,sorting=none} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-angew.cbx b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-angew.cbx new file mode 100644 index 00000000000..fbf6bbc43c3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-angew.cbx @@ -0,0 +1,25 @@ +\ProvidesFile{chem-angew.cbx} +[\abx@cbxid $Id: chem-angew.cbx,v 0.9 2010/02/16 + 09:00:00 joseph beta $] + +\RequireCitationStyle{numeric-comp} +\ExecuteBibliographyOptions{% + autocite=superscript,autopunct=true,sorting=none} + +\DeclareCiteCommand{\supercite}[\mkbibsuperscript] + {\usebibmacro{cite:init}% + \let\multicitedelim=\supercitedelim + \iffieldundef{prenote} + {} + {\BibliographyWarning{Ignoring prenote argument}}% + \iffieldundef{postnote} + {} + {\BibliographyWarning{Ignoring postnote argument}}% + \bibleftbracket} + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}} + {} + {\usebibmacro{cite:dump}% + \bibrightbracket} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-biochem.cbx b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-biochem.cbx new file mode 100644 index 00000000000..c568b92e680 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-biochem.cbx @@ -0,0 +1,12 @@ +\ProvidesFile{chem-biochem.cbx} +[\abx@cbxid $Id: chem-biochem.cbx,v 0.9 2010/02/16 + 09:00:00 joseph beta $] + +\RequireCitationStyle{numeric-comp} +\ExecuteBibliographyOptions{sorting=none} + +\DeclareFieldFormat{labelnumber}{\textit{#1}} +\renewcommand*{\bibleftbracket}{(} +\renewcommand*{\bibrightbracket}{)\midsentence} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-rsc.cbx b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-rsc.cbx new file mode 100644 index 00000000000..5a8c72140e1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-contrib/biblatex-chem/cbx/chem-rsc.cbx @@ -0,0 +1,9 @@ +\ProvidesFile{chem-rsc.cbx} +[\abx@cbxid $Id: chem-rsc.cbx,v 0.9 2010/02/16 + 09:00:00 joseph beta $] + +\RequireCitationStyle{numeric-comp} +\ExecuteBibliographyOptions{% + autocite=superscript,autopunct=true,sorting=none} + +\endinput diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 88d12ab7f86..0a91e4b1f6e 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -43,7 +43,7 @@ my @TLP_working = qw( # these packages should be up to date begriff bera betababel beton bez123 bezos bgreek bib-fr bibarts bibhtml - biblatex biblatex-nature + biblatex biblatex-chem biblatex-nature bibleref bibtopic bibtopicprefix bibexport bibunits bidi bigfoot bigints binomexp bizcard blacklettert1 blindtext diff --git a/Master/tlpkg/tlpsrc/biblatex-chem.tlpsrc b/Master/tlpkg/tlpsrc/biblatex-chem.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/biblatex-chem.tlpsrc diff --git a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc index 345b6dd02f3..b3313e3c08b 100644 --- a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc @@ -10,6 +10,7 @@ depend bibarts depend bibexport depend bibhtml depend biblatex +depend biblatex-chem depend biblatex-nature depend biblist depend bibtopic |