Re: [R] bug in odfWeave

From: Kuhn, Max <>
Date: Tue 02 Jan 2007 - 16:26:31 GMT

I've verified this bug and will be releasing a new version shortly.


-----Original Message-----
From: Abhijit Dasgupta [] Sent: Saturday, December 23, 2006 12:03 AM To:; Kuhn, Max
Subject: bug in odfWeave


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=",

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}} mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed Jan 03 03:31:03 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 02 Jan 2007 - 17:30:28 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.