summaryrefslogtreecommitdiff
path: root/tex/context/base/page-sid.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2010-09-08 15:27:58 +0300
committerMarius <mariausol@gmail.com>2010-09-08 15:27:58 +0300
commit821d6141a92d80d6195b87fe1c25fb2fd83042d5 (patch)
tree53f8c98927a0435184c3ae40324cfdc996e8bd4a /tex/context/base/page-sid.mkiv
parent16895587e51f8243a7e4dc6185979894fb199d4f (diff)
downloadcontext-821d6141a92d80d6195b87fe1c25fb2fd83042d5.tar.gz
beta 2010.09.05 13:23
Diffstat (limited to 'tex/context/base/page-sid.mkiv')
-rw-r--r--tex/context/base/page-sid.mkiv22
1 files changed, 11 insertions, 11 deletions
diff --git a/tex/context/base/page-sid.mkiv b/tex/context/base/page-sid.mkiv
index c30204a4e..e54b4ecd5 100644
--- a/tex/context/base/page-sid.mkiv
+++ b/tex/context/base/page-sid.mkiv
@@ -84,16 +84,16 @@
% 7 = rightedge
% 8 = cutspace
-\chardef\sidefloattype\zerocount
+\newconstant\sidefloattype
-\def\backspacefloat {\global\chardef\sidefloattype1 \putsidefloat}
-\def\leftedgefloat {\global\chardef\sidefloattype2 \putsidefloat}
-\def\leftmarginfloat {\global\chardef\sidefloattype3 \putsidefloat}
-\def\leftfloat {\global\chardef\sidefloattype4 \putsidefloat}
-\def\rightfloat {\global\chardef\sidefloattype5 \putsidefloat}
-\def\rightmarginfloat {\global\chardef\sidefloattype6 \putsidefloat}
-\def\rightedgefloat {\global\chardef\sidefloattype7 \putsidefloat}
-\def\cutspacefloat {\global\chardef\sidefloattype8 \putsidefloat}
+\def\backspacefloat {\global\sidefloattype1 \putsidefloat}
+\def\leftedgefloat {\global\sidefloattype2 \putsidefloat}
+\def\leftmarginfloat {\global\sidefloattype3 \putsidefloat}
+\def\leftfloat {\global\sidefloattype4 \putsidefloat}
+\def\rightfloat {\global\sidefloattype5 \putsidefloat}
+\def\rightmarginfloat {\global\sidefloattype6 \putsidefloat}
+\def\rightedgefloat {\global\sidefloattype7 \putsidefloat}
+\def\cutspacefloat {\global\sidefloattype8 \putsidefloat}
\let\marginfloat \cutspacefloat
@@ -474,9 +474,9 @@
\fi\fi
\else
\ifnum\sidefloattype<\plusfour
- \global\chardef\sidefloattype\plusfour
+ \global\sidefloattype\plusfour
\else\ifnum\sidefloattype>\plusfive
- \global\chardef\sidefloattype\plusfive
+ \global\sidefloattype\plusfive
\fi\fi
\fi
\previoussidefloat