diff options
Diffstat (limited to 'tests/typ/bugs/hide-meta.typ')
| -rw-r--r-- | tests/typ/bugs/hide-meta.typ | 24 |
1 files changed, 24 insertions, 0 deletions
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], + )) +))) |
