Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Export as PDF without " for strings

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92759] Re: Export as PDF without " for strings
  • From: "michael.p.croucher at googlemail.com" <michael.p.croucher at googlemail.com>
  • Date: Sun, 12 Oct 2008 04:34:22 -0400 (EDT)
  • References: <gcq0i6$c6u$1@smc.vnet.net>

Hello again Markus

I have been playing with your problem a little more - this also works:

X = "+" <> ToString[a]
Export["test.pdf", X]

Cheers,
Mike

On 11 Oct, 11:52, Markus Huber <m... at gmx.at> wrote:
> Hello,
>
> I want to export some graphics containing mathematical signs as
> strings, e.g. "+". Mathematica does not show the " in plots, and
> that's good. However, when I use Export, the " appear. On the other
> hand, selecting the graphics, using the menu entry File->Save
> Selection as ... works fine, i.e. no " are shown.
>
> Let me give a simplified example:
>
> X="+" a;
> Export["~/test.pdf", X]
>
> This produces a pdf with "+" a in it, but I want + a.
>
> The reason I use strings is that I do not want M to calculate things,
> as it would do otherwise. (If anybody knows how to use + signs without
> M calculating, my problem would also be solved.)
>
> So how can I export something similar to the Save Selection as ...
> command, but with an executable command like Export? Are there any
> options suppressing " for strings?
>
> Thanks in advance,
>
> Markus Huber



  • Prev by Date: Re: Export as PDF without " for strings
  • Next by Date: Re: Executing external notebook
  • Previous by thread: Re: Export as PDF without " for strings
  • Next by thread: Re: Export as PDF without " for strings