quarto-dev / quarto-dev/quarto-cli
Use TinyTeX's maintained regex.json for LaTeX error detection
@cderv is already working on this.
Since Oct 24, 2025.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
We manually maintain LaTeX error regex patterns in parse-error.ts, which requires ongoing maintenance when new LaTeX error formats appear.
TinyTeX publishes a comprehensive regex.json file as a release asset, generated by their build workflow (https://github.com/rstudio/tinytex/blob/d6e2c0d312e7a7782baab715ba24764a0452639d/.github/workflows/build.yaml#L173-L176). This file contains production-tested patterns used by RStudio's TinyTeX package manager.
Latest release: https://github.com/rstudio/tinytex-releases/releases/tag/daily
We could use TinyTeX's patterns as our source of truth for LaTeX error detection. This would keep us synchronized with battle-tested patterns that are updated daily by the RStudio team.
We could automate periodic sync to maintain alignment without manual effort.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.