Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: A kernel, multiple notebooks, and Global?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg87721] Re: A kernel, multiple notebooks, and Global?
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Wed, 16 Apr 2008 05:02:37 -0400 (EDT)
  • Organization: University of Bergen
  • References: <fu1u15$ojn$1@smc.vnet.net>

AES wrote:
> The broad question is then, how far can I go -- or what dangers may lurk 
> -- in treating these multiple notebooks as essentially one unified 
> notebook that just happens to be stored in multiple files and appear on 
> screen in multiple windows?

I usually jump between several notebooks in the same session.  This 
hasn't caused any trouble yet.  But you should know about a setting that 
(I think) is new in Mathematica 6:

Check the menu item Evaluation -> Notebook's Default Context ->

With this setting it is possible to set up different contexts for each 
notebook, or even each cell group.  So just make sure that this is set 
to Global`.  (I think that this setting is saved with the notebook so be 
careful when you receive notebooks from other people.)

Another possible problem:

In Mathematica 5 I used to scribble on the documentation pages, and 
everything I evaluated there was available globally.  But it seems that 
in Mathematica 6 the default setting for doc pages is "unique context to 
each cell group", so be careful: what you evaluate in doc pages will be 
put into a separate context.


  • Prev by Date: Re: bar charts, frame ticks, and error bars
  • Next by Date: Re: Re: Malformed Fractions in a PDF file
  • Previous by thread: Re: A kernel, multiple notebooks, and Global?
  • Next by thread: Re: A kernel, multiple notebooks, and Global?