From 8b4e72e969ae1488d4d5241a3b60924a79f129af Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 26 Oct 2025 19:43:03 +0100 Subject: Typst template: fix font for compatibility with typst 0.14. Typst 0.14 doesn't permit an empty array for `font`. Closes #11238. --- data/templates/template.typst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/templates/template.typst b/data/templates/template.typst index 0ac9e564a..a2e643066 100644 --- a/data/templates/template.typst +++ b/data/templates/template.typst @@ -23,7 +23,7 @@ paper: "us-letter", lang: "en", region: "US", - font: (), + font: none, fontsize: 11pt, mathfont: none, codefont: none, @@ -54,9 +54,9 @@ ) set text(lang: lang, region: region, - font: font, size: fontsize) + set text(font: font) if font != none show math.equation: set text(font: mathfont) if mathfont != none show raw: set text(font: codefont) if codefont != none -- cgit v1.2.3