You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comma doesn't render when the following criteria are all met:
Making a pdf via Typst (format: typst)
In a math block ($$ ... $$)
In a "cases" block (\begin{cases} ... \end{cases})
Making the lines aligned (including a & character)
Using format: pdf (i.e. via LaTeX) works fine.
Steps to reproduce
---format: typst---
Comma appears ok in single line
$$a = b + c,$$
Comma appears ok in aligned block
$$\begin{aligned}a = b + c,\end{aligned}$$
Comma appears ok in aligned block with `&`$$\begin{aligned}a &= b + c,\end{aligned}$$
Comma appears ok in cases block
$$\begin{cases}a = b + c,\end{cases}$$
Comma **missing** in cases block with `&`$$\begin{cases}a &= b + c,\end{cases}$$
Comma **missing** in cases block with `&` but full stop ok
$$\begin{cases}a &= b + c, \\a &= b + c.\end{cases}$$
This is not Quarto's doing, but rather Pandoc. Please create a pure-pandoc (.md file, run with pandoc) reproduction and file at https://github.com/jgm/pandoc. Thank you!
Bug description
Comma doesn't render when the following criteria are all met:
format: typst
)$$ ... $$
)\begin{cases} ... \end{cases}
)&
character)Using
format: pdf
(i.e. via LaTeX) works fine.Steps to reproduce
Expected behavior
A comma should be there
Actual behavior
The comma is not there
Your environment
VSCode info:
Version: 1.97.0-insider (user setup)
Commit: 69d97b0773575a75736850370918e1171cfde5c6
Date: 2025-01-13T09:58:56.423Z
Electron: 32.2.7
ElectronBuildId: 10660205
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631
WSL info (Quarto installed on WSL):
WSL version: 2.3.26.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5620
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.22631.4602
Quarto check output
The text was updated successfully, but these errors were encountered: