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: [mg94053] Re: Copying text out of mathematica
  • From: carlos at colorado.edu
  • Date: Wed, 3 Dec 2008 05:44:17 -0500 (EST)
  • References: <gh2h6c$ibl$1@smc.vnet.net>

On Dec 1, 10:30 pm, John Fultz <jfu... at wolfram.com> wrote:
> On Mon, 1 Dec 2008 07:01:25 -0500 (EST), Mariano Su=E1rez-Alvarez wrote=
:
> > Hi all,
>
> > 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?
> > How does one control the line-length used by InputForm, for example,
> > when doing things like
>
> > InputForm@ StringJoin@ Table["a", {160}]
>
> > Cheers,
>
> > -- m
>
> By default, copying Input or Output cells from Mathematica goes to a grea=
t deal
> of trouble to preserve evaluation properties.  But to simply copy what =
you see,
> just do Copy As->Plain Text.  Copying this way has an infinite width,
> incidentally...so the only line breaks which will be copied are those whi=
ch are
> explicitly in the thing you copied.
>
> Copy As Plain Text also has a keyboard shortcut, Ctrl+Shift+C (or Cmd+Shi=
ft+C on
> the Mac).
>
> Sincerely,
>
> John Fultz
> jfu... at wolfram.com
> User Interface Group
> Wolfram Research, Inc.

Selecting the InputForm output with the mouse then
doing CopyAs->PlainText preserves the same unwanted
linefeeds  and spaces inserted by InputForm.


  • Prev by Date: Re: Passing default options to nested function call
  • Next by Date: RE: ListPlot and Tooltip
  • Previous by thread: Re: Copying text out of mathematica
  • Next by thread: Re: Copying text out of mathematica