William Stein <wst...@gmail.com> writes: > On Mon, Oct 18, 2010 at 2:57 AM, Dr. David Kirkby <david.kir...@onetel.net> > wrote: > > On 10/18/10 07:31 AM, Nikos Apostolakis wrote: > > Dear group, > > we are creating some worksheets to be used in teaching precalculus, > and > we wonder if it's possible to have parts of a worksheet "locked", so > that the're not easily (read accidentally) editable. The fear is that > students may accidentally, double click on the text and inadvertently > delete or corrupt the text while they work through the worksheet. > Also > is it possible to have some cells "locked?" that is the code should > not > be easily editable, but stil able to be evaluated? > > I'm not aware of one, but there might be. > > Yes, you can do this as follows. > > (1) Enter the following in an input cell: > > %hideall > html(r""" > This is a test. > > $$\alpha + \beta$$ > > """) > > (2) Complete refresh the page. > > You should see just the output text, no input box, and the output text cannot > be edited > via double click. To edit it, one must click the Edit button in the upper > right. >
Thanks this does what I need in terms of "locked" text. It seems that there is no way to lock the cells though, right? I think such a feature would be useful. Thanks again, Nikos -- 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