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
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
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
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
participants (2)
-
Vyatcheslav Yatskovsky
-
Wolfgang Schuster