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
Originally posted by d-morrison September 28, 2024
Description
I'm trying to insert a computation into a Figure Div:
---title: "Untitled"format: pptx---## slide with fig div
::: {#fig-graph1}
```{r}plot(1:10)```
A graph
:::
I'm getting the following error:
processing file: pptx-fig-div.qmd
output file: pptx-fig-div.knit.md
pandoc
to: pptx
output-file: pptx-fig-div.pptx
default-image-extension: png
metadata
title: Untitled
Error running filter C:/Users/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:
...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:22497: attempt to index a boolean value (local 'im')
stack traceback:
...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:1233: in local 'filter_fn'
...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:635: in function <...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:625>
(...tail calls...)
[C]: in ?
[C]: in method 'walk'
...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:557: in function <...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:546>
(...tail calls...)
...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:1334: in local 'callback'
...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:1352: in upvalue 'run_emulated_filter_chain'
...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:1388: in function <...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:1385>
stack traceback:
...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:557: in function <...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:546>
(...tail calls...)
...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:1334: in local 'callback'
...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:1352: in upvalue 'run_emulated_filter_chain'
...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:1388: in function <...rs/Work/AppData/Local/Apps/Quarto/share/filters/main.lua:1385>
Using a figure chunk works fine:
---title: "Untitled"format: pptx---## slide with fig chunk```{r}#| label: fig-graph2#| fig-cap: Another graphplot(10:1)```
Outputting the figure div version to .docx also works:
---title: "Untitled"format: docx---## slide with fig div
::: {#fig-graph1}
```{r}plot(1:10)```
A graph
:::
Am I doing something wrong? Thanks for any guidance.
The text was updated successfully, but these errors were encountered:
I confirmed and can reproduce the float cross-ref issue for PowerPoint format in the current development version.
Discussed in #10911
Originally posted by d-morrison September 28, 2024
Description
I'm trying to insert a computation into a Figure Div:
I'm getting the following error:
Using a figure chunk works fine:
Outputting the figure div version to .docx also works:
Am I doing something wrong? Thanks for any guidance.
The text was updated successfully, but these errors were encountered: