From 183997d5fe76cf0b41fd26bfa29d166071d239eb Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 22 May 2023 16:44:48 +0200 Subject: Don't hide introspection metadata Fixes #622 --- tests/ref/bugs/hide-meta.png | Bin 0 -> 14128 bytes tests/typ/bugs/hide-meta.typ | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/ref/bugs/hide-meta.png create mode 100644 tests/typ/bugs/hide-meta.typ (limited to 'tests') diff --git a/tests/ref/bugs/hide-meta.png b/tests/ref/bugs/hide-meta.png new file mode 100644 index 00000000..860617d7 Binary files /dev/null and b/tests/ref/bugs/hide-meta.png differ diff --git a/tests/typ/bugs/hide-meta.typ b/tests/typ/bugs/hide-meta.typ new file mode 100644 index 00000000..6dce81ad --- /dev/null +++ b/tests/typ/bugs/hide-meta.typ @@ -0,0 +1,24 @@ +// Test that metadata of hidden stuff stays available. + +--- +#set cite(style: "chicago-notes") + +A pirate. @arrgh \ +#set text(2pt) +#hide[ + A @arrgh pirate. + #bibliography("/works.bib") +] + +--- +#set text(8pt) +#outline() +#set text(2pt) +#hide(block(grid( + [= A], + [= B], + block(grid( + [= C], + [= D], + )) +))) -- cgit v1.2.3