Skip to content

Typst quotes output #quote() and not Quarto-defined #blockquote() #13362

@mvuorre

Description

@mvuorre

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

Quarto's Typst template defines a blockquote() function:

But format: typst outputs quote()s instead. So the Quarto customizations for blockquote() do not affect the output.

Steps to reproduce

This Quarto source document (index.qmd)

---
title: "Typst output: quote() vs. blockquote()"
format:
  typst:
    keep-typ: true
---

The following is a Typst `quote()` rather than the Quarto-defined `blockquote()`:

>Quote.

renders (quarto render index.qmd) to this Typst file

// Some definitions presupposed by pandoc's typst output.
#let blockquote(body) = [
  #set text(size: 0.22em)
  #block(inset: (left: 1.5em, top: 0.2em, bottom: 0.2em))[#body]
]

// <<<TRUNCATED>>>

The following is a Typst `quote()` rather than the Quarto-defined `blockquote()`:

#quote(block: true)[
  Quote.
]

So the blockquote() definition should possibly be renamed to quote() in order for it to affect the output.

Actual behavior

A >Quote in Quarto source outputs a #quote() in the Typst output.

Expected behavior

Quarto defines a blockquote() which is either unnecessary or should be renamed to quote().

Your environment

  • IDE: Positron 2025.09
  • OS: MacOS 26
  • Quarto: Tried both v1.7.32 and v1.8.24

Quarto check output

❯ quarto check           
Quarto 1.8.24
[✓] Checking environment information...
      Quarto cache location: /Users/matti/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.6.3: OK
      Dart Sass version 1.87.0: OK
      Deno version 2.3.1: OK
      Typst version 0.13.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.8.24
      Path: /Applications/quarto/bin

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

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

[✓] Checking Chrome Headless....................OK
      Chrome:  (not detected)

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

[✓] Checking Python 3 installation....OK
      Version: 3.13.7
      Path: /opt/homebrew/opt/[email protected]/bin/python3.13
      Jupyter: (None)

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

[✓] Checking R installation...........OK
      Version: 4.5.1
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Users/matti/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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopen-prThere is an open PR for this issuetemplatestypst

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions