-
Notifications
You must be signed in to change notification settings - Fork 418
Open
Labels
bugSomething isn't workingSomething isn't workingcode-blocksrevealjsIssues with the revealjs formatIssues with the revealjs format
Milestone
Description
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
IF you use lst-label and lst-cap in code chinks then output-location for revealjs format stops working. It is ignored.
Steps to reproduce
---
title: "Show Issue"
format: revealjs
---
## This does not show in columns
```{r}
#| echo: true
#| lst-cap: "Plot iris data in a column"
#| lst-label: lst-plot-iris
#| output-location: column
plot(x=iris$Sepal.Length, y=iris$Sepal.Width)
```
## This does not show in next slide
```{r}
#| echo: true
#| lst-cap: "Plot iris data on next slide"
#| lst-label: lst-plot-iris-2
#| output-location: slide
plot(x=iris$Sepal.Length, y=iris$Sepal.Width)
```
## This works
```{r}
#| echo: true
#| output-location: column
plot(x=iris$Sepal.Length, y=iris$Sepal.Width)
```
## And this too
```{r}
#| echo: true
#| output-location: slide
plot(x=iris$Sepal.Length, y=iris$Sepal.Width)
```
Actual behavior
The output-location is ignored.
An warning messages similar to this is printed:
WARNING (/opt/quarto/1.4.550/share/filters/main.lua:14101) output-location is only valid for cells that echo their code
Expected behavior
output-location should not be ignored, or maybe a warning about unsuported combinations. The current warning message is wrong.
Your environment
- IDE: RStudio Pro 2025.05.0 Build 496.pro5
- OS: Ubuntu 22.04
Quarto check output
Quarto 1.4.550
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.550
Path: /opt/quarto/1.4.550/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: Installation From Path
Path: /usr/local/texlive/2024/bin/x86_64-linux
Version: 2024
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12
Path: /usr/bin/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking R installation...........OK
Version: 4.4.0
Path: /opt/R/4.4.0/lib/R
LibPaths:
- /home/LRossou/splines_intercepts_wear_off_training/renv/library/linux-ubuntu-jammy/R-4.4/x86_64-pc-linux-gnu
- /home/LRossou/.cache/R/renv/sandbox/linux-ubuntu-jammy/R-4.4/x86_64-pc-linux-gnu/3df92652
knitr: 1.51
rmarkdown: 2.30
[✓] Checking Knitr engine render......OK
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcode-blocksrevealjsIssues with the revealjs formatIssues with the revealjs format