quarto-dev / quarto-dev/quarto-cli

`lof` in `format: typst` doesn't produce a list of figures

Open
#14,081 4 comments 1 reaction 1 assignee View on GitHub

@gordonwoodhull is already working on this.

Since Feb 20, 2026.

bug typst
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

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

I can't seem to get a list of figures using lof with format: typst, see "Steps to reproduce" example below.

It occured to me this is just a book feature. Using the content intro.qmd:

---
title: "Untitled"
---

# Introduction

This is a book created from markdown and executable code.


::: {#fig-1}

CONTENT

Caption

:::

In a book project that includes in _quarto.yml:

format: 
  typst:
    lof: true

crossref: 
  lof-title: "List of Figures"

I get a "List of Figures" but it is empty:

Screenshot of page showing a 'List of Figures' title and no content

Aside: without lof-title I get an empty title...possibly also a bug.

Steps to reproduce

Standalone intro.qmd:

---
title: "Untitled"
lof: true
format: 
  typst:
    keep-typ: true
  pdf:
    keep-tex: true
---

# Introduction

This is a book created from markdown and executable code.


::: {#fig-1}

CONTENT

Caption

:::
Actual behavior

Rendering:

quarto render intro.qmd --to typst

Results in no table of figures:

Screenshot of rendered doc. Starts with 'Untitled', then straight into content.
Expected behavior

Something similar to pdf:

quarto render intro.qmd --to pdf
Screenshot of rendered doc. Starts with 'Untitled', then a 'List of Figures'.
Your environment
  • OS: Mac Tahoe 26.3
Quarto check output
Quarto 1.9.23
[✓] Checking environment information...
      Quarto cache location: /Users/charlottewickham/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.8.3: OK
      Dart Sass version 1.87.0: OK
      Deno version 2.4.5: OK
      Typst version 0.14.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.9.23
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: v2025.12
      VeraPDF: 1.28.2
      Chromium: (not installed)
      Chrome Headless Shell: (not installed)

[✓] Checking LaTeX....................OK
      Using: TinyTex
      Path: /Users/charlottewickham/Library/TinyTeX/bin/universal-darwin
      Version: 2025

[✓] Checking Chrome Headless....................OK
      Using: Chrome found on system
      Path: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
      Source: MacOS known location

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

[✓] Checking R installation...........OK
      Version: 4.5.1
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Users/charlottewickham/Library/R/arm64/4.5/library
        - /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library
      knitr: 1.50
      rmarkdown: 2.29

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

[✓] Checking Python 3 installation....OK
      Version: 3.13.2
      Path: /Users/charlottewickham/.local/share/uv/python/cpython-3.13.2-macos-aarch64-none/bin/python
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking Julia installation...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.