String quotation marks when exporting a Mathematica Grid as vector graphics

Posted by Janus on Stack Overflow See other posts from Stack Overflow or by Janus
Published on 2010-06-18T07:24:14Z Indexed on 2010/06/18 7:33 UTC
Read the original article Hit count: 449

Filed under:

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?

© Stack Overflow or respective owner

Related posts about mathematica