Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/changelog-1.12.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ All changes included in 1.12:

- ([#15168](https://github.com/quarto-dev/quarto-cli/issues/15168)): Fix definitions, examples and exercises being set in italics in Typst output with the default `theorem-appearance: simple`. Their body is now upright, as in LaTeX output, while theorems, lemmas, corollaries, propositions and conjectures keep an italic body. (author: @mcanouil)
- ([#15251](https://github.com/quarto-dev/quarto-cli/pull/15251)): Fix algorithm blocks (`#alg-`) being set in italics with `theorem-appearance: simple` and using the colours of theorems with `theorem-appearance: fancy`. They now look like definitions, examples and exercises. (author: @mcanouil)
- ([#15311](https://github.com/quarto-dev/quarto-cli/issues/15311)): Fix `logo: false` not removing the brand logo in Typst output. The rest of the brand still applies. (author: @SAMARTHJAISWAL)
- ([#15320](https://github.com/quarto-dev/quarto-cli/pull/15320)): Update to Pandoc's Typst template following Pandoc 3.13 support:
- Horizontal rules are full-width, using Typst 0.15's native `divider`. A Typst binary set with `QUARTO_TYPST` must be 0.15 or later.
- In a tight definition list, a one-paragraph definition now sits on the same line as its term.
Expand Down
4 changes: 4 additions & 0 deletions src/core/brand/brand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,10 @@ export function fillLogoPaths(
}
return undefined;
}
if (spec === false) {
// keep an explicit `logo: false` so `resolveLogo()` can disable the logo
return false;
}
if (!spec) {
return undefined;
}
Expand Down
28 changes: 28 additions & 0 deletions tests/docs/smoke-all/brand/logo/typst-logo-false-format.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Typst with logo false (format level)
format:
typst:
output-ext: typ
logo: false
brand:
color:
primary: "#1f6f8b"
logo:
images:
quarto:
path: quarto.png
alt: quarto logo
small: quarto
_quarto:
tests:
typst:
ensureTypstFileRegexMatches:
-
- 'primary: rgb\("#1f6f8b"\)'
-
- 'set page\(background'
- 'image\("[^"]*quarto\.png"'
---

`logo: false` removes the brand logo in Typst output, while the rest of the
brand still applies (#15311).
28 changes: 28 additions & 0 deletions tests/docs/smoke-all/brand/logo/typst-logo-false-top.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Typst with logo false (top level)
format:
typst:
output-ext: typ
logo: false
brand:
color:
primary: "#1f6f8b"
logo:
images:
quarto:
path: quarto.png
alt: quarto logo
small: quarto
_quarto:
tests:
typst:
ensureTypstFileRegexMatches:
-
- 'primary: rgb\("#1f6f8b"\)'
-
- 'set page\(background'
- 'image\("[^"]*quarto\.png"'
---

`logo: false` removes the brand logo in Typst output, while the rest of the
brand still applies (#15311).
Loading