Re: [R] odfWeave cross-reference

From: Emmanuel Charpentier <charpent_at_bacbuc.dyndns.org>
Date: Sun, 23 Dec 2007 11:51:49 +0100

Chris.H. Snow a écrit :
> How can I insert cross-references to odfWeave generated figures in my
> source odf before the graphic has been created with odfWeave?

In the current (0.6.0) version, you can't. I wrote some modifications to odfWeave in this direction, planning to send them back to Max Kuhn after some testing, but am currently unable to work on them.

Basically, you have to separate the creation of a reference to a table|figure from the creation of the table|figure itself. The simplest way is to be able 1) to create some forme of R object containing the necessary reference info, 2) to use such an R object in ordre to insert the XML code for reference and|or 3) to pass such an object as an optional argument to table|figure caption creation.

My current set of functions allows all of the above, but is not correctly integrated in the package, and has not been tested extensively.

HTH,                                         Emmanuel Charpentier



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. Received on Sun 23 Dec 2007 - 10:58:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 23 Dec 2007 - 15:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.