* medium constant is missed
[not found] <mailman.12.1238000200.26151.ntg-context@ntg.nl>
@ 2009-03-25 17:54 ` Vyatcheslav Yatskovsky
2009-03-25 18:12 ` Wolfgang Schuster
2009-03-27 1:36 ` Wolfgang Schuster
0 siblings, 2 replies; 4+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-03-25 17:54 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: medium constant is missed
2009-03-25 17:54 ` medium constant is missed Vyatcheslav Yatskovsky
@ 2009-03-25 18:12 ` Wolfgang Schuster
2009-03-25 18:51 ` Wolfgang Schuster
2009-03-27 1:36 ` Wolfgang Schuster
1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2009-03-25 18:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: medium constant is missed
2009-03-25 18:12 ` Wolfgang Schuster
@ 2009-03-25 18:51 ` Wolfgang Schuster
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2009-03-25 18:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: medium constant is missed
2009-03-25 17:54 ` medium constant is missed Vyatcheslav Yatskovsky
2009-03-25 18:12 ` Wolfgang Schuster
@ 2009-03-27 1:36 ` Wolfgang Schuster
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2009-03-27 1:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-03-27 1:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.12.1238000200.26151.ntg-context@ntg.nl>
2009-03-25 17:54 ` medium constant is missed Vyatcheslav Yatskovsky
2009-03-25 18:12 ` Wolfgang Schuster
2009-03-25 18:51 ` Wolfgang Schuster
2009-03-27 1:36 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).