MathGroup Archive 2008

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

Search the Archive

Re: Copying text out of mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94081] Re: Copying text out of mathematica
  • From: amannuc1 <Anthony.J.Mannucci at jpl.nasa.gov>
  • Date: Thu, 4 Dec 2008 07:16:06 -0500 (EST)
  • References: <gh0jmg$5nt$1@smc.vnet.net> <gh2h0n$i62$1@smc.vnet.net>

On Dec 1, 9:27 pm, Will Robertson <wsp... at gmail.com> wrote:
> On 2008-12-01 22:31:20 +1030, Mariano Su=E1rez-Alvarez
> <mariano.suarezalva... at gmail.com> said:
>
> > this is probably silly, but anyways... How do I copy text out of
> > Mathematica (6.0.3, Linux) as plain text without the really, really
> > annoying \ characters that Mathematica adds to mark line breaks?
>
> Does "Edit > Copy As > Plain Text" do the trick?
>
> Will

I find that copy as plain text has varying results. I cannot figure
out why. Here are two examples:
This results from pasting a "copy as plain text".
Off[General::spell1];

But so does this.
\!\(\*
  RowBox[{\(ngps\  = \ 1.0;\), " ",
    RowBox[{"(*", " ",
      StyleBox[\(n\_t\),
        FontSlant->"Italic"], " ", "*)"}]}]\)

Why all the extra "stuff"? This is the next line in the same notebook.
The line is a simple
assigment statement.
npgs = 1.0; (* nt *)

where the t is a subscript. Hmmm. When I remove the comment, it looks
more normal:

ngps = 1.0;

Are subscripts the issue? Or comments? Further experimentation
suggests a single subscript changes everything.
What gives?

-Tony


  • Prev by Date: Re: Extracting free parameters from a Solve result
  • Next by Date: Clever Tricky Solutions
  • Previous by thread: Re: Copying text out of mathematica
  • Next by thread: Re: Copying text out of mathematica