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
Lua filter error mentioned in #10358 still exists if cross-reference div syntax is used. Here's a minimal example:
---title: "Test"format: gfm---
::: {#fig-line-plot}
```{python}import matplotlib.pyplot as pltplt.plot([1,23,2,4])plt.show()```
A line plot
:::
Tested on
Quarto 1.5.57, Windows 11
gives the following error:
Error running filter C:\Program Files\Quarto\share\filters\main.lua:
Block, list of Blocks, or compatible element expected, got table
while retrieving function argument blocks
while retrieving arguments for function Blocks
stack traceback:
C:\Program Files\Quarto\share\filters\main.lua:22474: in field 'render'
C:\Program Files\Quarto\share\filters\main.lua:1233: in local 'filter_fn'
C:\Program Files\Quarto\share\filters\main.lua:635: in function <C:\Program Files\Quarto\share\filters\main.lua:625>
(...tail calls...)
[C]: in ?
[C]: in method 'walk'
C:\Program Files\Quarto\share\filters\main.lua:557: in function <C:\Program Files\Quarto\share\filters\main.lua:546>
(...tail calls...)
C:\Program Files\Quarto\share\filters\main.lua:1334: in local 'callback'
C:\Program Files\Quarto\share\filters\main.lua:1352: in upvalue 'run_emulated_filter_chain'
C:\Program Files\Quarto\share\filters\main.lua:1388: in function <C:\Program Files\Quarto\share\filters\main.lua:1385>
stack traceback:
C:\Program Files\Quarto\share\filters\main.lua:557: in function <C:\Program Files\Quarto\share\filters\main.lua:546>
(...tail calls...)
C:\Program Files\Quarto\share\filters\main.lua:1334: in local 'callback'
C:\Program Files\Quarto\share\filters\main.lua:1352: in upvalue 'run_emulated_filter_chain'
C:\Program Files\Quarto\share\filters\main.lua:1388: in function <C:\Program Files\Quarto\share\filters\main.lua:1385>
Also tested on
Quarto 1.5.57, arm64 Ubuntu via WSL
results in similar error.
Quarto check output
Quarto 1.5.57
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.2.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.41.0: OK
Typst version 0.11.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.5.57
Path: C:\Program Files\Quarto\bin
CodePage: 936
[>] Checking tools....................OK
TinyTeX: v2024.07.03
Chromium: (not installed)
[>] Checking LaTeX....................OK
Using: TinyTex
Path: C:\Users\sun123zxy\AppData\Roaming\TinyTeX\bin\windows\
Version: 2024
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....OK
Version: 3.12.4 (Conda)
Path: C:/Users/sun123zxy/.conda/envs/main/python.exe
Jupyter: 5.7.2
Kernels: python3
[>] Checking Jupyter engine render....OK
[>] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
The text was updated successfully, but these errors were encountered:
This is not the same bug as #10358; the bug here is that in div syntax, the echoing output of the code block itself lives inside the div, and so we have a float with that is a Blocks value instead of a single Block.
Bug description
Lua filter error mentioned in #10358 still exists if cross-reference div syntax is used. Here's a minimal example:
Tested on
gives the following error:
Also tested on
results in similar error.
Quarto check output
The text was updated successfully, but these errors were encountered: