Am 25.03.2009 um 18:54 schrieb Vyatcheslav Yatskovsky:

I'm using latest beta, mkiv.

\setupinterlinespace[medium] fails, but \setupinterlinespace[1.25] works. Bug?

Yes, hans optimized \assignvalue is not expandable but the old version works.

\let\nopv!none     \v!none
\let\posv!big      \v!big
\let\posv!middle   \v!medium
\let\posv!small    \v!small
\edef\negv!big   {-\v!big}
\edef\negv!middle{-\v!medium}
\edef\negv!small {-\v!small}

\def\assignvalue#1#2#3#4#5%
  {\edef\!!stringa{#1}%
   \edef#2{\ifx\!!stringa\posv!big   #5\else
           \ifx\!!stringa\posv!middle#4\else
           \ifx\!!stringa\posv!small #3\else
                                     #1\fi\fi\fi}}

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to