Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Re: Re: why won't style sheet appear in Stylesheet

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77029] Re: [mg76978] Re: [mg76950] Re: [mg76871] why won't style sheet appear in Stylesheet
  • From: John Fultz <jfultz at wolfram.com>
  • Date: Fri, 1 Jun 2007 02:39:40 -0400 (EDT)
  • Reply-to: jfultz at wolfram.com

I neglected to say what happens to submenus.  Submenus (representing 
subdirectories in the stylesheet layout) are always at the end.

I can't reproduce the second problem you discuss.  Did you make sure to quit
and restart Mathematica after setting up the stylesheets?  Mathematica doesn't 
automatically re-scan directories after you copy or save files in there.  It
does re-scan when using the File->Install menu item, and you can force are-scan 
by executing...

MathLink`CallFrontEnd[FrontEnd`ResetMenusPacket[{Automatic}]]

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

On Thu, 31 May 2007 03:20:25 -0400 (EDT), Murray Eisenberg wrote:
> That doesn't work quite the way claimed: I use MenuPosition->1800, and
> the stylesheet now appears 3nd in the list, below Default but above the
> group items such as Utility and Wolfram.
>
> The 2nd in the list, immediately after Default, Moreover, refers to a
> stylesheet in the same directory with NO MenuPosition option for the
> notebook (just for individual styles within it).
>
> This is making no sense to me.
>
> John Fultz wrote:
>> On Tue, 29 May 2007 04:54:15 -0400 (EDT), Murray Eisenberg wrote:
>>> I put a newly-created 6.0 version style sheet in the
>>>
>>> \SystemFiles\FrontEnd\StyleSheets
>>>
>>> subdirectory of my $UserBaseDirectory (= my $UserAddOnsDirectory), yet
>>> it does not appear in the drop-down list of available style sheets
>>> when
>>> I use the menu item Format > Stylesheet.
>>>
>>> Of course I restarted Mathematica with clean preferences.  And the
>>> stylesheet itself seems OK: I can use the Other entry on the list to
>>> find it and apply it to a new notebook.
>>>
>>> Another newly-created stylesheet does appear in that list.  Also, that
>>> stylesheet appears above the first divider and directly below Default.
>>> How can I control the order in which stylesheets are listed there.
>>>
>> Use the MenuPosition option at the notebook level for the stylesheet.
>> Mathematica sorts the stylesheet menu by the numerical values of the
>> stylesheets' MenuPosition option, then alphabetically where equivalent
>> values
>> are used.  Built-in stylesheets will have a MenuPosition in the 1000-
>> 2000 range,so choosing a value below 1000 will always get your
>> stylesheet before the
>> built-in ones, if that's what you want (that information also applies
>> for
>> MenuPosition as used for individual named styles, as well).
>>
>> Sincerely,
>>
>> John Fultz
>> jfultz at wolfram.com
>> User Interface Group
>> Wolfram Research, Inc.




  • Prev by Date: Re: Recursive FindRoot with initial values as a list
  • Next by Date: Re: [V6.0] Possible bug found in Symbolize (Notation Palette)
  • Previous by thread: Re: Recursive FindRoot with initial values as a list
  • Next by thread: Re: [V6.0] Possible bug found in Symbolize (Notation Palette)