On Fri, Apr 10, 2009 at 6:59 AM, Pat LeSmithe <qed...@gmail.com> wrote:
>
>
> It also disappears on page refresh/reload.  The "culprit" seems to be in
> Cell.html(), which renders a cell as HTML, around line 1630 of cell.py:
>
>        if 'hideall' in self.percent_directives():
>            s = html_out
>        else:
>            s = html_in + introspect + html_out
>
> I'm still confused about the purpose of %hideall.
>
> Anyway, to get %hide to work, scroll down to Cell.html_in() and add
> something like
>
>            if 'hide' in self.percent_directives():
>                return ''
>
> to the "if do_print:" conditional.
>

Pat, It would be great if you could post a patch doing this to :

   http://trac.sagemath.org/sage_trac/ticket/5718

Then you could get your name in the credits for sage-3.4.1 (or 3.4.2)!

william

--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to