Skip to content

Inheritance of base should be consistent across formats #11272

Open
@cwickham

Description

@cwickham

Bug description

In html, heading and the title inherit from base.
In typst, heading inherits, but title doesn't.
In revealjs, neither headings nor the title inherits from base.

Steps to reproduce

---
title: "Untitled"
format: 
  html: default
  typst: default
  revealjs: 
    output-file: base-reveal.html
brand:
  typography:
    fonts:
      - family: Tiny5
        source: google
    base: Tiny5
    
---

## Section

{{< lipsum 1 >}}

Expected behavior

All formats html, revealjs, typst have the same font used for headings and title.

Actual behavior

html uses Tiny5 everywhere:
Image

typst uses Tiny5 everywhere, except title:
Image

revealjs only uses Tiny5 for paragraph text:
Image

Image

Your environment

  • OS: Mac Sonoma 15.0

Quarto check output

$ quarto check
Quarto 99.9.9
[✓] Checking environment information...
      Quarto cache location: /Users/charlottewickham/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.4.0: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.46.3: OK
      Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 99.9.9
      commit: 19473984b54e37e97888a74a46fe58f68628899b
      Path: /Users/charlottewickham/Documents/posit/quarto-cli/package/dist/bin

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

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

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

[✓] Checking Python 3 installation....OK
      Version: 3.12.1
      Path: /Users/charlottewickham/Documents/posit/quarto-web/.venv/bin/python
      Jupyter: 5.7.2
      Kernels: julia-1.10, ark, python3

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

[✓] Checking R installation...........OK
      Version: 4.3.3
      Path: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources
      LibPaths:
        - /Users/charlottewickham/Library/R/arm64/4.3/library
        - /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library
      knitr: 1.45
      rmarkdown: 2.28

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

Metadata

Metadata

Assignees

Labels

brand`_brand.yml`bugSomething isn't workingearly-in-releaseAn issue that should be worked on early in the release (likely due to risk)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions