Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Add new option to Notebook[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55277] Re: Add new option to Notebook[]
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Fri, 18 Mar 2005 05:33:53 -0500 (EST)
  • References: <d1bgtp$lrr$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

rod at flyingspinach.com wrote:
> Hi,
> 
> I'd like to add a new option to Notebook[], so that I could write
> Notebook[{...}, NewOption->"new_option_string"].  Then I would be able
> to say Options[Notebook, NewOption] and get back the string
> "new_option_string".  Can this be done?
> 
> I've tried Options[Notebook] = Append[NewOption, Options[Notebook]]
> with no success.
> 
> Thanks,
> 
> -Rod
> 
Hi,

Well, first, your arguments to Append are the wrong way round, and also 
you would need to run Unprotect on Notebook in order to make this change.

However, if you do this, it would seem that Mathematica ignores the 
change. I am not too surprised, because Notebook structures need to be 
understood by the frontend as well as the kernel.

What are you trying to do - there may be another way to achieve what you 
want.

David Bailey
dbaileyconsultancy.co.uk


  • Prev by Date: Re: Re: J/Link problem on Mac OS X
  • Next by Date: Re: Re: Interaction of Sum/Plus and KroneckerDelta
  • Previous by thread: Add new option to Notebook[]
  • Next by thread: Re: Add new option to Notebook[]