Skip to content

layout-ncol issue with image layout and captions #8785

@jgunstone

Description

@jgunstone

Bug description

  • images aren't centred correctly above text
  • unwanted and unspecified (a), (b) ... etc. fig identifiers being added to images

Steps to reproduce

---
document_description: A description of the document that is important
footer-logo: logo.png
title-page: title-page.pdf
---

# Images

## A Red Circle

![Some red circle](./media/red-dot.png){width=30mm}

Above we can see an image of a red circle.

{{< pagebreak >}}

## Radiator Widths

::: {layout-ncol=3 layout-valign="bottom"}
![A logo](https://placehold.co/50x40.png){height=30mm}

![Another logo](https://placehold.co/50x40.png)

![Look at that, another logo!](https://placehold.co/50x40.png)
:::

Expected behavior

behaviour in v1.4.466
image

Actual behavior

behaviour in v1.4.550
image

with public images
image

Your environment

wsl, Ubuntu22.04, VS Code

Quarto check output

Quarto 1.4.550
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.11: OK
      Dart Sass version 1.58.3: OK
      Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.4.550
      Path: /home/jovyan/miniforge3/envs/document-issue-dev/lib/python3.11/site-packages/quarto_cli/quarto-1.4.549/bin

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

[✓] Checking LaTeX....................OK
      Using: TinyTex
      Path: /home/jovyan/.TinyTeX/bin/x86_64-linux
      Version: 2023

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

[✓] Checking Python 3 installation....OK
      Version: 3.10.13 (Conda)
      Path: /home/jovyan/miniforge3/bin/python
      Jupyter: (None)

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

[✓] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions