Re: Re: Re: Presentation quick with

*To*: mathgroup at smc.vnet.net*Subject*: [mg100794] Re: [mg100765] Re: [mg100724] Re: [mg100678] Presentation quick with*From*: Murray Eisenberg <murray at math.umass.edu>*Date*: Sun, 14 Jun 2009 05:39:43 -0400 (EDT)*Organization*: Mathematics & Statistics, Univ. of Mass./Amherst*References*: <200961310116.226862@jfultz2winlap>*Reply-to*: murray at math.umass.edu

Of course! When I selected Install Palette, the pop-up dialog asked for a source, and I forgot that the source file could be an open notebook and not necessarily a notebook previously saved. The issue remains, however, about saving a palette once you create it with Generate Palette from Selection. It just seems to me that one should not have to go through all the fuss of seeing the list of values of Notebooks[], picking the relevant one nb, and finally using NotebookSave[nb]. What is the rationale for the design decision not to allow, by default, using File->Save or File->Save As directly upon such a created palette? John Fultz wrote: > There is no missing step. Palettes->Install Palette..., which I mention below, > installs a copy of the palette into the right location so that it will be found > in the Palettes menu. It does so by saving a copy of the palette in the right > directory with the name you specify, and then immediately regenerating the menus > so that you don't have to quit/restart to see the results. > > > Sincerely, > > John Fultz > jfultz at wolfram.com > User Interface Group > Wolfram Research, Inc. > > > On Sat, 13 Jun 2009 06:03:48 -0400 (EDT), Murray Eisenberg wrote: >> There's a step missing below: how to save the palette after using >> Palettes->Generate Palette from Selection ! >> >> This issue has arisen before in MathGroup. I know there's an answer, and >> I could probably again reconstruct it or find it by a search, but the >> difficulty indicates that there's a design gap in Mathematica in such >> situations. It just should not be that non-obvious. >> >> >> John Fultz wrote: >> >>> ... evaluate this code to make a button, click on a >>> cell insertion point, and click the button: >>> >>> Button["Insert Text+Math Grid", >>> NotebookWrite[InputNotebook[], >>> Cell[BoxData[ >>> FormBox[GridBox[{{Cell["text"], "\[Placeholder]"}}], >>> TraditionalForm]], "Text"]]] >>> >>> You could turn this button into a palette (Palettes->Generate Palette >>> from Selection) and install it (Palettes->Install Palette...) and use >>> it later (Palettes-><whatever you named your palette>) as well. > > > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305