diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-16 17:56:23 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-16 17:56:36 +0200 |
| commit | a741bd6b83d1e374c8218b5439e26522499cc4ae (patch) | |
| tree | 796ef8b8ae2186a082f37a2aa4732c9bba7d2bdf /tests/typ/layout | |
| parent | 6536e9e069616b862ebb774c7bef1b886c069350 (diff) | |
Absolute paths
Diffstat (limited to 'tests/typ/layout')
| -rw-r--r-- | tests/typ/layout/grid-3.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/pad.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/place-background.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/place.typ | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/layout/grid-3.typ b/tests/typ/layout/grid-3.typ index 8d04722e..6b7dc47f 100644 --- a/tests/typ/layout/grid-3.typ +++ b/tests/typ/layout/grid-3.typ @@ -23,7 +23,7 @@ columns: 4 * (1fr,), row-gutter: 10pt, column-gutter: (0pt, 10%), - align(top, image("../../res/rhino.png")), + align(top, image("/res/rhino.png")), align(top, rect(fill: eastern, align(right)[LoL])), [rofl], [\ A] * 3, diff --git a/tests/typ/layout/pad.typ b/tests/typ/layout/pad.typ index 502137ec..9791eae4 100644 --- a/tests/typ/layout/pad.typ +++ b/tests/typ/layout/pad.typ @@ -21,7 +21,7 @@ Hi #box(pad(left: 10pt)[A]) there // Test that the pad node doesn't consume the whole region. #set page(height: 6cm) #align(left)[Before] -#pad(10pt, image("../../res/tiger.jpg")) +#pad(10pt, image("/res/tiger.jpg")) #align(right)[After] --- diff --git a/tests/typ/layout/place-background.typ b/tests/typ/layout/place-background.typ index f64bf0ee..fafedec1 100644 --- a/tests/typ/layout/place-background.typ +++ b/tests/typ/layout/place-background.typ @@ -7,7 +7,7 @@ dx: -10pt, dy: -10pt, image( - "../../res/tiger.jpg", + "/res/tiger.jpg", fit: "cover", width: 100% + 20pt, height: 100% + 20pt, diff --git a/tests/typ/layout/place.typ b/tests/typ/layout/place.typ index 95049bdc..58f9d06d 100644 --- a/tests/typ/layout/place.typ +++ b/tests/typ/layout/place.typ @@ -5,7 +5,7 @@ #place(bottom + center)[© Typst] = Placement -#place(right, image("../../res/tiger.jpg", width: 1.8cm)) +#place(right, image("/res/tiger.jpg", width: 1.8cm)) Hi there. This is \ a placed node. \ Unfortunately, \ |
