How to Run Entire Worksheet?
Hello,
Now I have many cells of calculation in sagemath worksheet. I am looking for a way to run the entire worksheet at once, and generate result for printing. Any ideas? Thanks!
Hello,
Now I have many cells of calculation in sagemath worksheet. I am looking for a way to run the entire worksheet at once, and generate result for printing. Any ideas? Thanks!
I am assuming you are working with the Sage notebook.
You can use the Sage notebook on a computer you are logged in to, by typing, in a terminal, sage -notebook or sage -n or just sage and then notebook(). You can also use it on some online Sage Notebook server.
In the Sage notebook, each worskheet has at the very top a header with, on the left:
Sage | The Sage Notebook
Version <version_number>
and, on the right, your username and 8 links:
<username> | Toggle | Home | Published | Log | Settings | Help | Report a Problem | Sign out
A second header row has, on the left, this text:
<worksheet_title>
last edited <date_of_last_edit by <username_of_last_edit>
and, on the right, these three buttons:
[ Save ] [ Save & quit ] [ Discard & quit ]
A third header row has, on the left, four menus and a checkbox:
[ File... ] [ Action... ] [ Data... ] [ sage ] [ ] Typeset
and, on the right, 7 buttons:
Print | Worksheet | Edit | Text | Revisions | Share | Publish
The item Evaluate All in the Action... drop-down menu (second drop-down menu out of the five that are in the third header row) does precisely what you want, ie, evaluate all the cells in your worksheet one after the other!
To print, you can either use the Print button (first of the 7 buttons on the right in the third header row), or the Print item in the File... drop-down menu, or the print capabilities of your browser, or screen captures. Compare the results and decide what you like best.
Yes! Use the SageTeX package for LaTeX. See the tutorial in the Sage documentation.
Ideal for producing documents with a mix of text, formulas, Sage code, and Sage output.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2014-07-16 22:40:09 +0100
Seen: 1,412 times
Last updated: Jul 17 '14
Printing typeset output in the notebook?
disabling WYSIWYG for text cell in a worksheet
v4.5.2 Upgrade Breaks Notebook, "got EOF subprocess must have crashed..."
Uploading and opening .sws file by click in the browser?
Displaying matrices with . instead of 0
Additional conditions for expression
Can you "stop publishing" a previously published worksheet?
sage 4.7 does not build and run in new ubuntu 11 amd64 install!
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.