15 Oct
2009
15 Oct
'09
1:50 p.m.
luigi scarso schrieb:
In this example interlines spaces look a bit strange to me \starttext \input knuth \begingroup \tfx\setupinterlinespace[reset] \starttyping function newCounter() local i = 0 return function() i = i+1 return i end end c1 = newCounter() print(c1()) --> 1 print(c1()) --> 2 c2 = newCounter() print(c2()) --> 1 print(c1()) --> 3 print(c2()) --> 2 \stoptyping \endgroup
\input tufte \stoptext
Can someone confirm this ?
yep! the third paragraph has wrong interlinespace here. but if you add a \par or an emtpy line after '\input knuth' things look ok here. bug or feature ;) best wishes, peter