[Distr-commits] r386 - in branches/distr-2.1/pkg: SweaveListingUtils SweaveListingUtils/R distrMod/chm

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jan 28 15:13:20 CET 2009


Author: ruckdeschel
Date: 2009-01-28 15:13:20 +0100 (Wed, 28 Jan 2009)
New Revision: 386

Modified:
   branches/distr-2.1/pkg/SweaveListingUtils/DESCRIPTION
   branches/distr-2.1/pkg/SweaveListingUtils/R/SweaveListingUtils.R
   branches/distr-2.1/pkg/distrMod/chm/distrMod.chm
Log:
some minor modifications in SweaveListingUtils for use in distrMod for JSS;


Modified: branches/distr-2.1/pkg/SweaveListingUtils/DESCRIPTION
===================================================================
--- branches/distr-2.1/pkg/SweaveListingUtils/DESCRIPTION	2009-01-28 05:40:36 UTC (rev 385)
+++ branches/distr-2.1/pkg/SweaveListingUtils/DESCRIPTION	2009-01-28 14:13:20 UTC (rev 386)
@@ -12,4 +12,4 @@
         vignette and documented source code
 Maintainer: Peter Ruckdeschel <Peter.Ruckdeschel at itwm.fraunhofer.de>
 License: LGPL-3
-Date: 2008-11-27
+Date: 2009-01-28

Modified: branches/distr-2.1/pkg/SweaveListingUtils/R/SweaveListingUtils.R
===================================================================
--- branches/distr-2.1/pkg/SweaveListingUtils/R/SweaveListingUtils.R	2009-01-28 05:40:36 UTC (rev 385)
+++ branches/distr-2.1/pkg/SweaveListingUtils/R/SweaveListingUtils.R	2009-01-28 14:13:20 UTC (rev 386)
@@ -179,12 +179,12 @@
 cat("\\DefineVerbatimEnvironment{Scode}{Verbatim}")
 cat("%\n  {fontshape=sl,formatcom=\\color{Rcolor}\\lstset{fancyvrb=true}}\n")
 cat(line)
-cat("\\ifthenelse{\\boolean{Sweave at gin}}{\\setkeys{Gin}{width=0.6\\textwidth}}{}%\n")
+cat("\\ifthenelse{\\boolean{Sweave at gin}}{\\setkeys{Gin}{width=0.8\\textwidth}}{}%\n")
 cat(line)
 cat("\\let\\code\\lstinline\n")
-cat("\\newcommand{\\Code}[1]{{\\tt\\color{Rcolor} #1}}\n")
-cat("\\newcommand{\\file}[1]{{\\tt #1}}\n")
-cat("\\newcommand{\\pkg}[1]{{\\tt \"#1\"}}\n")
+cat("\\def\\Code#1{{\\tt\\color{Rcolor} #1}}\n")
+cat("\\def\\file#1{{\\tt #1}}\n")
+cat("\\def\\pkg#1{{\\tt \"#1\"}}\n")
 if(missing(pkv)){
      if(nzchar(rpkv <- readPkgVersion(package = pkg, lib.loc=lib.loc)))
         pkv <- rpkv

Modified: branches/distr-2.1/pkg/distrMod/chm/distrMod.chm
===================================================================
(Binary files differ)



More information about the Distr-commits mailing list