Re: PDF/Illustrator Oddity
- To: mathgroup at smc.vnet.net
- Subject: [mg63072] Re: PDF/Illustrator Oddity
- From: "ragfield" <ragfield at gmail.com>
- Date: Tue, 13 Dec 2005 03:40:55 -0500 (EST)
- References: <dnir30$9ts$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
AES wrote:
> And for any Mathematica gurus who may have gotten this far down: I can
> Export[] graphics objects (Plots, etc) directly to PDF files just fine.
> Any way to Export[] a Table to a PDF file under notebook control?
By "Table" are you talking about a GridBox? You can do this by
wrapping the box structure in Graphics[Text[DisplayForm[...boxes...],
{0,0}]], like this:
Export["/tmp/GridBox.pdf",
Graphics[Text[DisplayForm[GridBox[{
{"1", "0", "0"},
{"0", "1", "0"},
{"0", "0", "1"}
}, RowLines -> True, ColumnLines -> True]], {0, 0}]], "PDF"]
-Rob