Ask Your Question
1

line numbers in web notebook

asked 2015-12-30 17:24:48 -0500

bruno171092 gravatar image

updated 2015-12-31 01:57:55 -0500

I use Sage in my Mozilla Firefox browser as notebook and wanted to know how i get line numbers in my computing cells.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2015-12-31 02:01:58 -0500

updated 2015-12-31 02:27:26 -0500

In the Sage Notebook, there is no way to display line numbers or cell numbers, as far as I know.

In the Jupyter Notebook, cells are numbered, but I don't think there is a way to display line numbers.

To run the Jupyter notebook with Sage (version 6.9 or more recent), run the following terminal command:

sage -n jupyter

This will let you explore your filesystem hiearchy (starting from the place you launched the above command from) and you can click "New" to create a new Jupyter Notebook any place you like.

The SageMathCloud worksheets are the only way I know to get line numbering for the whole worksheet. To use it, create an account on SageMathCloud at http://cloud.sagemath.com/ and create a new project. In this project, create a new Sage worksheet.

If you feel comfortable, you can also try to install your personal SageMathCloud on your machine. There are discussions on the sage-cloud mailing list about this process.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-12-30 17:24:48 -0500

Seen: 403 times

Last updated: Dec 31 '15