An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090320/7e4ed49b/attachment-0002.pl>
odfWeave : change of text style of output is ignored
4 messages · Fredrik Karlsson, Max Kuhn
Did you do this within the document, or prior to running odfWeave? Also, please provide the output of sessionInfo() after starting odfWeave. Max
On Fri, Mar 20, 2009 at 11:03 AM, Fredrik Karlsson <dargosch at gmail.com> wrote:
Dear list, The output of my embedded code sections come out in the style "ttBlue" wich is Times New Roman and Blue when I open document. I would like to change this to a fixed witdth font, smaller and less blue by using style definitions in the document, but it really does not affect the output. I tried including getStyleDefs() -> styl styl$ttBlue$fontname <- "Courier" styl$ttBlue$fontSize <- "9pt" styl$ttBlue$fontColor <- "#000000" setStyleDefs(styl) at the beginning of the document, but the output is still blue, not fixed width and still 10pt. Any ideas on how to get this to work? /Fredrik -- "Life is like a trumpet - if you don't put anything into it, you don't get anything out of it." ? ? ? ?[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org 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.
Max
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090320/9ca5e4ea/attachment-0002.pl>
I was including the settings in my document, but I also tried setting it from the command line. This resulted in more of a change, but only in that the ttBlue now being defined as black rather than blue. So, some effect, but not all the way.
You will have to define the styles before calling odfWeave, but you can set them within the document anywhere. Can you send me (off-list) a self contained example odt file and R script? Thanks, Max