summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/anch-snc.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-08-19 20:32:31 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-08-19 20:32:31 +0200
commitaf60125ab3fa9e482720f0f46c2143fa08512113 (patch)
tree3e85c8a8a5979ebd05b891f8ecfb93d1b69ac41b /tex/context/base/mkxl/anch-snc.mkxl
parentd3d93bc4f0d21a259fdafee5ba1a744999474c28 (diff)
downloadcontext-af60125ab3fa9e482720f0f46c2143fa08512113.tar.gz
2021-08-19 19:43:00
Diffstat (limited to 'tex/context/base/mkxl/anch-snc.mkxl')
-rw-r--r--tex/context/base/mkxl/anch-snc.mkxl8
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/anch-snc.mkxl b/tex/context/base/mkxl/anch-snc.mkxl
index 436305634..dcf2c86cb 100644
--- a/tex/context/base/mkxl/anch-snc.mkxl
+++ b/tex/context/base/mkxl/anch-snc.mkxl
@@ -125,10 +125,12 @@
%D \stoptext
%D \stoptyping
+%D We could actually use par positions but in \LMTX\ we have syncpos entries
+%D somewhat optimized.
+
\unprotect
-\ifdefined\??syncposcounter \else \installcorenamespace{syncposcounter} \fi
-\ifdefined\s!syncpos \else \def\s!syncpos {syncpos} \fi
+\installcorenamespace{syncposcounter}
\let\c_sync_n\relax
@@ -137,7 +139,7 @@
\expandafter\newcount\csname\??syncposcounter:#1\endcsname
\fi}
-\permanent\tolerant\protected\def\syncposition[#1]#*[#2]% we could actually use par positions
+\permanent\tolerant\protected\def\syncposition[#1]#*[#2]%
{\dontleavehmode
\ifcsname\??syncposcounter:#1\endcsname
\let\c_sync_n\lastnamedcs