Re: export grid to pdf string problem
- To: mathgroup at smc.vnet.net
- Subject: [mg85997] Re: export grid to pdf string problem
- From: ragfield <ragfield at gmail.com>
- Date: Sat, 1 Mar 2008 04:40:19 -0500 (EST)
- References: <fq8qvi$jc7$1@smc.vnet.net>
On Feb 29, 5:40 am, Mitch Murphy <mi... at lemma.ca> wrote: > hi, > > export to pdf converts strings to some kind of internal form (which > looks like a notebook viewed in a text editor) when exporting a Grid > (not a GraphicsGrid), ie. > > what i want ... > > Off-road use of diesel 50.12% > Heavy-duty diesel vehicles 17.61% > Marine Transportation 7.63% > > what i get ... > > "Off-road use of diesel" "\!\(\"50.12\"\)%" > "Heavy-duty diesel vehicles" "\!\(\"17.61\"\)%" > "Marine Transportation" "\!\(\"7.63\"\)%" > > any suggestions? how do i get rid of all the crud? g=Style[Grid[{ {"Off-road use of diesel", "50.12%"}, {"Heavy-duty diesel vehicles", "17.61%"}, {"Marine Transportation", "7.63%"} }], ShowStringCharacters->False] Export["/tmp/test.pdf", g] -Rob