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/text | |
| parent | 6536e9e069616b862ebb774c7bef1b886c069350 (diff) | |
Absolute paths
Diffstat (limited to 'tests/typ/text')
| -rw-r--r-- | tests/typ/text/bidi.typ | 2 | ||||
| -rw-r--r-- | tests/typ/text/indent.typ | 4 | ||||
| -rw-r--r-- | tests/typ/text/link.typ | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/text/bidi.typ b/tests/typ/text/bidi.typ index 7058638a..11c0cafa 100644 --- a/tests/typ/text/bidi.typ +++ b/tests/typ/text/bidi.typ @@ -43,7 +43,7 @@ Lריווח #h(1cm) R --- // Test inline object. #set text(lang: "he", "IBM Plex Serif") -קרנפיםRh#image("../../res/rhino.png", height: 11pt)inoחיים +קרנפיםRh#image("/res/rhino.png", height: 11pt)inoחיים --- // Test whether L1 whitespace resetting destroys stuff. diff --git a/tests/typ/text/indent.typ b/tests/typ/text/indent.typ index 897e360c..92b12180 100644 --- a/tests/typ/text/indent.typ +++ b/tests/typ/text/indent.typ @@ -8,10 +8,10 @@ The first paragraph has no indent. But the second one does. -#image("../../res/tiger.jpg", height: 6pt) +#image("/res/tiger.jpg", height: 6pt) starts a paragraph without indent. -#align(center, image("../../res/rhino.png", width: 1cm)) +#align(center, image("/res/rhino.png", width: 1cm)) = Headings - And lists. diff --git a/tests/typ/text/link.typ b/tests/typ/text/link.typ index ad538187..64697bff 100644 --- a/tests/typ/text/link.typ +++ b/tests/typ/text/link.typ @@ -31,5 +31,5 @@ My cool #move(dx: 0.7cm, dy: 0.7cm, rotate(10deg, scale(200%, mylink))) // Link containing a block. #link("https://example.com/", underline: false, block[ My cool rhino - #move(dx: 10pt, image("../../res/rhino.png", width: 1cm)) + #move(dx: 10pt, image("/res/rhino.png", width: 1cm)) ]) |
