[Date Index] [Thread Index] [Author Index]
Re: Save notebooks as hierarchy of Web pages in V6?
I received some advice from several in this group, from which I constructed the following set of commands that does it: nbstring = "/Path/To/notebook.nb" htmlstring = "/Path/to/classes/html/directory" nb = NotebookOpen[nbstring] Export[htmlstring, nb, "HTML", "ConvertClosed" -> "LinkedPage"] This will create links from closed cells. Those links will point to html (with gifs, etc) for the contents of the closed cells... WCC On Tue, 28 Aug 2007, John Jowett wrote: > Date: Tue, 28 Aug 2007 02:15:10 -0400 (EDT) > From: John Jowett <John.M.Jowett at gmail.com> > To: mathgroup at smc.vnet.net > Subject: [mg80663] Save notebooks as hierarchy of Web pages in V6? > > In previous versions of Mathematica, it was useful to be able to > convert a notebook into a linked hierarchy of Web pages (Save As > Special ...). Any section that was closed up in the top level > notebook could be clicked upon to lead to a separate page showing its > contents. > > This possibility seems to be missing in Version 6.0.1. All you can > do, apparently, is save a notebook as a simple, single Web page > containing a variety of .gif images. There are no links to other > pages and the material in closed-up sections just does not appear. > > Am I missing something ? > > John Jowett > > >