[NTG-context] strange stretching with \blank[...]

Taco Hoekwater taco at elvenkind.com
Sun Jan 15 15:53:57 CET 2006


Hi,

Peter Münster wrote:
> But \blank[big,big] is working right.
> 
> It seems, that we should replace all "2*big" by "big,big" in core-sec.tex

I regard this a bug in the definition of 2*big. I'm not sure
how many old documents will break if it is fixed, though. The
correct definition is:

  \defineblankmethod
      [2*big]
      {\addblankskip+{\bigskipamount}{\openlineheight}%
       \addblankskip+{\bigskipamount}{\openlineheight}}

The current definition is:

  \defineblankmethod
      [2*big]
      {\addblankskip+{2\bigskipamount}{2\openlineheight}}%

but that does not copy the stretch and shrink parts.

TeX is a bit stupid come to skip assignments, after

   \skip0=5pt plus 10pt minus 10pt
   \skip1=2\skip0

\skip0 will be *exactly* 10pt, without any glue components.

Cheers, Taco


More information about the ntg-context mailing list