summaryrefslogtreecommitdiff
path: root/tex/context/base/spac-ver.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/spac-ver.mkiv')
-rw-r--r--tex/context/base/spac-ver.mkiv19
1 files changed, 3 insertions, 16 deletions
diff --git a/tex/context/base/spac-ver.mkiv b/tex/context/base/spac-ver.mkiv
index db80c6e36..d544d237b 100644
--- a/tex/context/base/spac-ver.mkiv
+++ b/tex/context/base/spac-ver.mkiv
@@ -1501,7 +1501,7 @@
\def\dododosnaptogrid#1%
{\ifvbox\nextbox % this will go away
- \ctxlua{nodes.collapsevbox(\number\nextbox)}% isn't that already done?
+ \ctxlua{builders.vspacing.collapsevbox(\number\nextbox)}% isn't that already done?
\fi
\doifelsenothing{#1}{\setsnapvalue\v!normal}{\autosetsnapvalue{#1}}%
\ctxlua{builders.vspacing.snapbox(\number\nextbox,\number\attribute\snapmethodattribute)}%
@@ -1609,19 +1609,6 @@
% \start \dosetstretch{.25em} \setuptolerance[tolerant,stretch] \input tufte \endgraf \stop
% \start \dosetstretch{.5em} effe flink doorfietsen \stop
-% \def\dosetupgridsnapping % calls too often, only needed in gridsnapping
-% {\ctxlua{nodes.setsnapvalue(1,\number\openstrutheight,\number\openstrutdepth)}}
-%
-% \def\doenablegridsnapping
-% {\attribute\snapcategoryattribute\plusone
-% \topskip\strutht
-% \offinterlineskip}
-%
-% \def\dodisablegridsnapping
-% {\attribute\snapcategoryattribute\attributeunsetvalue
-% % reset topskip
-% \oninterlineskip}
-
% experimental code, not yet interfaced:
% category:
@@ -1776,8 +1763,8 @@
\fi\fi}
\def\dovspacingyes[#1]%
- %{\ifmmode\else\ctxlua{builders.vspacing.analyse("\iffirstargument#1\else\s!default\fi")}\fi}
- {\ifmmode\else\ctxlua{builders.vspacing.analyse("\iffirstargument#1\else\currentvspacing\fi")}\fi}
+ %{\ifmmode\else\ctxlua{builders.vspacing.analyze("\iffirstargument#1\else\s!default\fi")}\fi}
+ {\ifmmode\else\ctxlua{builders.vspacing.analyze("\iffirstargument#1\else\currentvspacing\fi")}\fi}
\def\dovspacingnop[#1]%
{\ifmmode\else\par\fi}