Hi Taco (the pretended Vit) and Vit,
I had to look tiwce, but then I had to smile!
Willil
Taco Hoekwater wrote:
Vit Zyka wrote:
\dimen3=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ
Taco Hoekwater wrote:
frantisek holop wrote:
hmm, on Tue, Mar 28, 2006 at 07:12:18PM +0200, Hans Hagen said that
\def\doalinealijn#1#2%
{\doifelsevalue{\??al#2\the\alteller\c!rule}\v!on
{\linewidth\getvalue{\??al#2\the\alteller\c!rulethickness}%
\scratchdimen#1%
\advance\scratchdimen-\linewidth
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
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
[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
Vit Zyka wrote:
\dimen3=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ
Taco Hoekwater wrote:
\dimen4=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ
That's funny ;)
Cheers, Taco
___
ntg-context mailing list
Vit Zyka wrote:
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:
Taco Hoekwater wrote:
Vit Zyka wrote:
\dimen3=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ
Taco Hoekwater wrote:
\dimen4=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ
That's funny ;)
Cheers, Taco
Yes funny. Even line position is the same. But why 4?
Vit Zyka wrote:
Taco Hoekwater wrote:
Vit Zyka wrote:
\dimen3=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ
Taco Hoekwater wrote:
\dimen4=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ
That's funny ;)
Cheers, Taco
Yes funny.
hmm, on Tue, Mar 28, 2006 at 07:12:18PM +0200, Hans Hagen said that
\def\doalinealijn#1#2%
{\doifelsevalue{\??al#2\the\alteller\c!rule}\v!on
{\linewidth\getvalue{\??al#2\the\alteller\c!rulethickness}%
\scratchdimen#1%
\advance\scratchdimen-\linewidth
\divide\scratchdimen
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
hmm, on Fri, Mar 17, 2006 at 07:49:57PM +0100, Willi Egger said that
Hi Frantisek
The correct command is \setupmarginrules[rulethickness=2pt]. The option
is rulethickness and it takes a dimension.
i have tried this and it doesn't seem to work.
\defineparagraphs [poem][n=2
frantisek holop wrote:
hmm, on Fri, Mar 17, 2006 at 07:49:57PM +0100, Willi Egger said that
Hi Frantisek
The correct command is \setupmarginrules[rulethickness=2pt]. The option
is rulethickness and it takes a dimension.
i have tried this and it doesn't seem to work.
\defineparagraphs
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
14 matches
Mail list logo