MathGroup Archive 2004

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

Search the Archive

Re: Re: Conveniently Restarting Notebooks

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51206] Re: [mg51189] Re: Conveniently Restarting Notebooks
  • From: DrBob <drbob at bigfoot.com>
  • Date: Fri, 8 Oct 2004 02:54:58 -0400 (EDT)
  • References: <NDBBJGNHKLMPLILOIPPOOEEPEDAA.djmp@earthlink.net> <ck0c16$nuv$1@smc.vnet.net> <200410070926.FAA10844@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

>> Does the following palette do what you want to do?

No. Pushing "1" shows two levels of organization and pushing "2" shows 3. The buttons act like toggles--what you see depends on what you're already seeing in some way. "3" affects only the fifth Title group and "2" affects only the first Title group. It's very confusing.

It's the beginning of a start in the right general direction, though.

Thanks,
Bobby

On Thu, 7 Oct 2004 05:26:27 -0400 (EDT), Paul Abbott <paul at physics.uwa.edu.au> wrote:

> In article <ck0c16$nuv$1 at smc.vnet.net>, DrBob <drbob at bigfoot.com>
> wrote:
>
>> >> What about Ctrl+{, Ctrl+} and Ctrl+'. That goes part way to what you want.
>>
>> No, it doesn't; not even close.
>>
>> I want to push a button that says "1" if I only want to see only top-level
>> outline cells, "2" if I want to see two levels, etc. That would allow me to
>> close all low-level groups with one click or instantly see an outline to
>> whatever detail I want. That's what Word's outline view has done for about
>> fifteen years.
>
> Does the following palette do what you want to do?
>
> Paste the following Cell into a Notebook and run Generate Palette from
> Selection:
>
>  Cell[BoxData[GridBox[
>   {
>    {ButtonBox[ "1",
>      ButtonFunction:>FrontEndExecute[
>      {
>      NotebookFind[SelectedNotebook[ ],"Section", All, CellStyle],
>       FrontEndToken[ "OpenCloseGroup"]
>      }]]
>     },
>    {ButtonBox[ "2",
>      ButtonFunction:>FrontEndExecute[
>      {
>      NotebookFind[SelectedNotebook[ ],"Subsection", All, CellStyle],
>       FrontEndToken[ "OpenCloseGroup"]
>      }]]
>     },
>    {ButtonBox[ "3",
>      ButtonFunction:>FrontEndExecute[
>      {
>      NotebookFind[SelectedNotebook[ ],"Subsubsection", All, CellStyle],
>       FrontEndToken[ "OpenCloseGroup"]
>      }]]
>     }
>   },
>   RowSpacings->0,
>   ColumnSpacings->0
>   ]], NotebookDefault, NotebookAutoSave->False]
>
>> When I write anything complex in Word, I start in outline view and fill in
>> the details later. If I could, I'd write Notebooks the same way.
>>
>> I don't think input/output groups should collapse the same way as other
>> groups, and I think closed cells with visible output really should be handled
>> better. They shouldn't take up white space, yet it should be easier to see
>> that they are there, and what their purpose is. I'm not certain what that
>> would look like, but the way it looks now is not very useful.
>
> I'm not sure exactly what you want here.
>
> Cheers,
> Paul
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: Re: No more memory available
  • Next by Date: Very basic question: Zoom into a 2-D plot with the mouse
  • Previous by thread: Re: Re: Conveniently Restarting Notebooks
  • Next by thread: Re: Re: Conveniently Restarting Notebooks