First time here? Check out the FAQ!

Ask Your Question
2

Notebook improvements

asked 14 years ago

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

Preview: (hide)

Comments

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

manifold gravatar imagemanifold ( 14 years ago )

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 ( 14 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 14 years ago

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.

Preview: (hide)
link

Comments

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

kcrisman gravatar imagekcrisman ( 14 years ago )

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 ( 14 years ago )

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

manifold gravatar imagemanifold ( 14 years ago )

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

manifold gravatar imagemanifold ( 14 years ago )

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

manifold gravatar imagemanifold ( 14 years ago )

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 14 years ago

Seen: 901 times

Last updated: Feb 17 '11