jupyter-book / jupyterlab-myst

Use MyST Markdown directly in Jupyter Lab
https://jupyter-book.github.io/jupyterlab-myst/
BSD 3-Clause "New" or "Revised" License
140 stars 17 forks source link

Default should be `numbering: equation: false` #221

Open tavin opened 8 months ago

tavin commented 8 months ago

Dollar math displays (e.g. $$ 1 + 1 $$) are getting numbered automatically. It's possible to disable this with numbering: equation: false in the frontmatter. But for consistency with other tools and rendering pathways, the setting should be false by default.

Off the shelf, only \begin{equation}, \begin{align}, and so forth should trigger numbering. My testing confirms that equation environments are still numbered when the above setting is false.

agoose77 commented 7 months ago

Hey @tavin, are you suggesting that this should be changed for jupyterlab-myst, or also for the MyST-MD stack too?

tavin commented 7 months ago

Hey @tavin, are you suggesting that this should be changed for jupyterlab-myst, or also for the MyST-MD stack too?

Hi @agoose77, I don't know about the latter, I am just using jupyterlab-myst to preview jupyter book files.

I would suggest that Myst-MD should follow the same conventions for numbering equations that you get e.g. if you write in latex.