summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/node-rul.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/node-rul.mkxl')
-rw-r--r--tex/context/base/mkxl/node-rul.mkxl28
1 files changed, 14 insertions, 14 deletions
diff --git a/tex/context/base/mkxl/node-rul.mkxl b/tex/context/base/mkxl/node-rul.mkxl
index 24b7d5ef0..5253c8008 100644
--- a/tex/context/base/mkxl/node-rul.mkxl
+++ b/tex/context/base/mkxl/node-rul.mkxl
@@ -71,6 +71,20 @@
%definesystemattribute[ruled]
%definesystemattribute[shifted]
+\newdimension\d_rule_width
+\newdimension\d_rule_height
+\newdimension\d_rule_depth
+\newdimension\d_rule_h
+\newdimension\d_rule_v
+\newdimension\d_rule_line
+\newdimension\d_rule_offset
+\newdimension\d_rule_factor
+
+\mutable\lettonothing\m_rule_direction
+%mutable\lettonothing\m_rule_factor
+\mutable\lettonothing\m_rule_option
+\mutable\lettonothing\m_rule_color
+
\registerctxluafile{node-rul}{autosuffix,optimize}
\installcorenamespace{bar}
@@ -289,20 +303,6 @@
%D
%D \typebuffer \getbuffer
-\newdimension\d_rule_width
-\newdimension\d_rule_height
-\newdimension\d_rule_depth
-\newdimension\d_rule_h
-\newdimension\d_rule_v
-\newdimension\d_rule_line
-\newdimension\d_rule_offset
-\newdimension\d_rule_factor
-
-\mutable\lettonothing\m_rule_direction
-%mutable\lettonothing\m_rule_factor
-\mutable\lettonothing\m_rule_option
-\mutable\lettonothing\m_rule_color
-
\startuseMPgraphic{rules:under:random}
draw
((0,RuleDepth) ... (RuleWidth,RuleDepth)) randomized (4*RuleThickness)