MathGroup Archive 2008

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

Search the Archive

Problem with CellPrint

  • To: mathgroup at
  • Subject: [mg93637] Problem with CellPrint
  • From: ag <ashutoshgupta.umd at>
  • Date: Wed, 19 Nov 2008 05:40:05 -0500 (EST)

I am using the following line of code to create a sequence of

CellPrint@TextCell["Section", "Subsection"]; Table[
 CellPrint[TextCell["Sub" <> ToString[j], "Subsubsection"]];
 CellPrint[TextCell[Defer[Table[Print[i], {i, 5}]], "Input"]];, {j, 1,

Just copy & paste in the notebook.

When I evaluate the commands within each subsubsection, couple of
unexpected things happen:

1.	The heading of following subsubsection is lost.
2.	All the results go to the last subsection.
& more..

I am not sure whats wrong...

  • Prev by Date: Re: Creating a Banner for presentation
  • Next by Date: Re: How to get the best expression of an ode's solution
  • Previous by thread: How to simplify this expression?
  • Next by thread: How to purge contents of Mathlink buffer after errors sent.