jbyuki / nabla.nvim

take your scientific notes :pencil2: in Neovim
MIT License
575 stars 17 forks source link

"Unknown block expression" #64

Open hopezh opened 10 months ago

hopezh commented 10 months ago

I got the following error while trying to use nabla.nvim to preview a block math equation:

Screenshot 2023-07-04 at 9 41 49 PM

The latex content in a quarto qmd file is:

$$
\begin{alignat}{1}
\overline{ \boldsymbol{\hat{y}}}
&=
\bigg(\frac{\partial \mathcal{L}}{\partial\boldsymbol{
\hat{y}}}\bigg)^\top  
\overline{\mathcal{L}} \\
&=\big(J_{g(\boldsymbol
{\hat{y}} ,\boldsymbol
{y})\text{ w.r.t }\boldsymbol
{\hat{y}}} \big)
^\top \overline{\mathcal{L}}
\end{alignat} 
$$

...which is expected to be rendered like this:

Screenshot 2023-07-04 at 9 45 27 PM
frogiraffe commented 7 months ago

im also having the same issue while using \begin{gather}, so the error is like "Unknown block expression gather"