blob: 8080c6e856adf09f6a5015d3a1b1b1e1e47a5c2e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Test include statements.
---
# Document
// 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"
}
|