Timeline for What is the proper way of setting ` CellContext -> CellGroup` in the Wolfram Cloud Notebook?
Current License: CC BY-SA 4.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 16, 2019 at 7:52 | answer | added | Kuba | timeline score: 4 | |
| Dec 13, 2019 at 13:10 | comment | added | Sylvain Leroux | One again, thanks @jan for the tip. I'm looking forward to seeing full CellContext and improved stylesheet support in the cloud (btw, are you looking for beta testers? ;) | |
| Dec 13, 2019 at 9:30 | comment | added | Jan Pöschko | To download that stylesheet file from the cloud, you'd have to turn it into a proper cloud object (in your cloud directory) first, e.g. using CopyFile[FileNameJoin[{$InstallationDirectory, "SystemFiles", "FrontEnd", "StyleSheets", "Wolfram", "Reference.nb"}], CloudObject["Reference.nb"]]. Then you can download it using the in-browser cloud file explorer, or by executing e.g. CopyFile[CloudObject["Reference.nb"], "Reference.nb"] in desktop Mathematica. | |
| Dec 13, 2019 at 9:28 | comment | added | Jan Pöschko | Yes, CellContext is not implemented in its entirety in the cloud yet, but it's on our list. | |
| Dec 13, 2019 at 7:27 | comment | added | Kuba | My guess is that CellContext is not supported on WPC yet. The UI is converging to what we know from the destkop MMA but many FrontEnd related features are in production. | |
| Dec 13, 2019 at 0:53 | comment | added | Mike Honeychurch | You do not need to do this in a stylesheet. If you evaluate in a notebook you will see that it works. That is does not work on the cloud is something I cannot explain. Maybe a WRI tech can comment | |
| Dec 12, 2019 at 16:32 | comment | added | Sylvain Leroux | Thanks Michael for the extra pieces of information. I will try to do something with that on my side. | |
| Dec 12, 2019 at 15:00 | history | tweeted | twitter.com/StackMma/status/1205140271656251394 | ||
| Dec 12, 2019 at 13:06 | comment | added | Michael E2 | Here is the StyleDefinitions from my desktop notebook: StyleDefinitions -> Notebook[{Cell[StyleData[StyleDefinitions -> "Default.nb"]], Cell[StyleData["Input"], CellContext -> CellGroup, MenuSortingValue -> 10000], Cell[StyleData["Output"], CellContext -> CellGroup, MenuSortingValue -> 10000]}, WindowSize -> {808, 905}, WindowMargins -> {{20, Automatic}, {Automatic, 44}}, FrontEndVersion -> "12.0 for Mac OS X x86 (64-bit) (April 8, 2019)", StyleDefinitions -> "PrivateStylesheetFormatting.nb"] -- but it didn't work on the cloud, as I said. | |
| Dec 12, 2019 at 13:04 | comment | added | Michael E2 | Sorry, I don't use the cloud version much and am unfamiliar many such things. I tried adding private StyleDefinitions to a cloud notebook. I took them from a desktop notebook, in which CellContext -> CellGroup works properly. However, on the cloud, the StyleDefinitions have no effect. This might be a limitation of the WolframCloud. Maybe someone else will come along who has better knowledge than me. | |
| Dec 12, 2019 at 13:00 | history | edited | Sylvain Leroux | CC BY-SA 4.0 | added 125 characters in body |
| Dec 12, 2019 at 12:53 | comment | added | Sylvain Leroux | Outch! Examining the stylesheet with ReadString[FileNameJoin[{$InstallationDirectory, "SystemFiles", "FrontEnd", "StyleSheets", "Wolfram", "Reference.nb"}]] is pretty harsh on the browser :/ Do you know if there is a way to download that file from the Cloud? | |
| Dec 12, 2019 at 12:43 | comment | added | Sylvain Leroux | Yes, I remember having read something like that. My first attempts in using stylesheets from the Wolfram Cloud Notebook weren't that successful. But I will review that. | |
| Dec 12, 2019 at 12:38 | comment | added | Michael E2 | In the documentation pages, this seems to be done through the stylesheet. They set the cell option CellContext -> CellGroup on both the "Input" and "Output" styles. Examine FileNameJoin[{$InstallationDirectory, "SystemFiles", "FrontEnd", "StyleSheets", "Wolfram", "Reference.nb"}]. | |
| Dec 12, 2019 at 11:43 | history | asked | Sylvain Leroux | CC BY-SA 4.0 |