summaryrefslogtreecommitdiff
path: root/tests/typ/func-page.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-01-14 16:47:29 +0100
committerLaurenz <laurmaedje@gmail.com>2021-01-14 16:47:29 +0100
commitcfcb36b159e3f65aff8cbdac6b537b40c22507c0 (patch)
tree18e17b3cec5530b67ec596fe13b45423a867eb5f /tests/typ/func-page.typ
parent272a4c228976466e9fa6cc100ad89f93dc5cc371 (diff)
Move test files into category subfolders 🚚
Diffstat (limited to 'tests/typ/func-page.typ')
-rw-r--r--tests/typ/func-page.typ64
1 files changed, 0 insertions, 64 deletions
diff --git a/tests/typ/func-page.typ b/tests/typ/func-page.typ
deleted file mode 100644
index 49671e14..00000000
--- a/tests/typ/func-page.typ
+++ /dev/null
@@ -1,64 +0,0 @@
-// Test configuring page sizes and margins.
-
-// Set width and height.
-[page width: 120pt, height: 120pt]
-[page width: 40pt][High]
-[page height: 40pt][Wide]
-
-// Set all margins at once.
-[page margins: 30pt][
- [align top, left][TL]
- [align bottom, right][BR]
-]
-
-// Set individual margins.
-[page height: 40pt]
-[page left: 0pt | align left][Left]
-[page right: 0pt | align right][Right]
-[page top: 0pt | align top][Top]
-[page bottom: 0pt | align bottom][Bottom]
-
-// Ensure that specific margins override general margins.
-[page margins: 0pt, left: 20pt][Overriden]
-
----
-// Test flipping.
-
-// Flipped predefined paper.
-[page "a11", flip: true][Flipped A11]
-
-// Flipped custom page size.
-[page width: 40pt, height: 120pt]
-[page flip: true]
-Wide
-
----
-// Test a combination of pages with bodies and normal content.
-
-[page height: 50pt]
-
-[page][First]
-[page][Second]
-[pagebreak]
-Fourth
-[page][]
-Sixth
-[page][Seventh and last]
-
----
-// Test changing the layouting directions of pages.
-
-[page height: 50pt, main-dir: btt, cross-dir: rtl]
-
-Right to left!
-
----
-// Test error cases.
-//
-// Ref: false
-
-// Error: 1:7-1:18 unknown variable
-[page nonexistant]
-
-// Error: 1:17-1:20 aligned axis
-[page main-dir: ltr]