summaryrefslogtreecommitdiff
path: root/tex/context/base/pack-cut.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-07-19 14:20:14 +0300
committerMarius <mariausol@gmail.com>2012-07-19 14:20:14 +0300
commitfbfbcf8f6c5be5c08ed47b9093c50728cbf69fa5 (patch)
tree5320d7c31c681a5334fdcf18f9f21b621e983da8 /tex/context/base/pack-cut.mkiv
parentf012686d63082594f65005c5de0730f6fa3af7d0 (diff)
downloadcontext-fbfbcf8f6c5be5c08ed47b9093c50728cbf69fa5.tar.gz
beta 2012.07.19 12:56
Diffstat (limited to 'tex/context/base/pack-cut.mkiv')
-rw-r--r--tex/context/base/pack-cut.mkiv23
1 files changed, 12 insertions, 11 deletions
diff --git a/tex/context/base/pack-cut.mkiv b/tex/context/base/pack-cut.mkiv
index 1afccee50..63f4524a8 100644
--- a/tex/context/base/pack-cut.mkiv
+++ b/tex/context/base/pack-cut.mkiv
@@ -56,31 +56,32 @@
\newcount\verticalcutmarks \verticalcutmarks \plustwo
\newcount\cutmarkoffset \cutmarkoffset \plusone
-\let\cutmarksymbol \relax
-\let\cutmarktoptext \empty
-\let\cutmarkbottomtext\empty
-\let\cutmarkhoffset \empty
-\let\cutmarkvoffset \empty
-\def\cutmarklength {2\bodyfontsize}
+\let\cutmarksymbol \relax
+\let\cutmarktoptext \empty
+\let\cutmarkbottomtext \empty
+\let\cutmarkhoffset \empty
+\let\cutmarkvoffset \empty
+\def\cutmarklength {2\bodyfontsize}
+\def\cutmarkrulethickness{\onepoint}
\unexpanded\def\horizontalcuts
{\normalhbox to \d_pack_cutmarks_width
- {\dorecurse\horizontalcutmarks{\vrule\!!width\boxrulewidth\!!height\cutmarklength\normalhfill}%
+ {\dorecurse\horizontalcutmarks{\vrule\s!width\cutmarkrulethickness\s!height\cutmarklength\normalhfill}%
\unskip}}
\unexpanded\def\verticalcuts
{\normalvbox to \dimexpr\d_pack_cutmarks_height+\d_pack_cutmarks_depth\relax
{\hsize\cutmarklength
- \dorecurse\verticalcutmarks{\vrule\!!height\boxrulewidth\!!width\hsize\normalvfill}%
+ \dorecurse\verticalcutmarks{\vrule\s!height\cutmarkrulethickness\s!width\hsize\normalvfill}%
\unskip}}
\unexpanded\def\baselinecuts
{\ifdim\d_pack_cutmarks_depth>\zeropoint
\normalvbox to \dimexpr\d_pack_cutmarks_height+\d_pack_cutmarks_depth\relax
{\hsize\dimexpr\cutmarklength/2\relax
- \normalvskip\zeropoint\!!plus\d_pack_cutmarks_height
- \vrule\!!height\boxrulewidth\!!width\hsize
- \normalvskip\zeropoint\!!plus\d_pack_cutmarks_depth}%
+ \normalvskip\zeropoint\s!plus\d_pack_cutmarks_height
+ \vrule\s!height\cutmarkrulethickness\s!width\hsize
+ \normalvskip\zeropoint\s!plus\d_pack_cutmarks_depth}%
\fi}
\unexpanded\def\cutmarksymbols#1%