summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/interface/mkiv/i-layout.xml
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/interface/mkiv/i-layout.xml')
-rw-r--r--Master/texmf-dist/tex/context/interface/mkiv/i-layout.xml52
1 files changed, 33 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/context/interface/mkiv/i-layout.xml b/Master/texmf-dist/tex/context/interface/mkiv/i-layout.xml
index f3e42515e40..19b233988c9 100644
--- a/Master/texmf-dist/tex/context/interface/mkiv/i-layout.xml
+++ b/Master/texmf-dist/tex/context/interface/mkiv/i-layout.xml
@@ -4,7 +4,7 @@
<cd:interface xmlns:cd="http://www.pragma-ade.com/commands">
- <cd:command name="definelayout" file="page-lay.mkiv">
+ <cd:command name="definelayout" level="style" category="layout" file="page-lay.mkiv">
<cd:arguments>
<cd:resolve name="keyword-name"/>
<cd:resolve name="keyword-name-optional"/>
@@ -14,7 +14,7 @@
</cd:arguments>
</cd:command>
- <cd:command name="setuplayout" file="page-lay.mkiv">
+ <cd:command name="setuplayout" level="style" category="layout" file="page-lay.mkiv">
<cd:arguments>
<cd:resolve name="keyword-name-optional"/>
<cd:assignments list="yes">
@@ -211,7 +211,7 @@
</cd:arguments>
</cd:command>
- <cd:command name="setuplayout" variant="name" file="page-lay.mkiv">
+ <cd:command name="setuplayout" variant="name" level="style" category="layout" file="page-lay.mkiv">
<cd:arguments>
<cd:keywords>
<cd:constant type="reset"/>
@@ -220,7 +220,7 @@
</cd:arguments>
</cd:command>
- <cd:command name="doifelselayoutdefined" file="page-lay.mkiv">
+ <cd:command name="doifelselayoutdefined" level="system" category="layout conditional" file="page-lay.mkiv">
<cd:arguments>
<cd:resolve name="argument-name"/>
<cd:resolve name="argument-true"/>
@@ -228,7 +228,7 @@
</cd:arguments>
</cd:command>
- <cd:command name="doiflayoutdefinedelse" file="page-lay.mkiv">
+ <cd:command name="doiflayoutdefinedelse" level="system" category="layout conditional" file="page-lay.mkiv">
<cd:arguments>
<cd:resolve name="argument-name"/>
<cd:resolve name="argument-true"/>
@@ -236,7 +236,7 @@
</cd:arguments>
</cd:command>
- <cd:command name="adaptlayout" file="page-lay.mkiv">
+ <cd:command name="adaptlayout" level="style" category="layout" file="page-lay.mkiv">
<cd:arguments>
<cd:resolve name="keyword-number-list-optional"/>
<cd:assignments list="yes">
@@ -251,27 +251,27 @@
</cd:arguments>
</cd:command>
- <cd:command name="layout" type="environment" file="page-lay.mkiv">
+ <cd:command name="layout" type="environment" level="document" category="layout" file="page-lay.mkiv">
<cd:arguments>
<cd:resolve name="keyword-name"/>
</cd:arguments>
</cd:command>
- <cd:command name="doifelseoddpage" file="page-lay.mkiv">
+ <cd:command name="doifelseoddpage" level="system" category="layout conditional" file="page-lay.mkiv">
<cd:arguments>
<cd:resolve name="argument-command"/>
<cd:resolve name="argument-command"/>
</cd:arguments>
</cd:command>
- <cd:command name="doifoddpageelse" file="page-lay.mkiv">
+ <cd:command name="doifoddpageelse" level="system" category="layout conditional" file="page-lay.mkiv">
<cd:arguments>
<cd:resolve name="argument-command"/>
<cd:resolve name="argument-command"/>
</cd:arguments>
</cd:command>
- <cd:command name="doifbothsidesoverruled" file="page-lay.mkiv">
+ <cd:command name="doifbothsidesoverruled" level="system" category="layout conditional" file="page-lay.mkiv">
<cd:arguments>
<cd:resolve name="argument-command"/>
<cd:resolve name="argument-command"/>
@@ -279,7 +279,7 @@
</cd:arguments>
</cd:command>
- <cd:command name="doifbothsides" file="page-lay.mkiv">
+ <cd:command name="doifbothsides" level="system" category="layout conditional" file="page-lay.mkiv">
<cd:arguments>
<cd:resolve name="argument-command"/>
<cd:resolve name="argument-command"/>
@@ -287,14 +287,14 @@
</cd:arguments>
</cd:command>
- <cd:command name="rightorleftpageaction" file="page-lay.mkiv">
+ <cd:command name="rightorleftpageaction" level="system" category="layout conditional" file="page-lay.mkiv">
<cd:arguments>
<cd:resolve name="argument-command"/>
<cd:resolve name="argument-command"/>
</cd:arguments>
</cd:command>
- <cd:command name="showprint" file="page-run.mkiv">
+ <cd:command name="showprint" level="document" category="layout" file="page-run.mkiv">
<cd:arguments>
<cd:keywords list="yes" optional="yes">
<cd:inherit name="setuppapersize"/>
@@ -308,7 +308,7 @@
</cd:arguments>
</cd:command>
- <cd:command name="showframe" file="page-run.mkiv">
+ <cd:command name="showframe" level="document" category="layout" file="page-run.mkiv">
<cd:arguments>
<cd:keywords list="yes" optional="yes">
<cd:constant type="top"/>
@@ -327,7 +327,7 @@
</cd:arguments>
</cd:command>
- <cd:command name="showsetups" file="page-run.mkiv">
+ <cd:command name="showsetups" level="document" category="layout" file="page-run.mkiv">
<cd:arguments>
<cd:keywords list="yes" optional="yes">
<cd:constant type="pt" default="yes"/>
@@ -345,7 +345,7 @@
</cd:arguments>
</cd:command>
- <cd:command name="showlayout" file="page-run.mkiv">
+ <cd:command name="showlayout" level="document" category="layout" file="page-run.mkiv">
<cd:arguments>
<cd:keywords list="yes" optional="yes">
<cd:constant type="pt" default="yes"/>
@@ -363,8 +363,22 @@
</cd:arguments>
</cd:command>
- <cd:command name="showmargins" file="page-run.mkiv"/>
+ <cd:command name="showmargins" level="document" category="layout" file="page-run.mkiv"/>
- <cd:command name="spread" type="environment" file="page-spr.mkiv"/>
+ <cd:command name="spread" type="environment" level="document" category="layout" file="page-spr.mkiv"/>
-</cd:interface>
+ <cd:command name="doifelsetopofpage" level="system" category="layout conditional" file="page-lay.mkiv">
+ <cd:arguments>
+ <cd:resolve name="argument-true"/>
+ <cd:resolve name="argument-false"/>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="doiftopofpageelse" level="system" category="layout conditional" file="page-lay.mkiv">
+ <cd:arguments>
+ <cd:resolve name="argument-true"/>
+ <cd:resolve name="argument-false"/>
+ </cd:arguments>
+ </cd:command>
+
+</cd:interface> \ No newline at end of file