On Fri, Apr 2, 2010 at 3:14 PM, Alec Mihailovs <alec.mihail...@gmail.com> wrote:
> On Apr 2, 1:19 am, Jason Grout <jason-s...@creativetrax.com> wrote:
>> Also, a quick hack to hide all input cells (except the one after the one
>> that you evaluate this command in) is:
>>
>> jsmath("""<script>$('.cell_input').hide();</script>""")
>>
>> This is definitely not official, but it works with the current notebook.
>>   It doesn't affect the Print link, though.
>
> If one executes the following in a cell:
>
> html('<style type="text/css">div.cell_input_print {display: none}</
> style>')
>
> and then clicks Print (at the lhs of the Worksheet button at the top),
> all input cells will be hidden in the hew html page opened.
>
> Alec Mihailovs

That's pretty clever!  Is amazing how flexible the notebook is, since
it uses HTML instead of ReST...  (yes, I know, it's flexible enough to
support cross-site scripting attacks too).


-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe, reply using "remove me" as the subject.

Reply via email to