Ask Your Question

Notebook improvements

asked 2011-02-17 11:35:01 +0200

Kamhamea gravatar image

Hello! I would like to add some features to the notebook server technology in order to improve readability, so that such pages can be published as HTML pages in a collection of tutorials.

My aim is to create a web page that in addition to the present input box and evaluate button contains the following features:

HTML input to the page.

Of course, I know, it is possible to enter html in that inputbox and display it on the page, but that the input box remains visible is disturbing.

Input of MATHml

Similar to HTML input the page should only display the formula not, not the input box any more

Input of graphics

Same thing. Either graphis created by sage or external graphics linked in without the input box visible.

Structured text

Hide and show paragraphs and sub-paragraphs.

HTML export

First as simple HTML without graphics. Later on I would include graphics.

The Way I want to realize these features is mostly by adding some Javascript to the template page that is sent out by the notebook server. HTML export is not possible to my knowledge without some enhancements ath the server.

Best regards K

edit retag flag offensive close merge delete


Yes. Thank you. I totally agree. It has to improve, to be a concurrent to mathematica

manifold gravatar imagemanifold ( 2011-02-19 11:37:33 +0200 )edit

As said, most of this is available via shift-click. However, the most important feature that I would like to have is to be able to make sections of worksheet invisible/collapsed, as it is possible in Mathematica. Now, working in sage, my worksheets soon become too large and lot of scrolling is needed.

kkumer gravatar imagekkumer ( 2011-02-25 05:26:52 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-02-17 11:58:35 +0200

Mike Hansen gravatar image

Many of the features that you're looking for can be accomplished by "shift-clicking" the blue bar which provides input for "text cells" without the standard input/output boxes. This bring up a TinyMCE editor. In the editor, there is a button labeled "HTML" which will let you input the HTML code directly.

For HTML export, you can try doing "File -> Print" in the notebook which should just return a static HTML page that you can save.

edit flag offensive delete link more


You can also put math stuff in LaTeX between dollar signs. In some ways that's better than MathML anyway!

kcrisman gravatar imagekcrisman ( 2011-02-17 12:39:13 +0200 )edit

I never knew that shift-clicking would bring up the TinyCME! I've been doing it the long way by going into the "Edit" page in the Notebook and entering a line of gibberish between two cells. Then I'd save, go back to the Notebook, and double-click on the text to start editing.

cswiercz gravatar imagecswiercz ( 2011-02-17 12:56:17 +0200 )edit

where do I have to click to get the tinymce editor?

manifold gravatar imagemanifold ( 2011-02-19 11:28:51 +0200 )edit

ahh found it, for new cells. How can I call the editor for existing cells?

manifold gravatar imagemanifold ( 2011-02-19 11:30:11 +0200 )edit

hmmm tinymce doesn't work as an input... i cant edit... or evaluate... or delte... great.

manifold gravatar imagemanifold ( 2011-02-19 11:35:07 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-02-17 11:35:01 +0200

Seen: 313 times

Last updated: Feb 17 '11