The legacy sage notebook is deprecated.
Please use instead the Jupyter notebook.
This page needs to be cleaned up, as many of these issues have been addressed.
- a way to empty the trash (I think this is now done - M. Hampton)
sagenb.org is I *think* slow because there are over 1000 registered users, and somehow having a lot of user accounts seems to seriously impact performance. sagenb.com is still snappy in comparison. Fix this.
- Add support for editing the html between cells without having to switch to edit mode. E.g., clicking to the left on a thin vertical line would change the html between cells into a plain text edit box, you edit, and click the button to the left again to get back the html view.
- Collapsible grouping of cells and the possibility to mark and evaluate certain groups.
- Cut and paste cells or groups of cells.
- Ability to create a worksheet as a "library" and easily attach it into other worksheets.
This is close to what I had in mind. Some drawbacks to this approach: --There should be a nice way to attach a data file to the current worksheet rather than having to go to the data file's page, and select which worksheet you want to link it to from there. --It is much easier to edit code in the notebook cells than in the provided data box. --It's not easy to tell which data files are accessible from a given worksheet. What I had in mind for two was that when you attached another worksheet (via some drop-down menu or ...) then all of its cells would be evaluated on startup in the current worksheet's namespace. This would allow one to interactively write and test functions that can easily be used from other worksheets.
- interactive widgets (menus, sliders, 2d coordinate pickers, etc.) that let you change a variable and have that change automatically reflected in other cells. Mathematica 6 has nicely done this with the Dynamic and Manipulate commands.
- Isn't this what @interact does?
- Place a parameter in the notebook() function which allows the advertising area at the top of the notebook to be extended. For example, I would like the ability to have the SAGE notebook my university makes available to local high schools say something like "SAGE Notebook: Sponsored by Shawnee State University". The additional text should also be capable of being a web link.
Note: this is basically possible right now. You can change the main welcome page by editing $SAGE_ROOT/data/extcode/notebook/templates/login.template. To change the notebook page, look for the function html_banner in $SAGE_ROOT/devel/sage/sage/server/notebook/notebook.py. A better long-term solution would be to have the notebook() command accept a filename argument which would contain a snippet of html code that would get put at the top of each page -- or, more generally, some kind of "skinning" framework.
- Allow worksheets to be unpublished.
- I would really like to be able to toggle back to the "always on top" version as well--sometimes I have long worksheets and need to restart/interrupt often, and scrolling to the top is a pain. (Though there are other times I really like saving the real estate.)
- It would be nice to be able to save worksheets from the Home menu, and to have a way of saving multiple worksheets in one file.
- Using the notebook it's nice to have the ability to put HTML in easily with %html but seeing it in the input field and the output area is distracting. Is it possible to "hide" an entry field in the notebook so only the formatted HTML is displayed?
I'd like to hide an entry field just like I can hide output fields...this would be especially nice with @interact, since the function definitions get pretty big, and are distracting when you are demonstrating things with Sage.
- If the field starts with %hide, the rest of the field is hidden. Does this not do the job?
Is there some easy way to download/upload (i.e. save and then > reopen) the text version of a worksheet, as opposed to the compressed > notebook?
- I would like to be able to save an archive of all the worksheets at once, and upload such an archive.
- I would like to be able to delete worksheets out of the "Published" worksheets. Unpublishing doesn't always do the job, they keep appearing.
- I would like to be able to print properly. Right now, there's a print link at the top of each worksheet, but it always prints all source code and all output, and it often cuts off parts of the output or prints code and output on top of each other. It'd be nice to be able to print just the code or just the output in a nice format.
- It would be nice to be able to create a document out of several worksheets. This includes saving several worksheets in one file, having headings numbered properly, having a table of contents created automatically, a glossary, footnotes, ...
- interact: It would be nice to have a slider show its range
- interact: Can I have one input depending on another? E.g. a checkbox that blends other input boxes in or out? Or the range of one variable depending on the value of another input?
- interact: I can't have latex font on buttons, as labels, etc, can I? It would be really cool to be able to put latex everywhere.
interact: Could we have more interaction? Not just by the function input, but e.g. selecting points by clicking on a graph? ToolTips would be cool too.
I can have a link on one worksheet to another worksheet (e.g. http://localhost:8000/home/user/12/), but this includes the number that sage internally gives that worksheet (here: 12). Now if I upload these worksheets to another server, they are assigned different numbers and the links don't work properly anymore. Is there a any other way of linking in a more stable way, e.g. using the title of a worksheet? Also, can I have a link that goes to a certain place within a worksheet?
Links to a certain place within a worksheet work already. Within a cell containing html code (%html), just add <a href="#here">Go here</a> to create a hyperlink to a location that is marked by: <A NAME="here">Here</A> in your target cell.
- It would be nice to include latex packages and use the commands that they provide.
- Equation and/or field numbering and labelling would be very useful. If every field had its id displayed, it would be very easy to refer to a particular field or even link to it by using its id. Ideally, these labels should be ordered from the top to the bottom of the document (e.g. 1, 2 etc. or 1.1, 2.1 if cells are grouped), which would require clicking on "Evaluate All". In the text mode of a notebook, each input field already has a label, so this could be used for that. Alternatively, the user could have the possibility of numbering just certain fields and/or equations and referring or linking to them within the document.