summaryrefslogtreecommitdiff
path: root/tex/context/base/anch-pos.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-09-05 13:23:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-09-05 13:23:00 +0200
commit536e4dd4fe2e98c3cefdb9741507c20f4489e2c0 (patch)
treed49d2a223c08240cb83c3d702af8226ee05ff84c /tex/context/base/anch-pos.mkiv
parent0da1a7a94f55a5dc0d318f399eb843303d5b62f6 (diff)
downloadcontext-536e4dd4fe2e98c3cefdb9741507c20f4489e2c0.tar.gz
beta 2010.09.05 13:23
Diffstat (limited to 'tex/context/base/anch-pos.mkiv')
-rw-r--r--tex/context/base/anch-pos.mkiv8
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/anch-pos.mkiv b/tex/context/base/anch-pos.mkiv
index ba668f6ac..6fdd7324a 100644
--- a/tex/context/base/anch-pos.mkiv
+++ b/tex/context/base/anch-pos.mkiv
@@ -151,8 +151,9 @@
%D page box and therefore flushed first. So, when present, it
%D is applied to all positions except itself.
-\chardef\positionanchormode=0 % don't relocate page origin
-\chardef\positionanchormode=1 % relocate page origin once
+% 0 = don't relocate page origin 1 = relocate page origin once
+
+\setnewconstant\positionanchormode\plusone
%D The core set macros.
@@ -501,7 +502,6 @@
\newcount\parposcounter
\newif \ifpositioningpar
-\chardef \parposstrut = 1 % 0 => no strut data, so fall backs used
\newif \iftracepositions
% we can check for used entries, and if not, then not add one
@@ -594,7 +594,7 @@
\def\getnodelocationn#1{\countervalue{\@@noden#1}}
\def\getnodelocationo#1{\getvalue {\@@nodeo#1}}
-\chardef\nodelocationmode\plusone
+\setnewconstant\nodelocationmode\plusone
\def\analyzenodelocation#1%
{\ifcsname\@@noden#1\endcsname