quarto-dev / quarto-dev/quarto-cli
LaTeX equation with left{ right. and aligned cannot compile in typst format.
Open
Nobody has claimed this yet.
bug
math
pandoc
typst
upstream
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
LaTeX equation with left{ right. and aligned cannot compile in typst format.
Steps to reproduce
---
title: Untitled
format: typst
keep-typ: true
---
$$
\left\{\begin{matrix}
\begin{aligned}
Y&=bx+a+e \\
E\left (e \right )&=0, \quad D\left (e \right )=\sigma ^{2}
\end{aligned}
\end{matrix}\right.
$$
Actual behavior
Expected behavior
Your environment
- IDE: RStudio, 2026.01.1 Build 403
- OS: Windows 11 IoT LTSC
- Quarto: 1.10.0
Quarto check output
Quarto 1.10.0
[>] Checking environment information...
Quarto cache location: C:\Users\JTTWT\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.8.3: OK
Dart Sass version 1.87.0: OK
Deno version 2.4.5: OK
Typst version 0.14.2: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.10.0
Path: C:\Program Files\Quarto\bin
CodePage: 936
[>] Checking tools....................OK
TinyTeX: (external install)
Chromium: (not installed)
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[>] Checking LaTeX....................OK
Using: TinyTex
Path: C:\Users\JTTWT\AppData\Roaming\TinyTeX\bin\windows\
Version: 2025
[>] Checking Chrome Headless....................OK
Using: Chrome found on system
Path: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
Source: Windows Registry
[>] Checking basic markdown render....OK
[>] Checking R installation...........OK
Version: 4.5.3
Path: C:/PROGRA~1/R/R-45~1.3
LibPaths:
- C:/Users/JTTWT/AppData/Local/R/win-library/4.5
- C:/Program Files/R/R-4.5.3/library
knitr: 1.51
rmarkdown: 2.31
[>] Checking Knitr engine render......OK
[>] Checking Python 3 installation....(None)
Unable to locate an installed version of Python 3.
Install Python 3 from https://www.python.org/downloads/
[>] Checking Julia installation...
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.
Research direction
Start with the minimal .qmd reproduction in the issue and render it with Quarto's typst format, keeping the generated Typst output. Compare the result with the expected equation, then trace how the \left{, \right., matrix, and aligned constructs are converted. Done means this example compiles and produces the expected layout without breaking related equations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100