Re: Simple command to strip Notebook

*To*: mathgroup at christensen.cybernetics.net*Subject*: [mg224] Re: [mg200] Simple command to strip Notebook*From*: olness at phyvms.physics.smu.edu (Fredrick Olness (214) 768-2500 or -2495, Fax -4095)*Date*: Wed, 23 Nov 1994 13:42:58 -0600

> David M. Wood ASKS > Is there a *simple* way to save a Notebook bloated with huge graphics > or output expressions in a `bare' form, i.e., with > all output from Mathematica: graphics, output, diagnostics, etc., stripped out, ================================================================ From: OLNESS "Fredrick Olness (214) 768-2500 or -2495, Fax -4095" 8-JUL-1994 17:46:19.92 To: SMTP%"mathgroup at yoda.physics.unc.edu" CC: SMTP%"btitus at nemesis.physics.carleton.edu",OLNESS Subj: RE: Eliminating output cells There is a very easy way to elininate output cells in a notebook. The Mathematica FrontEnd program has a very powerful FIND command, so you can actually search for all output cells ALL AT ONCE, and then delete them. (You will need to use the LONG form of FIND.) You can do the same for MESSAGE and GRAPHICS cells. In a similar manner, you can delete all graphics in one step, or grab all initialization cells. I hope this solves your problem. Fredrick I. Olness SMU Mail: Department of Physics Fondren Science Bldg. Southern Methodist University Dallas, TX 75275 Phone: (214) 768-2500 (SMU Office) (214) 768-2495 (SMU Secretary) (214) 768-4095 (SMU FAX) Internet: Olness at phyvms.physics.smu.edu (129.119.200.74) ================================================================ ================================================================ From: SMTP%"mathgroup-adm at christensen.cybernetics.net" 22-NOV-1994 23:49:40.65 To: olness CC: Subj: [mg200] Simple command to strip Notebook Greetings all, I have a question which is stunning in its simplicity, and possibly in its naivete: Is there a *simple* way to save a Notebook bloated with huge graphics or output expressions in a `bare' form, i.e., with all output from Mathematica: graphics, output, diagnostics, etc., stripped out, leaving only the structure of the Notebook (text, input commands, and structural commands such as section headings, etc.) intact? [I am aware that converting the Notebook to a package does something like this, but wish to preserve the Notebook format.) For me this problem arise very frequently and it astonishes me that there is not an obvious single command to do this in one of the menus for most front ends, but, then, I'm no expert. So I usually resort to selecting output cells and deleting them by hand, which can be tedious and painstaking in a long Notebook. Any suggestions, or rumors of such a feature in new releases of Mathematica? -- David M. Wood || Solid State Theory Group dmwood at nrel.nrel.gov || Branch 4510 Phone: (303) 384-6642 || National Renewable Energy Laboratory Fax: (303) 384-6531 || 1617 Cole Blvd., Golden, CO 80401-3393 ================================================================ From: SMTP%"btitus at nemesis.physics.carleton.edu" 2-JUL-1994 05:14:51.89 To: mathgroup at yoda.physics.unc.edu Subj: Eliminating output cells Dear MathGroup Is there any quick way of eliminating all output cells in a Mathematica notebook before saving the notebook? Bill Titus