Hi, Blanks with glue do not work with MkIV. For example, \defineblank[test][3pt plus 1pt minus 1pt] \starttext some text \blank[test] some text \stoptext gives ! Missing number, treated as zero. <to be read again> p <argument> p lus \addaskedblankskip ...nce \blankskip #1\dimexpr #2 \relax l.11 } \dovspacingyes ...ument #1\else \s!default \fi ")} \fi l.5 \blank[test] Aditya
Am 08.02.10 02:10, schrieb Aditya Mahajan:
Hi,
Blanks with glue do not work with MkIV.
The old commands to define own blank values do not work in MkIV, the old MkII commands are mapped to the new ones but MkII and MkIV expect different settings for them. The old \defineblank command is replaced by \definevspacing which allows only keywords (penalty, category and order) with a value (e.g. \definevspacing[\v!samepage][penalty:10000]), you can also define synonyms (\definevspacing[\s!default][\v!white]). The \defineblankmethod command is replaced by \definevspacingamount but both use a different syntax, while the old one expected the value in curly braces the new command wants them in brackets. This is also the command you can use because ot allows TeX skip values but it expects two, one for grid typesetting and another one for non grid text, e.g. \definevspacingmethod[test][3pt plus 1pt minus 1pt][3pt plus 1pt minus 1pt] Wolfgang
participants (2)
-
Aditya Mahajan
-
Wolfgang Schuster