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. > > Willi
Due to my fault. Sorry. This is a little bit better solution: ----------------------------------------------- \defineparagraphs [poem][n=2,distance=20pt] \setupparagraphs [poem][1][width=.25\textwidth] \setupparagraphs [poem][2][rule=on,rulethickness=5.5pt] \unprotected \def\doalinealijn#1#2% {\doifelsevalue{\??al#2\the\alteller\c!rule}\v!on {\dimen2=#1\relax \dimen3=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ \hskip.5\dimen2 % \hskip-\linewidth \hskip-.5\dimen3 % VZ % \vrule\!!width\linewidth \vrule\!!width\dimen3 % VZ \hskip-.5\dimen3 % VZ \hskip.5\dimen2} {\hskip#1}} \starttext \startpoem \input knuth \nextpoem \input knuth \stoppoem \stoptext ---------------------------------------------------- Vit > Vit Zyka wrote: > > >>frantisek holop wrote: >> >> >> >>>hmm, on Sun, Mar 26, 2006 at 10:12:01PM +0200, Vit Zyka said that >>> >>> >>> >>> >>>>>\defineparagraphs [poem][n=2] >>>>>\setupparagraphs [poem][1][width=.25\textwidth] >>>>>\setupparagraphs [poem][2][rule=on] >>>>> >>>>>\setupmarginrules [rulethickness=5pt] >>>>> >>>>> >>>> >>>>this sets rules for margins. I guess the solution >>>> >>>>\setupparagraphs [poem][2][rule=on,rulethickness=5pt] >>>> >>>> >>> >>>sorry, i forgot to add, that i tried this one also :) >>>seemed logical, but the result is the same. >>> >>>-f _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context