Hi Steffen, Steffen Wolfrum schrieb: > Since context version: 2008.01.28 up to now there is an error when > running the file attached below: > > ! Undefined control sequence. > \dodosetupwhitespace ...g \witruimteflexibelfalse > \ctxparskip 1 > \ctxparskip \... > l.31 \setupwhitespace[halfline] > > ? > Process aborted > > > (In context version: 2008.01.03 it still works.) > > > Steffen > > > > \chardef\baselinegridmode=1 % not the default ! > The same macro can be found in core-spa.tex, so your version of \dodosetupwhitespace is obsolete now. I haven't compared it to the last bit, but it should be the same. Time for you to clean up your sources too ;)
Best Wishes, Peter > \def\dodosetupwhitespace % can go in core (or cont-new) > {\ifgridsnapping > \witruimteflexibelfalse > \ctxparskip1\ctxparskip > \ifdim\ctxparskip>\zeropoint > \ifcase\baselinegridmode > \ctxparskip\baselineskip % normal ! ! ! ! !! > \or > \ifdim\scratchdimen=\baselineskip % maybe range > \ctxparskip\baselineskip % normal ! ! ! ! !! > \else > \ctxparskip\numexpr > \ctxparskip/\dimexpr.5\lineheight\relax\relax\dimexpr.5\lineheight\relax > \fi > \else > \ctxparskip\baselineskip % normal ! ! ! ! !! > \fi > \fi > \else > \ifwitruimteflexibel \else \ctxparskip1\ctxparskip \fi > \fi > \parskip\ctxparskip} > > \starttext > > \setuplayout[grid=yes] \showstruts \showgrid \showgridboxes > > \setupwhitespace[halfline] > > \setuphead[section][grid=fit] > > \section{Heading One} > > \input tufte > > \input knuth > > \stoptext > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________