Re: [sage-devel] Jupyter header cells ?

2018-01-06 Thread Jason Grout
I looked more into it. I was wrong (or more correctly, I was outdated). Indeed, recent versions of the notebook over the last while (years?) *have* deprecated the header cells, and they have been removed from the notebook format, I think since at least notebook format 4.0 in 2015 or so: https://nb

Re: [sage-devel] Jupyter header cells ?

2018-01-06 Thread Emmanuel Charpentier
Le samedi 6 janvier 2018 22:10:46 UTC+1, Samuel Lelievre a écrit : > > Yet the attached screenshot seems to indicate that > the Jupyter notebook server launched by SageMath > does not include selecting the "Header" cell type. > Indeed. It's this difference between our notebook and the documentati

Re: [sage-devel] Jupyter header cells ?

2018-01-06 Thread Samuel Lelièvre
Yet the attached screenshot seems to indicate that the Jupyter notebook server launched by SageMath does not include selecting the "Header" cell type. Is there some configuration mechanism for deciding which cell types are offered, which maybe would need to be set up differently? Samuel 2018-01-

Re: [sage-devel] Jupyter header cells ?

2018-01-06 Thread Jason Grout
Cool, thanks, good to see things are getting up to date. Both of those definitely have the concept of header cells. Jason On Sat, Jan 6, 2018 at 11:29 AM Samuel Lelièvre wrote: > Sage 8.1 has notebook 4.4.1, while Sage 8.2.beta0 up to Sage 8.2.beta1 > have notebook 5.2.1. > > $ ls /path/to/sag

Re: [sage-devel] Jupyter header cells ?

2018-01-06 Thread Samuel Lelièvre
Sage 8.1 has notebook 4.4.1, while Sage 8.2.beta0 up to Sage 8.2.beta1 have notebook 5.2.1. $ ls /path/to/sage-8.1/upstream | grep notebook notebook-4.4.1.tar.gz $ ls /path/to/sage-8.beta0/upstream | grep notebook notebook-5.2.1.tar.gz $ ls /path/to/sage-8.beta2/upstream | grep notebook notebook

Re: [sage-devel] Jupyter header cells ?

2018-01-06 Thread Jason Grout
Thanks. The Jupyter notebook is in the "notebook" pip package. Jason On Sat, Jan 6, 2018 at 10:38 AM Samuel Lelievre wrote: > Sat 2018-01-06 15:57:42 UTC, Jason Grout: > > > > > What version of the Jupyter notebook is in Sage? > > I'd be surprised if it didn't have header cells. > > > > Jason

Re: [sage-devel] Jupyter header cells ?

2018-01-06 Thread Samuel Lelievre
Sat 2018-01-06 15:57:42 UTC, Jason Grout: > > What version of the Jupyter notebook is in Sage? > I'd be surprised if it didn't have header cells. > > Jason In Sage 8.1: $ cd /path/to/sage-8.1/upstream $ ls | grep jup jupyter_client-5.1.0.tar.gz jupyter_core-4.3.0.tar.gz In Sage 8

Re: [sage-devel] Jupyter header cells ?

2018-01-06 Thread Jason Grout
Header cells in Jupyter notebooks have been around a very long time (since essentially the beginning?). Years ago there was talk of deprecating them in lieu of just using Markdown header syntax in markdown cells. There aren't officially supported TOC or section-structuring features in the notebook.