MathGroup Archive 2007

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

Search the Archive

Convert to new "Code" style from a now-redundant custom style

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77148] Convert to new "Code" style from a now-redundant custom style
  • From: Andrew Moylan <andrew.j.moylan at gmail.com>
  • Date: Tue, 5 Jun 2007 06:28:31 -0400 (EDT)

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", ___]?



  • Prev by Date: Re: Graphics does not work: please comment.
  • Next by Date: Mapping a pure function with 2 conponents.
  • Previous by thread: Re: Re: Java failure
  • Next by thread: Re: Convert to new "Code" style from a now-redundant custom style