spac-def.mkiv / last modification: 2020-01-30 14:16
%D \module
%D   [       file=spac-def,
%D        version=2009.10.16, % 1997.03.31, was core-spa.tex
%D          title=\CONTEXT\ Spacing Macros,
%D       subtitle=Definitions,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\writestatus{loading}{ConTeXt Spacing Macros / Definitions}

% Ideally these definitions should be moved to where they first appear and
% this will happen at some point.


% maybe \everysynchronizeglobalspacing
% maybe \everysynchronizelocalspacing

    \setnormalbaselines         % check if redundant (\forgetverticalstretch does it too)
    \setstrut                   % check if redundant (\forgetverticalstretch does it too)
    \settopskip                 % factors set in \forgetverticalstretch
    \setmaxdepth                % factors set in \forgetverticalstretch
    \synchronizespacecodes      % not needed, frozen factors
\to \everybodyfont

% why exception

    \updateraggedskips          % under test
\to \everyfontswitch

% maybe more

\to \everybeforepagebody % see \fillinline (was endgraf)

% needs checking:

\to \everydefinedfont    % not needed, frozen factors

  [\c!minheight=\zeropoint, % only special purpose
   \c!mindepth=\zeropoint, % only special purpose
   \c!distance=\onepoint, % \dimexpr\openlineheight/10\relax








\protect \endinput