{"id":40596618,"url":"https://github.com/ute/mathjax3eqno","last_synced_at":"2026-01-21T04:03:11.589Z","repository":{"id":167873465,"uuid":"643499882","full_name":"ute/mathjax3eqno","owner":"ute","description":"Quarto extension for equation numbering within sections via MathJax / LaTeX","archived":false,"fork":false,"pushed_at":"2024-04-21T22:51:09.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-22T01:55:05.511Z","etag":null,"topics":["equations","quarto","quarto-extension","quarto-filter"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ute.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-05-21T11:11:59.000Z","updated_at":"2024-04-21T22:51:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7f86a7c-4f78-4bec-a710-9380e760c849","html_url":"https://github.com/ute/mathjax3eqno","commit_stats":null,"previous_names":["ute/mathjax3"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ute/mathjax3eqno","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ute%2Fmathjax3eqno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ute%2Fmathjax3eqno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ute%2Fmathjax3eqno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ute%2Fmathjax3eqno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ute","download_url":"https://codeload.github.com/ute/mathjax3eqno/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ute%2Fmathjax3eqno/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28625926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T02:47:06.670Z","status":"ssl_error","status_checked_at":"2026-01-21T02:45:44.886Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["equations","quarto","quarto-extension","quarto-filter"],"created_at":"2026-01-21T04:03:10.885Z","updated_at":"2026-01-21T04:03:11.572Z","avatar_url":"https://github.com/ute.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MathJax3Eqno Extension For Quarto\n\nThis filter adds features for complex mathematical equations and equation numbering from MathJax3, as suggested by @eeholmes [here](https://github.com/quarto-dev/quarto-cli/issues/4136).\nIt is mainly meant as a proof-of-concept, but might be useful for the time being :-).\n\nWith this filter, you get\n\n- equation **numbering within section**, also for markdown displayed equations (in `$$`..`$$`)\n- tags via `\\tag` also for markdown equations.\n\nThe filter transforms markdown equations into LaTeX equations that are handled by MathJax.\n\n### Caveats\n\n- Equations can only be referenced via LaTeX `\\ref` or `\\eqref`; quarto markdown references via `@eq-` are no longer working,\n- All LaTeX equations are numbered, unless you use the starred version `\\begin{equation*}` or `\\notag`. Markdown equations are only numbered if they have a reference label,\n- The **only** supported output formats are **pdf and html**,\n- It does **not** (yet) work automatically as one would expect for **html-books**. *News:*  there is a workaround: In the first equation, add command `\\setNewSection` followed by the section number, e.g. `\\setNewSection{17}`. This sets the prefix, and restarts counting. It is only necessary once per book chapter.\n- it requires MathJax3, therefore quarto $\\geq 1.3.x$, where $x$ is unknown (I have $x = 353$)\n- Does not work with parse-latex extension, use [parse-latex-noeq](https://github.com/ute/parse-latex-noeq) instead.\n\n## Installing\n\n```bash\nquarto add ute/mathjax3eqno\n```\n\nThis will install the extension under the `_extensions` subdirectory.\nIf you're using version control, you will want to check in this directory.\n\n## Using\n\nAdd the filter to your yaml, and set `number-sections` to `true`. Currently, there are no further options. \nThen write and refer to equations as you would do in LaTeX. Labelled markdown equations are supported when the label starts with `#eq-`.\n\n```text\n---\nfilters: [mathjax3eqno]\nnumber-sections: true\n---\n# First Section\nFirst equation\n$$\n   \\lim_{n\\to\\infty} \\exp(n) = \\infty\n$${#eq-toinf}\n\nAnd another one:\n$$\n  a^2 + b^2 = c^2 \\tag{$\\ast$}\n  \\label{eq-py}\n$$\n\n# Second Section\nRefer to \\eqref{eq-toinf} and solve\n\\begin{equation}\n  e = mc^2\n\\end{equation}\nThen ponder about \\eqref{eq-py}\n```\nrenders as\n\n![image](https://github.com/ute/mathjax3eqno/assets/5145859/3c6b6353-7384-4777-91b1-46cbebde662a)\n\nHere is the source code for a minimal example: [example.qmd](example.qmd).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fute%2Fmathjax3eqno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fute%2Fmathjax3eqno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fute%2Fmathjax3eqno/lists"}