1%D \module 2%D [ file=spac-brk, 3%D version=2023.05.23, 4%D title=\CONTEXT\ Spacing Macros, 5%D subtitle=Breaking lines, 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\ifdefined\tracinglousiness \endinput \fi 15 16\writestatus{loading}{ConTeXt Spacing Macros / Breakpoints} 17 18\newcount\tracinglousiness 19 20\registerctxluafile{spac-brk}{} 21 22\unprotect 23 24%D This is a very experimental feature and a by product of improving inline math 25%D crossing lines. As it might evolve: use with care. 26 27\fetchmodulecommand \startshowbreakpoints {trac-brk} % {s-lines-show.mkxl} 28%fetchmodulecommand \stopshowbreakpoints {trac-brk} % {s-lines-show.mkxl} % start needed anyway 29%fetchmodulecommand \showbreakpoints {trac-brk} % {s-lines-show.mkxl} % idem, loops otherwise 30 31% \starttext 32% \setupalign[verytolerant] 33% \tracinglousiness1 34% % \tracinglousiness2 35% \hsize8cm \lousiness 0 \samplefile{ward} \blank 36% {\tt \the\lousiness} \blank 37% \hsize8cm \lousiness 1 11 0 \samplefile{ward} \blank 38% \hsize8cm \silliness 11 \samplefile{ward} \blank 39% \stoptext 40 41%D These macros are defined a the \LUA\ end. 42 43\protect \endinput 44 |