summaryrefslogtreecommitdiff
path: root/tex/context/base/core-snc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-snc.tex')
-rw-r--r--tex/context/base/core-snc.tex21
1 files changed, 13 insertions, 8 deletions
diff --git a/tex/context/base/core-snc.tex b/tex/context/base/core-snc.tex
index 55c6e15df..e80fd1613 100644
--- a/tex/context/base/core-snc.tex
+++ b/tex/context/base/core-snc.tex
@@ -112,19 +112,24 @@
\def\dodoresyncposition #1#2{\dodosyncposition{#1}{#2}\s!reset}
\def\dodopresyncposition#1#2{\dodosyncposition{#1}{#2}\s!preset}
-\def\doresyncposition [#1][#2]{\setxvalue{\s!reset :\s!syncpos:#1}{\noexpand\dodoresyncposition{#1}{#2}}}
+\def\doresyncposition [#1][#2]{\setxvalue{\s!reset:\s!syncpos:#1}{\noexpand\dodoresyncposition{#1}{#2}}}
\def\dopresyncposition[#1][#2]{\setxvalue{\s!preset:\s!syncpos:#1}{\noexpand\dodopresyncposition{#1}{#2}}}
-\def\flushsyncpositions % this order !
- {\the\presetsyncpositions
- \the\resetsyncpositions}
+% \appendtoks \the \resetsyncpositions \to \everypar
+% \appendtoks \the\presetsyncpositions \to \everypar
-% \appendtoks \flushsyncpositions \to \everypar
-% \appendtoks \flushsyncpositions \to \everyheadstart
+\appendtoks \the \presetsyncpositions \to \everypar
+\appendtoks \the \resetsyncpositions \to \everypar
% \explicitneverypar -> in grid snapper, eerst testen
%
-% \appendtoks \flushsyncpositions \to \neverypar
+% \appendtoks \the\resetsyncpositions \to \neverypar
+% \appendtoks \the\presetsyncpositions \to \neverypar
+
+\appendtoks
+ \the\presetsyncpositions
+ \the\resetsyncpositions
+\to \everyheadstart
\def\flushsyncxxsets#1#2%
{\setbox\scratchbox\hbox{\the#1}%
@@ -173,4 +178,4 @@
\syncposition[1][3] \input ward \endgraf
\syncposition[1][4] \input ward \endgraf
-\stoptext
+\stoptext \ No newline at end of file