1%D \module 2%D [ file=m-compatibility, 3%D version=2018.02.21, 4%D title=\CONTEXT\ System Macros, 5%D subtitle=ConTeXt Compatibility Layer, 6%D author=Hans Hagen, 7%D date=\currentdate, 8%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] 9%C 10%C This module is part of the \CONTEXT\ macro||package and is 11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for 12%C details. 13 14\ifcase\contextlmtxmode\else\endinput\fi 15 16%D I fear that I will not keep up in this file so feel free to contribute to the 17%D following. The idea is nto to load this file but more to have some insight in 18%D how to control compatibility (to some extent). 19 20\writestatus{loading}{ConTeXt Compatibility Layer} 21 22%D The side float mechanism has been redone and is not space compatible. Hopefully 23%D it will become stable soon and after that we will not touch it unless we have a 24%D real bug. There might be more control options. The problem is that there are too 25%D many combinations of content before and after a side float possible. 26 27\ifnum\contextversionno<20180101\relax 28 % nothing here 29\fi 30 31%D Picking up the right last line depth is sort of tricky when we cross a page and 32%D have some left|-|over material. The sychronizer is normally not needed but for 33%D now turned on by default. 34 35\ifnum\contextversionno<20180221\relax 36 \disabledirectives[vspacing.synchronizepage] 37\fi 38 39%D Some day we might default to the following which is a bit more conistent but 40%D not compatible. 41 42% \setdisplaymathspacemodel[4] 43% 44% \ifnum\contextversionno<20180221\relax 45% \setdisplaymathspacemodel[3] 46% \fi 47 48%D Currently this is in \type {cont-loc.mkiv} but some day we might do: 49 50% \definemixedcolumns 51% [\v!columns] 52% % compatible with columns default : 53% [\c!balance=\v!yes, 54% \c!blank={\v!line,\v!fixed}] 55% 56% \unexpanded\def\setupcolumns 57% {\setupmixedcolumns[\v!columns]} 58 59%D as well as: 60 61% \input page-cst.mkiv 62 63\endinput 64 |