summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/pack-cut.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/pack-cut.mkxl')
-rw-r--r--tex/context/base/mkxl/pack-cut.mkxl11
1 files changed, 6 insertions, 5 deletions
diff --git a/tex/context/base/mkxl/pack-cut.mkxl b/tex/context/base/mkxl/pack-cut.mkxl
index 1e23a97e3..3f4e6d0c3 100644
--- a/tex/context/base/mkxl/pack-cut.mkxl
+++ b/tex/context/base/mkxl/pack-cut.mkxl
@@ -58,13 +58,14 @@
\newcount\cutmarkoffset \cutmarkoffset \plusone
\mutable\let\cutmarksymbol \relax
-\mutable\let\cutmarktoptext \empty
-\mutable\let\cutmarkbottomtext \empty
-\mutable\let\cutmarkhoffset \empty
-\mutable\let\cutmarkvoffset \empty
\mutable\def\cutmarklength {2\bodyfontsize}
\mutable\def\cutmarkrulethickness{\onepoint}
+\mutable\lettonothing\cutmarktoptext
+\mutable\lettonothing\cutmarkbottomtext
+\mutable\lettonothing\cutmarkhoffset
+\mutable\lettonothing\cutmarkvoffset
+
\permanent\protected\def\horizontalcuts
{\hpack to \d_pack_cutmarks_width
{\dorecurse\horizontalcutmarks{\vrule\s!width\cutmarkrulethickness\s!height\cutmarklength\hfill}%
@@ -122,7 +123,7 @@
{\scratchskip\ifempty\cutmarkhoffset\cutmarkoffset\scratchdimen\else\cutmarkhoffset\fi
\setbox\scratchbox\hpack{\verticalcuts}%
\llap{\copy\scratchbox\hskip\scratchskip}%
- \ifdim\d_pack_cutmarks_depth=\zeropoint
+ \ifzeropt\d_pack_cutmarks_depth
\hfill
\else
\bgroup