diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/sasnrdisplay/SASnRdisplay.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/sasnrdisplay/SASnRdisplay.sty | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/sasnrdisplay/SASnRdisplay.sty b/Master/texmf-dist/tex/latex/sasnrdisplay/SASnRdisplay.sty index 350c9bb82d4..7fd8d1bc48b 100644 --- a/Master/texmf-dist/tex/latex/sasnrdisplay/SASnRdisplay.sty +++ b/Master/texmf-dist/tex/latex/sasnrdisplay/SASnRdisplay.sty @@ -1,7 +1,9 @@ -\ProvidesPackage{SASnRdisplay}[2012/03/27 v0.91 by daleif] +\ProvidesPackage{SASnRdisplay}[2014/03/07 v0.93 by daleif] -%% $LastChangedDate: 2012-03-27 12:21:59 +0200 (Tue, 27 Mar 2012) $ -%% $LastChangedRevision: 1480 $ +\newcommand\SnRversion{v0.93 2014/03/07} + +%% $LastChangedDate: 2012-10-15 16:01:29 +0200 (Mon, 15 Oct 2012) $ +%% $LastChangedRevision: 1552 $ %% $LastChangedBy: daleif $ %% @@ -102,10 +104,10 @@ \DeclareOptionX{countbysection}{\toggletrue{SnRcountbysection}} \DeclareOptionX{countbychapter}{% % if \chapter is not available specify section instead - \ifdef\chapter{ - \toggletrue{SnRcountbychapter} - }{ + \ifundef\chapter{ \toggletrue{SnRcountbysection} + }{ + \toggletrue{SnRcountbychapter} } } @@ -427,7 +429,7 @@ % end rincludecode % rincludeoutput \lstdefinestyle{r-include-output}{ - style = r-outout, + style = r-output, style = r-include-user, style = r-include-output-user, } @@ -698,6 +700,16 @@ \InputIfFileExists{SASnRdisplay.cfg}{}{} \InputIfFileExists{SASnRdisplayuser.cfg}{}{} + +\AtBeginDocument{ + \@ifpackageloaded{SASdisplay}{ + \PackageError{SASnRdisplay}{SASnRdisplay cannot be loaded at the + same time as the legacy SASdisplay package.}{Please remove the + SASdisplay package} + }{} +} + + \endinput |