Changeset 2683:555dfe784a86
- Timestamp:
- 01/27/07 00:03:00 (6 years ago)
- Branch:
- default
- Location:
- sage
- Files:
-
- 5 edited
-
rings/polynomial_quotient_ring_element.py (modified) (1 diff)
-
rings/power_series_ring.py (modified) (1 diff)
-
server/notebook/notebook.py (modified) (6 diffs)
-
server/notebook/server.py (modified) (2 diffs)
-
version.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sage/rings/polynomial_quotient_ring_element.py
r2658 r2683 9 9 -6*a + 2 10 10 11 Next we make a univeriate polynomial ring over $ $\Z[x]/(x^3+3x-1)$.11 Next we make a univeriate polynomial ring over $\Z[x]/(x^3+3x-1)$. 12 12 sage: S.<y> = S[] 13 13 -
sage/rings/power_series_ring.py
r2681 r2683 1 """1 r""" 2 2 Univariate Power Series Rings 3 3 -
sage/server/notebook/notebook.py
r2682 r2683 806 806 m = max([len(x) for x in names] + [30]) 807 807 for n in names: 808 if n == 'doc_browser': continue 808 809 W = self.__worksheets[n] 809 810 if W == current_worksheet: … … 982 983 body += ' <a class="history_link" onClick="history_window()">History</a>' + vbar 983 984 #body += ' <a onClick="toggle_left_pane()" class="worksheets_button" id="worksheets_button">Worksheets</a>' + vbar 984 body += ' <a class="doc_browser" onClick="show_doc_browser()">Documentation</a>' + vbar 985 #body += ' <a class="doc_browser" onClick="show_doc_browser()">Documentation</a>' + vbar 986 body += ' <a href="/doc_browser?/?index.html">Documentation</a>' + vbar 985 987 body += ' <a class="help" onClick="show_help_window()">Help</a>' + vbar 986 988 body += ' <a class="slide_mode" onClick="slide_mode()">Slideshow</a>' … … 1208 1210 ('Hide Cell Input', 1209 1211 'Put %hide at the beginning of the cell. This can be followed by %gap, %latex, %maxima, etc. Note that %hide must be first. From the edit screen, use %hideall to hide a complete cell.'), 1210 ('D etailed Help',1211 ' Type "help(object)" and press shift-return.'),1212 ('Documentation', 1213 'Click on <a href="/doc_browser?/?index.html">Documentation</a> in the upper right to browse the SAGE tutorial, reference manual, and other documentation.'), 1212 1214 ('Insert New Cell', 1213 1215 'Put mouse between an output and input until the horizontal line appears and click. Also if you press control-enter in a cell, a new cell is inserted after it.'), … … 1227 1229 ('Attaching Scripts', 'Use "attach filename.sage" or "attach filename.py". Attached files are automatically reloaded when the file changes. The file $HOME/.sage/init.sage is attached on startup if it exists.'), 1228 1230 ('Downloading and Uploading Worksheets', 1229 'Click <u>Download</u> in the upper right to download a complete worksheet to a local .sws file, and click < u>Upload</u> to upload a saved worksheet to the notebook. Note that <i>everything</i> that has been submitted is automatically saved to disk when you quit the notebook server (or type "%save_server" into a cell).'),1231 'Click <u>Download</u> in the upper right to download a complete worksheet to a local .sws file, and click <a href="__upload__.html">Upload</a> to upload a saved worksheet to the notebook. Note that <i>everything</i> that has been submitted is automatically saved to disk when you quit the notebook server (or type "%save_server" into a cell).'), 1230 1232 ('Restart', 'Type "restart" to restart the SAGE interpreter for a given worksheet. (You have to interrupt first.)'), 1231 1233 ('Input Rules', "Code is evaluated by exec'ing (after preparsing). Only the output of the last line of the cell is implicitly printed. If any line starts with \"sage:\" or \">>>\" the entire block is assumed to contain text and examples, so only lines that begin with a prompt are executed. Thus you can paste in complete examples from the docs without any editing, and you can write input cells that contains non-evaluated plain text mixed with examples by starting the block with \">>>\" or including an example."), … … 1269 1271 } 1270 1272 </style> 1273 <h1 align=center><font color='darkred'>SAGE</font> Notebook Quickstart</h1> 1271 1274 <div class="help_window"> 1272 1275 … … 1329 1332 body = self._doc_html_body(worksheet_id) 1330 1333 if worksheet_id is not None: 1331 body += '<script language=javascript>worksheet_id="%s"; worksheet_filename="%s"; worksheet_name="%s"; toggle_left_pane(); </script>;'%(worksheet_id, W.filename(), W.name())1334 body += '<script language=javascript>worksheet_id="%s"; worksheet_filename="%s"; worksheet_name="%s"; toggle_left_pane(); </script>;'%(worksheet_id, W.filename(), W.name()) 1332 1335 1333 1336 return """ -
sage/server/notebook/server.py
r2682 r2683 459 459 # Doc-browser functionality 460 460 ####################################################################### 461 # TODO: this will not work right on a multi-user system, since if 462 # multiple people viewer the browser at the same time and eval cells, 463 # this will conflict. 461 464 462 465 def doc_browser(self, path): … … 507 510 W = worksheet 508 511 Wid = W.id() 509 s = notebook.doc_html(Wid, css_href) 510 self.wfile.write(s) 512 #s = notebook.doc_html(Wid, css_href) 513 #self.wfile.write(s) 514 self.show_page(Wid) 515 #s = notebook.html(Wid) 511 516 512 517 ####################################################################### -
sage/version.py
r2642 r2683 1 1 """nodoctests""" 2 version='1. 8.2.1'; date='2007-01-24'2 version='1.9.alpha1'; date='2007-01-26'
Note: See TracChangeset
for help on using the changeset viewer.
