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: Convert to new "Code" style from a now-redundant custom style

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77272] Re: [mg77148] Convert to new "Code" style from a now-redundant custom style
  • From: John Fultz <jfultz at wolfram.com>
  • Date: Wed, 6 Jun 2007 07:07:40 -0400 (EDT)
  • Reply-to: jfultz at wolfram.com

On Tue, 5 Jun 2007 06:28:31 -0400 (EDT), Andrew Moylan wrote:
> Hurrah for the new default style "Code"! Prior to version 6 I used a
> custom style-sheet with a roughly equivalent style called
> "InputInitialization". I have a (large) bunch of notebooks using this
> custom style-sheet.
>
> How can I automatically convert my old notebooks from my custom style-
> sheet (which I no longer need at all) to the new default Mathematica
> style-sheet, while simultaneously converting all the cells with style
> "InputInitialization" to cells wiith style "Code"?
>
> Is it sufficient to find all instances of Cell[_,
> "InputInitialization", ___] and replace them with Cell[_, "Code", ___]?

Glad you like it!  If this was the only purpose for the custom stylesheet, then 
you might also want to replace the notebook option...

StyleDefinitions->Notebook[_]

with

StyleDefinitions->"Default.nb"

But yes, you have the right of it otherwise.

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




  • Prev by Date: Re: how to transform a list in a sequence of arguments?
  • Next by Date: Re: Rotate and Normal
  • Previous by thread: Convert to new "Code" style from a now-redundant custom style
  • Next by thread: Mapping a pure function with 2 conponents.