Re: [NTG-context] medium constant is missed

2009-03-26 Thread Wolfgang Schuster


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
___


[NTG-context] medium constant is missed

2009-03-25 Thread Vyatcheslav Yatskovsky

I'm using latest beta, mkiv.

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



! Missing number, treated as zero.
to be read again
m
\currentrelativeinterlinespace -m
edium
\spacing ...kipfactor {\withoutpt \the \dimexpr #1
\dimexpr \topskipfactor \p...
\p!compareprocessactionD ...ommalistelement {#3}#2
\fi \fi
\next2 #1,-\p!dodoprocessaction {#1}
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
]\relax \global \advance \...
...
l.10 \setupinterlinespace[medium]


Best,
Vyatcheslav
___
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
___


Re: [NTG-context] medium constant is missed

2009-03-25 Thread Wolfgang Schuster


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, typo in one of Hans new optomized mkiv code, change this in syst- 
aux.tex


\long\def\doifassignmentelse#1%
  {\expandafter\docheckifassignmentelse\detokenize{#1}=@@\...@end@
 \expandafter\firstoftwoarguments
   \else
 \expandafter\secondoftwoarguments
   \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
___


Re: [NTG-context] medium constant is missed

2009-03-25 Thread Wolfgang Schuster


Am 25.03.2009 um 19:12 schrieb Wolfgang Schuster:


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, typo in one of Hans new optomized mkiv code, change this in  
syst-aux.tex


\long\def\doifassignmentelse#1%


Sorry, but this is the wrong macro, wait for Hans.

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
___