[NTG-context] \setupmarginrules

Taco Hoekwater taco at elvenkind.com
Tue Mar 28 17:05:53 CEST 2006

Hi Willi (and Vit),

Willi Egger wrote:
> Hi Vit!
> Thanks for this patch. Do you know why the rulethickness must be given 
> in integer dimension. e.g. 2.5pt will cause an error, telling that a 
> wrong dimension is used.

(I'll pretend to be Vit)

That is because in that case, it expands to  \hskip -.52.5pt

Try this:

        \dimen4=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ
        \hskip-.5\dimen4 % TH
        \vrule\!!width\dimen4 % TH
        \hskip-.5\dimen4 % TH

Cheers, Taco

More information about the ntg-context mailing list