summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/baseline.typ2
-rw-r--r--tests/typ/text/linebreak-obj.typ2
-rw-r--r--tests/typ/text/quote.typ8
-rw-r--r--tests/typ/text/raw-syntaxes.typ2
-rw-r--r--tests/typ/text/raw-theme.typ2
-rw-r--r--tests/typ/text/shaping.typ5
6 files changed, 11 insertions, 10 deletions
diff --git a/tests/typ/text/baseline.typ b/tests/typ/text/baseline.typ
index e00e9230..c8fbb19d 100644
--- a/tests/typ/text/baseline.typ
+++ b/tests/typ/text/baseline.typ
@@ -9,4 +9,4 @@ Our cockatoo was one of the
that ever learned to mimic a human voice.
---
-Hey #box(baseline: 40%, image("/files/tiger.jpg", width: 1.5cm)) there!
+Hey #box(baseline: 40%, image("/assets/images/tiger.jpg", width: 1.5cm)) there!
diff --git a/tests/typ/text/linebreak-obj.typ b/tests/typ/text/linebreak-obj.typ
index 50254df1..ebf55f15 100644
--- a/tests/typ/text/linebreak-obj.typ
+++ b/tests/typ/text/linebreak-obj.typ
@@ -7,7 +7,7 @@
They can look for the details in @netwok,
which is the authoritative source.
-#bibliography("/files/works.bib")
+#bibliography("/assets/bib/works.bib")
---
// Test punctuation after math equations.
diff --git a/tests/typ/text/quote.typ b/tests/typ/text/quote.typ
index 0fd96ff5..1573438c 100644
--- a/tests/typ/text/quote.typ
+++ b/tests/typ/text/quote.typ
@@ -30,7 +30,7 @@ And I quote: #quote(attribution: [René Descartes])[cogito, ergo sum].
#quote(attribution: <tolkien54>)[In a hole in the ground there lived a hobbit.]
#set text(0pt)
-#bibliography("/files/works.bib")
+#bibliography("/assets/bib/works.bib")
---
// Citation-format: label or numeric
@@ -39,7 +39,7 @@ And I quote: #quote(attribution: [René Descartes])[cogito, ergo sum].
#quote(attribution: <tolkien54>)[In a hole in the ground there lived a hobbit.]
#set text(0pt)
-#bibliography("/files/works.bib", style: "ieee")
+#bibliography("/assets/bib/works.bib", style: "ieee")
---
// Citation-format: note
@@ -48,7 +48,7 @@ And I quote: #quote(attribution: [René Descartes])[cogito, ergo sum].
#quote(attribution: <tolkien54>)[In a hole in the ground there lived a hobbit.]
#set text(0pt)
-#bibliography("/files/works.bib", style: "chicago-notes")
+#bibliography("/assets/bib/works.bib", style: "chicago-notes")
---
// Citation-format: author-date or author
@@ -57,4 +57,4 @@ And I quote: #quote(attribution: [René Descartes])[cogito, ergo sum].
#quote(attribution: <tolkien54>)[In a hole in the ground there lived a hobbit.]
#set text(0pt)
-#bibliography("/files/works.bib", style: "apa")
+#bibliography("/assets/bib/works.bib", style: "apa")
diff --git a/tests/typ/text/raw-syntaxes.typ b/tests/typ/text/raw-syntaxes.typ
index 5863e648..e6c46924 100644
--- a/tests/typ/text/raw-syntaxes.typ
+++ b/tests/typ/text/raw-syntaxes.typ
@@ -3,7 +3,7 @@
---
#set page(width: 180pt)
#set text(6pt)
-#set raw(syntaxes: "/files/SExpressions.sublime-syntax")
+#set raw(syntaxes: "/assets/syntaxes/SExpressions.sublime-syntax")
```sexp
(defun factorial (x)
diff --git a/tests/typ/text/raw-theme.typ b/tests/typ/text/raw-theme.typ
index 71b59688..d6cda221 100644
--- a/tests/typ/text/raw-theme.typ
+++ b/tests/typ/text/raw-theme.typ
@@ -3,7 +3,7 @@
---
#set page(width: 180pt)
#set text(6pt)
-#set raw(theme: "/files/halcyon.tmTheme")
+#set raw(theme: "/assets/themes/halcyon.tmTheme")
#show raw: it => {
set text(fill: rgb("a2aabc"))
rect(
diff --git a/tests/typ/text/shaping.typ b/tests/typ/text/shaping.typ
index 3a8d5411..4a2b4f1e 100644
--- a/tests/typ/text/shaping.typ
+++ b/tests/typ/text/shaping.typ
@@ -2,6 +2,7 @@
---
// Test separation by script.
+#set text(font: ("Linux Libertine", "IBM Plex Sans Devanagari"))
ABCअपार्टमेंट
// This is how it should look like.
@@ -13,12 +14,12 @@ ABCअपार्टमेंट
---
// A forced `latn` script inhibits Devanagari font features.
-#set text(script: "latn")
+#set text(font: ("Linux Libertine", "IBM Plex Sans Devanagari"), script: "latn")
ABCअपार्टमेंट
---
// A forced `deva` script enables Devanagari font features.
-#set text(script: "deva")
+#set text(font: ("Linux Libertine", "IBM Plex Sans Devanagari"), script: "deva")
ABCअपार्टमेंट
---