From 732f85348a6e75f6653e779685f00dcedf9bae52 Mon Sep 17 00:00:00 2001 From: Rasmus Mecklenburg <42248344+rmburg@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:06:18 +0100 Subject: [PATCH 1/2] Hide list markers and enum numbers Fixes #186 --- logic.typ | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/logic.typ b/logic.typ index 144fd50..3621300 100644 --- a/logic.typ +++ b/logic.typ @@ -292,6 +292,15 @@ pdfpc-slide-markers(1) + // Workaround for typst showing list ticks and enum numbers when it should not. + // See https://github.com/andreasKroepelin/polylux/issues/186 + show hide: it => { + set list(marker: none) + set enum(numbering: n => []) + + it + } + body subslide.step() From 91c6f50c4219480425b28394e2a3992574692b64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kr=C3=B6pelin?= Date: Sun, 19 Jan 2025 09:10:57 +0100 Subject: [PATCH 2/2] Use none consistently --- logic.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic.typ b/logic.typ index 3621300..9a93ca2 100644 --- a/logic.typ +++ b/logic.typ @@ -296,7 +296,7 @@ // See https://github.com/andreasKroepelin/polylux/issues/186 show hide: it => { set list(marker: none) - set enum(numbering: n => []) + set enum(numbering: n => none) it }