开发者

Getting a Mathematica Menu Bar on Linux

The Linux front end of Mathematica (8.0.1.0) does not seem to have a Menu Bar which is apart from any given notebook. In any Windows front end I have used, there is a standalone Menu Bar which contains the usual: "File, Edit, Insert, Format, Cell, Graphics, Evaluation, Palettes, Window, Help". Each of the notebooks on my Linux front end have this menu, but I am looking to have one which stands alone.

In particular, I am looking to use the "Generate Notebook From Palette" option located in the Palette portion of the Menu Bar. The reason I require the stand alone bar is that the palette I want to c开发者_StackOverflow社区onvert to a notebook, the DocumentationTools palette which comes with Wolfram Workbench 2, does not have its own Menu Bar. Attempting to use the menu bar from a notebook associates the possible options with that notebook whereas, if I had a stand alone Menu Bar, I could make it so the 'active' notebook is this palette and then go to town converting the palette to a notebook.

In short:

How can I obtain a stand alone Menu Bar on a Linux front end of Mathematica?

or

How can I convert a palette to a notebook without a Menu Bar?

or

Does the DocumentationTools palette which comes with Wolfram Workbench 2 exist in a directory as a notebook file that I may be able to snag?


This seems to work under OS X so I can't guarantee that it will work on Linux, but to create a palette programmatically you could try the following

  • Open the Palette you're interested in,
  • Execute Notebooks[]
  • Set nb to whatever the notebook is belonging to the Palette
  • Run FrontEndTokenExecute[nb, "GenerateNotebook"]

It should then open a Notebook version in a new window.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜