Re: [sage-cloud] markdown cells now get confused about subscripts and italics

2016-10-01 Thread William Stein
On Sat, Oct 1, 2016 at 3:31 PM, Stefan van Zwam  wrote:
> Another issue or two:
>
> 1) Resizing the browser window on a moderately complex document will freeze
> the entire browser window for a number of seconds. This is worse on Chrome
> than in Safari, but happens with both (I'm on a Mac). You can hear the fan
> spin up, so there must be quite a bit of stuff going on behind the scenes. I
> used this sample document to verify:
>
> https://cloud.sagemath.com/projects/1959a137-a9da-445b-ad23-dae137b1c67e/files/2015-09-10-141729.sagews
>
> The momentary freeze also happens when you click away the little "you're on
> a free server" warning bar, or (in Chrome) when you close the downloads bar
> at the bottom of the screen.

This slowdown seems to be in the new code for cell input/output
folding and nested line numbers, so I'll try to make that faster...

>
> 2) When I write
>
> ** Lemma A.1 ** _Let $A$ be the following matrix:
> \[
> \begin{bmatrix}
> 1 & 1 & 0\\
> 1 & 0 & 1\\
> 0 & 1 & 1
> \end{bmatrix}.
> \]
>
> and my cursor is on the last line after the \], then hitting  does
> nothing.

This is now fixed; it was
https://github.com/sagemathinc/smc/issues/199, which wasn't merged
into master and live yet, for some reason.

>
>
> On Saturday, October 1, 2016 at 12:36:12 PM UTC-5, Harald Schilly wrote:
>>
>> On Sat, Oct 1, 2016 at 4:19 AM, Stefan van Zwam 
>> wrote:
>> > I hear from my student that everything is back to normal. Thanks for the
>> > quick fix!
>>
>> ok, good to know it works! this is not so easy, since several worlds
>> collide in a single syntax.
>>
>> however, I'm aware that there are constructions similar to yours
>> reported that do not work. I blame it on the markdown parser itself,
>> and I assume that you aren't writing anything like that anyways: e.g.
>>
>> foo _x `x_y` y_ baz
>>
>> and the workaround is to wrap this into  ...  instead.
>>
>> -- h
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-cloud" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-cloud+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-cloud/63df5afe-aaba-4be1-a72a-f224fcd84c0f%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 

Best Regards,
William Stein

CEO, SageMath, Inc.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cloud" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-cloud+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cloud/CA%2BjwZMjs8ewoCGb-xBEknhM9zdZ8eM4puWs%2B-cNtJJv7pybb8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-cloud] CSS selector for styling content of Sage worksheet

2016-10-01 Thread Harald Schilly
Well, since there are usually several sagews files opened, wouldn't
any change of the css to one of them have implications to all the
others? That's probably not your intention. Not sure if this can be
solved in an easy way, and might involve writing some specialized
functions for this.

-- h


On Sat, Oct 1, 2016 at 6:40 PM, Rob Beezer  wrote:
> I'd like to heavily style the *content* of a  *.sagews  worksheet (a section
> or chapter of a textbook, say) by load()'ing an extensive CSS file.  But I
> don't want to interfere with styling on button bars and other UI elements.
>
> So I'd like to use an overall selector to prefix the more specific ones and
> limit the scope to the actual input/output contents of the worksheet.
>
> salvus-editor-codemirror-input-container-layout-1  seems to be the first one
> that does not contain any of the buttons above the content, but it also
> includes the left margin line numbers.
>
> The range from  CodeMirror-lines  down to  CodeMirror-code  seem to be about
> right, but it is not clear if it would make a difference which one was used.
>
> Any recommendations?
>
> Thanks,
> Rob
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-cloud" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-cloud+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-cloud/MTAwMDA0MC5iZWV6ZXI.1475340012%40quikprotect.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cloud" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-cloud+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cloud/CAGG4CB6w%2BoMSE6_weTkMBCiL-rTqMvdYV7e62Vshv6pjU%2BvoUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[sage-cloud] CSS selector for styling content of Sage worksheet

2016-10-01 Thread Rob Beezer
I'd like to heavily style the *content* of a  *.sagews  worksheet (a section or 
chapter of a textbook, say) by load()'ing an extensive CSS file.  But I don't 
want to interfere with styling on button bars and other UI elements.


So I'd like to use an overall selector to prefix the more specific ones and 
limit the scope to the actual input/output contents of the worksheet.


salvus-editor-codemirror-input-container-layout-1  seems to be the first one 
that does not contain any of the buttons above the content, but it also includes 
the left margin line numbers.


The range from  CodeMirror-lines  down to  CodeMirror-code  seem to be about 
right, but it is not clear if it would make a difference which one was used.


Any recommendations?

Thanks,
Rob

--
You received this message because you are subscribed to the Google Groups 
"sage-cloud" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-cloud+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cloud/MTAwMDA0MC5iZWV6ZXI.1475340012%40quikprotect.
For more options, visit https://groups.google.com/d/optout.