Skip to content

Figure captions not appearing in pptx output (Output format pptx does not currently support FloatRefTarget nodes) #8667

@justinaskav

Description

@justinaskav

Bug description

Starting from 1.4.367, figure captions are not included in Powerpoint output.

When rendering, this warning is emitted:

WARNING (/Applications/quarto/share/filters/main.lua:20045) 
Emitting a placeholder FloatRefTarget
Output format pptx does not currently support FloatRefTarget nodes.

Until 1.4.366, the figure caption text was shown alongside the image.

Steps to reproduce

---
format: pptx
---

## Slide Title

The text "Figure Caption" is not shown in Powerpoint output.

![Figure Caption](./assets/existing-image.png){#fig-figure}

Expected behavior

The text "Figure Caption" is visible below the figure. This is the behaviour until 1.4.366.

Actual behavior

No text appears below the figure. Also, when rendering, a warning is emitted (shown in Bug Description part).

Your environment

  • IDE: NVIM v0.9.5
  • OS: MacOS Sonoma 14.3.1

Quarto check output

Quarto 1.5.9
[✓] 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.5.9
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Tex:  (not detected)

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.10.13 (Conda)
      Path: /opt/homebrew/Caskroom/miniforge/base/bin/python
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with conda install jupyter

[✓] Checking R installation...........OK
      Version: 4.2.1
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Users/justinas/Library/R/arm64/4.2/library
        - /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library
      knitr: 1.42
      rmarkdown: 2.21

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcrossreffiguresneeds-discussionIssues that require a team-wide discussion before proceeding furtherpptxissue with pptx formatregressionFunctionality that used to work but now is broken.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions