MathGroup Archive 2007

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

Search the Archive

Re: Re: Re: Re: Re: 6.0 not seeing style

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76592] Re: [mg76428] Re: [mg76390] Re: [mg76351] Re: [mg76262] Re: 6.0 not seeing style
  • From: John Fultz <jfultz at wolfram.com>
  • Date: Thu, 24 May 2007 06:12:34 -0400 (EDT)
  • Reply-to: jfultz at wolfram.com

As you may have figured out from my last email, this has to do with the 
MenuPosition option set on the style notebooks as a whole.

All style notebooks on the stylesheet path or in any subdirectory of a=
 directory 
on the stylesheet path will show up unless specifically disabled via the 
MenuPosition option at the notebook level (which is exactly how the legacy 
stylesheets packaged with 6.0 are disabled from appearing in the menus).

Sincerely,
 
John Fultz
jfultz at wolfram.com
User Interface Group
Wolfram Research, Inc.

On Tue, 22 May 2007 02:46:05 -0400 (EDT), Murray Eisenberg wrote:
> So I tried to put the 15 legacy style sheets -- not including Default.nb
> or HelpBrowser.nb -- into a separate Legacy subdirectory of
> Mathematica6.0\SystemFiles\FrontEnd\StyleSheets.
>
> Even after restarting Mahematica with clean preferences, when I select
> menu item Format > Stylesheet, that subdirectory is not listed among the
> other subdirectories (Article, Book, ...) there.
>
> Curiously, in my $UserAddOnsDirectory\SystemFiles\FrontEnd\StyleSheets
> directory I created a Miscellaneous subdirectory and put some old style
> sheets there.  This directory, Miscellaneous, DOES show up on the menu
> of style sheets.
>
> Where is that hard-wired in?
>
> John Fultz wrote:
>> That is correct.  These stylesheets are no longer being maintained.  If
>> you feel
>> that the stylesheets that are present and prominently advertised in the
>> menus
>> are inadequate, and especially if they are inadequate in a way that one
>> of the
>> legacy stylesheets was adequate to your use, then I'd certainly
>> encourage you to
>> email suggestions at wolfram.com.
>>
>> You could also email me and I can pass your suggestions along, but I
>> was only
>> tangentially involved in this decision, and I'm not well prepared to
>> respond
>> directly to such suggestions.
>>
>> In the meantime, you can also set a stylesheet by evaluating, e.g.,
>>
>> SetOptions[EvaluationNotebook[],StyleDefinitions->"ArticleClassic.nb"]
>>
>> Concerning the larger issue of stylesheet editing and usage, I have
>> quite a
>> number of things to say on the subject, and I'll be responding to some
>> other
>> posts on the subject.  It is, indeed, an under-documented area, but I'm
>> glad to
>> see the interest, and you'll be seeing more both on MathGroup and in
>> future
>> releases of the product on this.
>>
>> Sincerely,
>>
>> John Fultz
>> jfultz at wolfram.com
>> User Interface Group
>> Wolfram Research, Inc.
>>
>> On Sun, 20 May 2007 02:29:26 -0400 (EDT), Murray Eisenberg wrote:
>>> The original method you suggested -- deleting "MenuPosition->0" from
>>> the
>>> top of the style sheet file in a text editor -- works!
>>>
>>> But this certainly seems unreasonably difficult.  Should I surmise
>>> that
>>> Wolfram does not want us to use any of those style sheets for new
>>> notebooks, and that they are just there for pre-5.2 legacy notebooks?
>>>
>>> Lev Bishop wrote:
>>>> On 5/18/07, Murray Eisenberg  wrote:
>>>>> But these are style sheets supplied by Wolfram Research as part of
>>>>> Mathematica 6.0!!!
>>>>>
>>>> Nevertheless, if you want them to show up in the Stylesheets menu
>>>> you
>>>> have to change the MenuPosition option in those stylesheets. The
>>>> technique I gave you is a little flawed. A better way is to open the
>>>> stylesheet as a notebook in mathematica, open the options inspector
>>>> (shift-ctrl-o) go to "Selected Notebook" and "As text" and modify
>>>> the
>>>> MenuPosition line to have something like "MenuPosition->1100" (I
>>>> guess
>>>> you can change the order of the stylesheets by changing the number).
>>>> Then save the notebook. When you restart mathematica it should show
>>>> up
>>>> in the menu.
>>>>
>>>> You would think that the File -> Install menu item would do this for
>>>> you, but as far as I can tell File -> Install for a stylesheet just
>>>> copies the stylesheet file into a directory for you, nothing more.
>>>>
>>>> Lev




  • Prev by Date: Re: Mathematica 6.0 easier for me ... (small review)
  • Next by Date: Re: Re: Weird result in Mathematica 6
  • Previous by thread: Re: Grid
  • Next by thread: Style sheet primer