Skip to content

nmfs-opensci/chapnum-equations

Repository files navigation

chapnum-equations

Minimal example the components to make equations like 3.1 in a Quarto book

  • mathjax.html -- the mathjax config with tagformate needed for chapter numbers
  • chapnum.lua -- a lua filter to add <script>MathJax.config.section=chap-num</script> to the html.

Status

It is kind of working but adds <script>MathJax.config.section=chap-num</script> every where including the sidebar and I need it to only be in the <header> tag.

the title is in a pandoc.metablock, I think. need to use lua filter to access that.

About

minimal example

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published