MathGroup Archive 2006

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

Search the Archive

\( not stable during copy&paste

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70571] \( not stable during copy&paste
  • From: "ben" <benjamin.friedrich at gmail.com>
  • Date: Fri, 20 Oct 2006 05:21:32 -0400 (EDT)

Dear group

I got into a nasty trap using a string consisting of a single
accented character.

When I copy&paste this string, it changes (a useless pair of \( \) is
removed) !

This is quite annoying, since I am using this string in a symbolic
calculation.
I got two versions of my string which are visually absolutely
undistinguishable,
altough they are not identical.

Here an example:

1. InputForm[]
2. Enter v with tilde via palette, add ""
3. Evaluate
4. Delete the string, paste it back again
5. Evaluate again

\!\(InputForm[\*"\"\<\!\(\(v\&~\)\)\>\""]\)
"\!\(\(v\&~\)\)"

\!\(InputForm[\*"\"\<\!\(\(v\&~\)\)\>\""]\)
"\!\(v\&~\)"

In[424]:=
\!\(InputForm[\*"\"\<\!\(\(v\&~\)\)\>\""]\)
Out[424]//InputForm=
"\!\(\(v\&~\)\)"
In[420]:=
\!\(InputForm[\*"\"\<\!\(v\&~\)\>\""]\)
Out[420]//InputForm=
"\!\(v\&~\)"

Any suggestions?

Cheers
Ben

P.S. 
Mathematica 5.2, Linux


  • Prev by Date: Re: compute limit
  • Next by Date: Re: Coefficient with dot products
  • Previous by thread: complex eigenvectors
  • Next by thread: Re: Weird (but reproducible) screen display glitch: \[ImaginaryI] appears as just "i"