Robert O'Boyle wrote: > I have J tables which I would like to place into various documents (e.g. > WORD). Here is an example
I can give you a troff example together with jconsole. Here is the troff document source, file "unfair.ms": ----snip----- .TL How unfair! .AU Martin Neitzel .AI Marshlabs .SH Initial Findings .LP Recent studies show that not all numbers are created equal. Some are apparently greater than others: .nf \" no paragraph filling .cs R 36 \" constant spacing for the Roman font .rd \" read matter fromm stdin (J output) up to an empty line .cs R \" disable constant spacing .SH Conclusions and Summary .LP Ain't that unfair? For quantitative evaluations, further grants are required. ----snap----- I run a slightly pimped variation of "jconsole" to create the data from the command line and push that together with an empty line into the formatting process: ( jfront -q -e '> table i. 5' ; echo ) | groff -ms unfair.ms > unfair.ps You can view the PostScript output at http://juggle.gaertner.de/bnp/unfair.ps For larger or multiple uses of J, I'd use J scripts, create output files containing the J data, and ".so" source those into the troff document. A small Makefile would tie everything together. Martin ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
