Re: [R] bug in odfWeave

2007-01-02 Thread Kuhn, Max
I've verified this bug and will be releasing a new version shortly.

Max 

-Original Message-
From: Abhijit Dasgupta [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 23, 2006 12:03 AM
To: r-help@stat.math.ethz.ch; Kuhn, Max
Subject: bug in odfWeave

Hi,

I think there is a minor bug in odfWeave. In the function odfStyleGen, 
the following line has an extra "=":

   if(length(grep("italic", thisStyle$fontType)))
   fontText <- c(fontText, tagattr("fo:font-style=",
"italic"))
 
This is creating an error if some text needs to be formatted as italic, 
since the corresponding entry in style.xml is "fo:font-style==italic". 
For the windows version, which I'm using, I can't correct since the R 
files are packaged in odfWeave.rdb (or at least I don't know how). 
Hopefully Max Kuhn or someone can update the windows binary to correct 
this.

Abhijit Dasgupta

PS: I found the bug after downloading the source files.
--
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] bug in odfWeave

2006-12-22 Thread Abhijit Dasgupta
Hi,

I think there is a minor bug in odfWeave. In the function odfStyleGen, 
the following line has an extra "=":

   if(length(grep("italic", thisStyle$fontType)))
   fontText <- c(fontText, tagattr("fo:font-style=", "italic"))
 
This is creating an error if some text needs to be formatted as italic, 
since the corresponding entry in style.xml is "fo:font-style==italic". 
For the windows version, which I'm using, I can't correct since the R 
files are packaged in odfWeave.rdb (or at least I don't know how). 
Hopefully Max Kuhn or someone can update the windows binary to correct 
this.

Abhijit Dasgupta

PS: I found the bug after downloading the source files.

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.