summaryrefslogtreecommitdiff
path: root/tests/typ/code/include.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code/include.typ')
-rw-r--r--tests/typ/code/include.typ13
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/typ/code/include.typ b/tests/typ/code/include.typ
index 166c3945..0d1abc08 100644
--- a/tests/typ/code/include.typ
+++ b/tests/typ/code/include.typ
@@ -6,18 +6,21 @@
// Include a file
#include "importable/chap1.typ"
-// The variables of the file should not appear in this scope.
-// Error: 1-6 unknown variable
-#name
-
// Expression as a file name.
#let chap2 = include "import" + "able/chap" + "2.typ"
-- _Intermission_ --
#chap2
+---
{
- // Expressions, code mode.
// Error: 21-43 file not found
let x = include "importable/chap3.typ"
}
+
+---
+#include "importable/chap1.typ"
+
+// The variables of the file should not appear in this scope.
+// Error: 1-6 unknown variable
+#name