quarto-dev / quarto-dev/quarto-cli

Use TinyTeX's maintained regex.json for LaTeX error detection

Open
#13,612 1 comment 0 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Oct 24, 2025.

enhancement latex
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.