Re: [sage-devel] Jupyter header cells ?

2018-01-21 Thread danielvolinski via sage-devel
> > Hi All > > How do I obtain automatic numbering of sections and subsections, as > described above, with Markdown? > Thanks. > ​ > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving

Re: [sage-devel] Jupyter header cells ?

2018-01-19 Thread Samuel Lelièvre
For generating books mixing LaTeX and computation cells, see also PreTeXt: http://mathbook.pugetsound.edu/ ​ -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-devel] Jupyter header cells ?

2018-01-19 Thread Emmanuel Charpentier
Dear Daniel, Le vendredi 19 janvier 2018 21:05:59 UTC+1, danielv...@yahoo.es a écrit : > > Since I was the originator of this request I would like to explain myself. >> > > I'm new to SageMath, but I have been using WxMaxima for quite a while now. > Which is indeed a good notebook (if a bit

Re: [sage-devel] Jupyter header cells ?

2018-01-19 Thread danielvolinski via sage-devel
> > Since I was the originator of this request I would like to explain myself. > I'm new to SageMath, but I have been using WxMaxima for quite a while now. I would like to have some way to define Sections and Subsections in a SageMath notebook, but the definitions should not be static, i.e. if

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:

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

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

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

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

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

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

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

Re: [sage-devel] Jupyter header cells ?

2018-01-05 Thread Dima Pasechnik
On Friday, January 5, 2018 at 12:46:16 PM UTC, Erik Bray wrote: > > On Wed, Jan 3, 2018 at 2:47 PM, Emmanuel Charpentier > wrote: > > The documentation I referenced shows the presence of specific tools in > their > > implementation (specialized buttons, menus items,

Re: [sage-devel] Jupyter header cells ?

2018-01-05 Thread Erik Bray
On Wed, Jan 3, 2018 at 2:47 PM, Emmanuel Charpentier wrote: > The documentation I referenced shows the presence of specific tools in their > implementation (specialized buttons, menus items, etc...) that seem to be > necessary for cross-referencing and auto-TOC. The

Re: [sage-devel] Jupyter header cells ?

2018-01-03 Thread Emmanuel Charpentier
The documentation I referenced shows the presence of specific tools in their implementation (specialized

Re: [sage-devel] Jupyter header cells ?

2018-01-02 Thread Erik Bray
On Tue, Dec 26, 2017 at 5:27 PM, Emmanuel Charpentier wrote: > This question on ask.sagemath.org made me search Google about something > called "Header cells". I found such a thing in the Jupyter documentation at > Bryn Mawr College. > > It seems to me that this is

[sage-devel] Jupyter header cells ?

2017-12-26 Thread Emmanuel Charpentier
This question on ask.sagemath.org made me search Google about something called "Header cells". I found such a thing