The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Shift-Ctrl-N and Manipulate
Replies: 1   Last Post: Dec 21, 2010 12:21 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
ברק שושני

Posts: 8
Registered: 12/19/10
Shift-Ctrl-N and Manipulate
Posted: Dec 19, 2010 5:11 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi everyone,

In previous versions of Mathematica, I could use the shortcut Shift-Ctrl-N or the menu option Cell -> Convert To -> StandardForm to clean up and format my code, for example, turn x^2 into a real superscript or x/y into a real fraction.

However, after upgrading to Mathematica 8, this option also automatically converts functions such as Manipulate or Slider into the actual output of the function. The entire code I wrote for the Manipulate applet becomes the actual applet, and so it's not possible to change the code any more. Ctrl-Z, of course, doesn't work, and the only way to get my code back is Shift-Ctrl-I or Cell -> Convert To -> InputForm, which makes it even uglier...

This means that I cannot use Shift-Ctrl-N to clean up and format my code anymore if it contains a Manipulate or any similar function. Usually the converted Manipulate code will not even work after using this option, for example if it depends on variables that have not yet been defined.

In conclusion, how can I clean up or format my code without converting the Manipulates? Is there another shortcut or option I can use? Or maybe there's a way to tell Mathematica not to convert the Manipulates?

Thank you,

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.