-
Notifications
You must be signed in to change notification settings - Fork 379
Description
Bug description
When I run this equation from qmd -> typst -> pdf, I get the expected behavior when omitting an equation label:
Here is the original TeX math in Quarto:

And this is the correctly generated typst math:

Now, re-adding the equation label (this compiles properly to PDF using xelatex and to HTML):

I get the raw TeX math in the typst intermediate document and it will not compile:

Steps to reproduce
$$
\begin{aligned}
\frac{dS_1}{dt} &= -\frac{\rho \beta S_1(c_{11} I_1 + c_{12} I_2)}{N} \
\frac{dS_2}{dt} &= -\frac{\beta S_2(c_{12} I_1 + c_{22} I_2)}{N} \
\frac{dI_1}{dt} &= \frac{ \rho \beta S_1(c_{11} I_1 + c_{12} I_2)}{N} - \gamma I_1 \
\frac{dI_2}{dt} &= \frac{\beta S_2(c_{12} I_1 + c_{22} I_2)}{N} - \gamma I_2 \
\frac{dR_1}{dt} &= \gamma I_1 \
\frac{dR_2}{dt} &= \gamma I_2
\end{aligned}
$$ {#eq-model}
Expected behavior
No response
Actual behavior
No response
Your environment
No response
Quarto check output
No response