Ask Your Question
1

line numbers in web notebook

asked 9 years ago

bruno171092 gravatar image

updated 9 years ago

slelievre gravatar image

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 9 years ago

slelievre gravatar image

updated 9 years ago

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.

Preview: (hide)
link

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: 9 years ago

Seen: 1,124 times

Last updated: Dec 31 '15