%% %% This is file `rsc.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% rsc.dtx (with options: `package') %% ---------------------------------------------------------------- %% The rsc package --- BibTeX styles for Royal Society of Chemistry %% and Wiley journals %% 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 %% ---------------------------------------------------------------- %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{rsc} [2008/08/27 v3.0 Support for RSC and Wiley journals] \RequirePackage{mciteplus,kvoptions} \SetupKeyvalOptions{ family = rsc, prefix = rsc@} \DeclareBoolOption{super} \DeclareBoolOption{usetitle} \DeclareBoolOption{usedoi} \DeclareStringOption{maxauthors} \setkeys{rsc}{ maxauthors = 0, usetitle = false, usedoi = false, super = true} \ProcessKeyvalOptions{rsc} \newcommand*{\rsc@prefix}{rsc-} \edef\rsc@msg{% This is an auxiliary file used by the `rsc' package.^^J% This file may safely be deleted. It will be recreated as required.^^J} \if@filesw \newwrite\rsc@out \newcommand*\rsc@stream{\rsc@prefix\jobname.bib}% \immediate\openout\rsc@out\rsc@stream\relax \immediate\write\rsc@out{\rsc@msg}% \edef\@tempa#1#2{\space\space#1\space=\space"#2",^^J}% \immediate\write\rsc@out{% @Control\string{rsc-control,^^J% \@tempa{ctrl-use-title}{\ifrsc@usetitle yes\else no\fi}% \@tempa{ctrl-etal-number}{\rsc@maxauthors}% \@tempa{ctrl-use-doi-all}{\ifrsc@usedoi yes\else no\fi}% \string}^^J}% \fi \AtBeginDocument{ \let\rsc@bibliography\bibliography \renewcommand*{\bibliography}[1]{% \rsc@bibliography{\rsc@prefix\jobname,#1}}} \g@addto@macro{\document}{% \if@filesw \immediate\write\@auxout{% \string\citation\string{rsc-control\string}}% \fi} \ifrsc@super \RequirePackage[sort&compress,numbers,super]{natbib} \IfFileExists{natmove.sty} {\RequirePackage{natmove}} {} \else \RequirePackage[sort&compress,numbers]{natbib} \fi \endinput %% %% End of file `rsc.sty'.