[Rcpp-commits] r2383 - pkg/Rcpp/inst/doc/Rcpp-package

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Nov 2 02:26:42 CET 2010


Author: edd
Date: 2010-11-02 02:26:41 +0100 (Tue, 02 Nov 2010)
New Revision: 2383

Modified:
   pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw
Log:
small local fix for the Rcpp-package build


Modified: pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw	2010-11-01 17:18:24 UTC (rev 2382)
+++ pkg/Rcpp/inst/doc/Rcpp-package/Rcpp-package.Rnw	2010-11-02 01:26:41 UTC (rev 2383)
@@ -71,7 +71,7 @@
 				keep <- seq( which( tex == "\\noindent" ), which( tex == "\\normalfont" ) )
 				tex <- c(
 					"\\vspace{1em}\\noindent\\fbox{\\begin{minipage}{0.9\\textwidth}" ,
-					tex[ keep ],
+                                         gsub("^$", "%", tex[keep]),
 					"\\end{minipage}}\\vspace{1em}" )
 				writeLines( tex )
 			})



More information about the Rcpp-commits mailing list