[dev-context] \comparedimension

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Mar 21 11:10:28 CET 2010


Hi,

one of the \ifdim’s should be \ifdim#1=#2

syst-aux.mkiv|syst-ext.mkii

\def\comparedimension#1#2%
{\chardef\compresult
\ifdim#1<#2%
\zerocount
\else\ifdim#1<#2%
\plusone
\else
\plustwo
\fi\fi}

Wolfgang



More information about the dev-context mailing list