tags:

views:

80

answers:

1

Running the following

agrid = Grid[{{Style["hello", Bold]}}]
ImportString[ExportString[agrid, "PNG"], "PNG"]
ImportString[ExportString[agrid, "EPS"], "EPS"]

spits out

hello
hello
"hello"

That is, the EPS exporter included the quotation marks in the output. Same for PDF. Without the Grid, all exporters leave out the quotation marks. What magic do I need to get rid of the quotation marks in the PDF?

+3  A: 

Add ShowStringCharacters->False to your Style.

ragfield
Thanks, I was not looking in that direction at all. Do you know of any reason it works fine (without fancy styling) when the string is not in a Grid?
Janus