summaryrefslogtreecommitdiff
path: root/tex/context/base/anch-snc.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-02-21 00:51:00 +0100
committerHans Hagen <pragma@wxs.nl>2012-02-21 00:51:00 +0100
commit782b43e2fb4420cd950c8087222758e223df01bf (patch)
tree688ffd0f3fa63c045185a716f0d3da64405f9706 /tex/context/base/anch-snc.mkiv
parent74eb35dc817c64a5d8b6fea1b8acdf58e611a5e3 (diff)
downloadcontext-782b43e2fb4420cd950c8087222758e223df01bf.tar.gz
beta 2012.02.21 00:51
Diffstat (limited to 'tex/context/base/anch-snc.mkiv')
-rw-r--r--tex/context/base/anch-snc.mkiv14
1 files changed, 6 insertions, 8 deletions
diff --git a/tex/context/base/anch-snc.mkiv b/tex/context/base/anch-snc.mkiv
index c7448f3a1..5f2c17ac9 100644
--- a/tex/context/base/anch-snc.mkiv
+++ b/tex/context/base/anch-snc.mkiv
@@ -56,10 +56,7 @@
\pluscounter{\s!num:\s!syncpos:#1}%
\setsyncpositions{#1}%
% option: geen w/h, alleen p 0 0 0 data
- \setpositionplus
- {\s!syncpos:#1:\countervalue{\s!num:\s!syncpos:#1}}%
- {#2}%
- \hbox{\strut\traceposstring\llap\green{#3/\countervalue{\s!num:\s!syncpos:#1}/#1/#2>>}}%
+ \setpositionplus{\s!syncpos:#1:\countervalue{\s!num:\s!syncpos:#1}}{#2}\hbox{\strut}%
\else
\strut
\fi}
@@ -167,6 +164,7 @@
\definesyncpositions[1]
\startuseMPgraphic{sync}
+ if unknown context_abck : input mp-abck.mpiv ; fi ;
StartPage ;
\getsyncpositions{1} ;
SyncThreshold := 2LineHeight ;
@@ -190,13 +188,13 @@
\setupbackgrounds[page][background=tempoverlay]
-\dorecurse {100} {
+\dorecurse {10} {
\startchapter[title={Test #1}]
\syncposition[1][1] \dorecurse{10}{\input ward \endgraf}
- \syncposition[1][2] \dorecurse{4}{\input ward \endgraf}
- \syncposition[1][3] \dorecurse{7}{\input ward \endgraf}
- \syncposition[1][4] \dorecurse{3}{\input ward \endgraf}
+ \syncposition[1][2] \dorecurse {4}{\input ward \endgraf}
+ \syncposition[1][3] \dorecurse {7}{\input ward \endgraf}
+ \syncposition[1][4] \dorecurse {3}{\input ward \endgraf}
\stopchapter
}