I would say, yes to both ideas.
(btw sorry -- do a git fetch -- I forgot to check in a couple of files -- sorry).
Adding latex support is really quite easy via mathjax. I think it will be useful in general. There is no reason not to do it.
For the other idea, ... yes, but how precisely?
I think that when we save the explanation, right now we ask for a 2-3 word summary of the cell to give the name to the cell. I think it would be ideal to ask, in the same AI call, for a short one-line summary of the cell, and store that independently; we could then use that for the TOC. Or do you have better ideas on how to give names to cells that we can use in the index?
Well, another simple idea would be to use the beginning of the description of course.
Thoughts?
Luca