On Dec 14, 2007 1:22 AM, greg2k4 <[EMAIL PROTECTED]> wrote:
> Sometimes it would be nice to hide the inputs in worksheet.
> But, while there is an "Hide outputs" option in menu, nothing like it
> for inputs.
> Can I hide some/all inputs somehow?

There is an undocumented way to do this.  If you switch to
Edit mode (i.e., edit the raw html), and put %hideall at
the top of a cell
{{{
%hideall

}}}

then that cell will exist but be completely 100% hidden when
you are viewing the worksheet -- you have to use Edit mode
to even see it.

If you put %hide at the top of a cell it is shrunken unless the
cursor is in it.
{{{
%hide
...
}}}


The above are somewhat hackish which is why they aren't
documented.

Also, if you make a cell and put #auto in it somewhere, e.g.,
{{{
def foo(x,y):        #auto
...
}}}

then it will be automatically evaluated whenever the worksheet
is loaded.



>
> Possible cases:
> - writing a non-sage tutorial with graphs and math formulas
> - printing
> - hiding some intermediary commands
>
> BTW, when printed (at least printed to PDF), the input fields gets too
> big, even if there's just a few (a=2) chars inside.

That seems somewhat strange.  Are you using the print button first (in the top
middle of the screen)?

Anyways, implementing really nice printing to pdf (via running latex
in the backend)
has been on the todo list for a long time.  I hope somebody does it.

 -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to