Re: How to create a notebook outside of Mathematica?

*To*: mathgroup at smc.vnet.net*Subject*: [mg114745] Re: How to create a notebook outside of Mathematica?*From*: kj <no.email at please.post>*Date*: Wed, 15 Dec 2010 07:51:24 -0500 (EST)*References*: <ie4msi$98t$1@smc.vnet.net> <ie7m5q$b4p$1@smc.vnet.net>

In <ie7m5q$b4p$1 at smc.vnet.net> Albert Retey <awnl at gmx-topmail.de> writes: >> P.S. I realize that regular notebooks generated by Mathematica >> are just text files, describing cells, etc., as Mathematica >> expressions, and, of course, I could just write *that* out, i.e. >> not just the expressions I'm interested in, but also the surrounding >> cell specifications. This is way beyond my grasp of Mathematica's >> internal notebook format, and this is an area in which the >> documentation is *particularly* cryptic, so I prefer not to go >> anywhere near such a solution. >> >I don't think it must be that complicated. If you need just InputForm >expressions separated in one cell each, this would be a prototype: >Notebook[{ > Cell["(x+y)^1", "Input"], > Cell["(x+y)^2", "Input"], > Cell["(x+y)^3", "Input"] > }] >I think this should not be too difficult to generate also from other >languages... Thanks for pointing this out! It's indeed much simpler than my attempts at reverse engineering notebooks had led me to believe. ~kj