From e584dc4e369bce639c3fdecec46cc8761f19ccf5 Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Sun, 19 May 2024 17:34:55 +0200 Subject: [PATCH] fixed margin (for full-page) --- src/renderer.typ | 3 ++- src/schema.typ | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer.typ b/src/renderer.typ index 1a72fb2..238a0fb 100644 --- a/src/renderer.typ +++ b/src/renderer.typ @@ -449,7 +449,8 @@ ( width: auto, height: auto, - fill: config.background + fill: config.background, + margin: 0cm ) } else { (:) diff --git a/src/schema.typ b/src/schema.typ index 112540c..a3328ba 100644 --- a/src/schema.typ +++ b/src/schema.typ @@ -27,7 +27,7 @@ let lang = schema.lang let content = schema.text if not lang in valid-extensions { - let fmts = valid-extensions.map(fmt => "." + fmt).join(", ") + let fmts = valid-extensions.join(", ") fmts = "(" + fmts + ")" panic("Unsupported format '" + lang + "'. Valid formats: " + fmts) }