diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-12 15:40:43 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-12 15:42:01 +0200 |
| commit | 378ebe5f5601f11c3f428c17bed492012feb251e (patch) | |
| tree | 4530bf009844faca40ca4fd6d0b9251fd51ef587 /tests/typ/bugs | |
| parent | 19bf1f58944a42f17903869c162a33aba22b80b0 (diff) | |
Delayed errors
Fixes #785. Thanks to @Dherse for the idea!
Diffstat (limited to 'tests/typ/bugs')
| -rw-r--r-- | tests/typ/bugs/cite-locate.typ | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/typ/bugs/cite-locate.typ b/tests/typ/bugs/cite-locate.typ new file mode 100644 index 00000000..c3786c5f --- /dev/null +++ b/tests/typ/bugs/cite-locate.typ @@ -0,0 +1,23 @@ +// Test citation in other introspection. + +--- +#set page(width: 180pt) +#set heading(numbering: "1") + +#outline( + title: [List of Figures], + target: figure.where(kind: image), +) + +#pagebreak() + += Introduction <intro> +#figure( + rect[-- PIRATE --], + caption: [A pirate @arrgh in @intro], +) + +#locate(loc => [Citation @distress on page #loc.page()]) + +#pagebreak() +#bibliography("/works.bib", style: "chicago-notes") |
