summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/rsc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-06 00:17:06 +0000
committerKarl Berry <karl@freefriends.org>2011-01-06 00:17:06 +0000
commit23874e3b30e5dbeba8cb8d27231c6c247e7f97dc (patch)
treec9513b30590eab11577a462c1179028c995d060f /Master/texmf-dist/tex/latex/rsc
parent4f4d5a12f967ecfe1ef88bf43966f35347cf7b7c (diff)
rsc 3.1d (4jan11)
git-svn-id: svn://tug.org/texlive/trunk@20942 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/rsc')
-rw-r--r--Master/texmf-dist/tex/latex/rsc/rsc.sty15
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/rsc/rsc.sty b/Master/texmf-dist/tex/latex/rsc/rsc.sty
index 68a1478094d..64e09d35bb3 100644
--- a/Master/texmf-dist/tex/latex/rsc/rsc.sty
+++ b/Master/texmf-dist/tex/latex/rsc/rsc.sty
@@ -15,17 +15,21 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{rsc}
- [2009/10/16 v3.1c Support for RSC and Wiley journals]
+ [2011/01/04 v3.1e Support for RSC and Wiley journals]
\RequirePackage{kvoptions}
\SetupKeyvalOptions{
family = rsc,
prefix = rsc@
}
+\DeclareBoolOption{linkdoi}
+\DeclareBoolOption{mciteplus}
\DeclareBoolOption{super}
\DeclareBoolOption{usetitle}
\DeclareBoolOption{usedoi}
\DeclareStringOption{maxauthors}
\setkeys{rsc}{
+ linkdoi = false,
+ mciteplus = true,
maxauthors = 0,
usetitle = false,
usedoi = false,
@@ -67,6 +71,9 @@
\@tempa{ctrl-use-doi-all}{%
\ifrsc@usedoi yes\else no\fi
}%
+ \@tempa{ctrl-link-doi}{%
+ \ifrsc@linkdoi yes\else no\fi
+ }%
\@tempa{ctrl-etal-number}{\rsc@maxauthors}%
\string}^^J%
}%
@@ -78,7 +85,9 @@
}%
}
\IfFileExists{mciteplus.sty}{%
- \RequirePackage{mciteplus}
+ \ifrsc@mciteplus
+ \RequirePackage{mciteplus}
+ \fi
}{}
\AtBeginDocument{%
\let\rsc@bibliography\bibliography
@@ -87,7 +96,7 @@
}%
}
%%
-%% Copyright (C) 2006-2009 by
+%% Copyright (C) 2006-2009,2011 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of