diff options
Diffstat (limited to 'tests/typ/meta/ref.typ')
| -rw-r--r-- | tests/typ/meta/ref.typ | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/tests/typ/meta/ref.typ b/tests/typ/meta/ref.typ deleted file mode 100644 index 4cc824d7..00000000 --- a/tests/typ/meta/ref.typ +++ /dev/null @@ -1,48 +0,0 @@ -// Test references. - ---- -#set heading(numbering: "1.") - -= Introduction <intro> -See @setup. - -== Setup <setup> -As seen in @intro, we proceed. - ---- -// Error: 1-5 label `<foo>` does not exist in the document -@foo - ---- -= First <foo> -= Second <foo> - -// Error: 1-5 label `<foo>` occurs multiple times in the document -@foo - ---- -#set heading(numbering: "1.", supplement: [Chapter]) -#set math.equation(numbering: "(1)", supplement: [Eq.]) - -= Intro -#figure( - image("/assets/images/cylinder.svg", height: 1cm), - caption: [A cylinder.], - supplement: "Fig", -) <fig1> - -#figure( - image("/assets/images/tiger.jpg", height: 1cm), - caption: [A tiger.], - supplement: "Tig", -) <fig2> - -$ A = 1 $ <eq1> - -#set math.equation(supplement: none) -$ A = 1 $ <eq2> - -@fig1, @fig2, @eq1, (@eq2) - -#set ref(supplement: none) -@fig1, @fig2, @eq1, @eq2 |
