From 397df377ced25ee5cd77c218510055b71b169690 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Wed, 27 Aug 2025 13:44:08 +0300 Subject: [PATCH] refactor: remove attachments from outline --- examples/qualification-thesis/main.typ | 6 +++--- src/lib.typ | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/qualification-thesis/main.typ b/examples/qualification-thesis/main.typ index df60798..5aa187a 100644 --- a/examples/qualification-thesis/main.typ +++ b/examples/qualification-thesis/main.typ @@ -69,15 +69,15 @@ ), attachments: ( attachment( - caption: "foo", - label: , + caption: "Attachment table", + label: , table( columns: (1fr, 1fr), [foo], [bar], ), ), attachment( - caption: "bar", + caption: "Another table", table( columns: (1fr, 1fr), [foo], [bar], diff --git a/src/lib.typ b/src/lib.typ index 60630ad..48a2b71 100644 --- a/src/lib.typ +++ b/src/lib.typ @@ -269,7 +269,6 @@ depth: 3, indent: indent, title: text(size: 14pt, outline-title), - target: heading.where().or(figure.where(kind: "attachment")), ) // Display the paper's contents.