[NTG-context] My example, with \blackrule, works perfect

2023-09-13 Thread Ursula Hermann
Dear List,
I just finished my example, did some changes today and it works perfect
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
 leftmargindistance=0.2cm,
 backspace=2.9cm,
 width=4cm]
\margintext{\blackrule[color=black, height=0.05ex, 
width=1cm]\\}\blackrule[color=black, height=0.05ex, width=4cm]
\starttext
\margintext{2.1.1}\
{Ach ist das schön, dass du da bist.}
\stoptext

Uschi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

Re: [NTG-context] About \blackrule

2023-04-20 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang,
Thanks a lot.
Fabrice

Le mer. 19 avr. 2023 à 15:05, Wolfgang Schuster via ntg-context <
ntg-context@ntg.nl> a écrit :

> Fabrice Couvreur via ntg-context schrieb am 19.04.2023 um 17:01:
>
> Hi,
> The idea is to have a black square whose height is that of the number 3.
> Thanks
> Fabrice
>
> \setupbodyfont[12pt,pagella]
> \starttext
>  \blackrule[width=0.71em,height=0.71em]37254H
>
>
> \blackrule[width=\wdofstring{3},height=\htofstring{3},depth=\dpofstring{3}]
>
> Wolfgang
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] About \blackrule

2023-04-19 Thread Wolfgang Schuster via ntg-context

Fabrice Couvreur via ntg-context schrieb am 19.04.2023 um 17:01:

Hi,
The idea is to have a black square whose height is that of the number 3.
Thanks
Fabrice

\setupbodyfont[12pt,pagella]
\starttext
 \blackrule[width=0.71em,height=0.71em]37254H


\blackrule[width=\wdofstring{3},height=\htofstring{3},depth=\dpofstring{3}]

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] About \blackrule

2023-04-19 Thread Fabrice Couvreur via ntg-context
Hi,
The idea is to have a black square whose height is that of the number 3.
Thanks
Fabrice

\setupbodyfont[12pt,pagella]
\starttext
 \blackrule[width=0.71em,height=0.71em]37254H
\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
Sorry, I didn't send the correct example…

\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
 leftmargindistance=0.2cm,
 backspace=2.9cm,
 width=4cm]
\showframe
\starttext
\margintext{\hairline}\dontleavehmode\hairline

\startformula
\margintext{Me}
a^n + b^n = c^n.
\stopformula
\stoptext

> On 23 Feb 2021, at 11:28, Ursula Hermann  wrote:
> 
> Dear Pablo!
> 
> I have done some changes. How can I get both hairlines in the same height: 
> 
> \setuppapersize[A8,landscape]
> \setuplayout[leftmargin=2.5cm,
>  leftmargindistance=0.2cm,
>  backspace=2.9cm,
>  width=4cm]
> \showframe
> \starttext
> \margintext{\hairline\\{Me}}
> \hairline
> \startformula
> a^n + b^n = c^n.
> \stopformula
> \stoptext
> 
> Thank you
> Uschi 
> 
> 
> 
> Von: ntg-context  im Auftrag von Pablo Rodriguez 
> 
> Gesendet: Freitag, 19. Februar 2021 16:41
> An: ntg-context@ntg.nl
> Betreff: Re: [NTG-context] \blackrule and margin
>  
> On 2/19/21 4:02 PM, Ursula Hermann wrote:
> > Dear List, 
> > i have the little following example: 
> >
> > \setuppapersize[A8,landscape]
> > \setuplayout[leftmargin=2.5cm,
> >  leftmargindistance=0.2cm,
> >  backspace=2.9cm,
> >  width=4cm]
> > \showframe
> > \starttext
> > \blackrule
> > \margintext{Me}
> > \blackrule[color=black, height=0.5ex, width=1cm]
> > \stoptext
> > \startformula
> > a^n + b^n = c^n.
> > \stopformula
> > \stoptext 
> > What i want is a\blackrule over the margintext, but i do not get what I
> > wantend. 
> 
> Hi Uschi,
> 
> I don’t know whether this is similar to whay you might intend:
> 
> \setuppapersize[A8,landscape]
> \setuplayout[leftmargin=2.5cm,
>  leftmargindistance=0.2cm,
>  backspace=2.9cm,
>  width=4cm]
> \showframe
> \starttext
> \blackrule
> \margintext{\blackrule[color=black, height=0.5ex, width=1cm]\\Me}
> \startformula
> a^n + b^n = c^n.
> \stopformula
> \stoptext
> 
> BTW, it isn’t also clear to me whether the formula is part of your
> document or not.
> 
> Just in case it helps,
> 
> Pablo
> --
> http://www.ousia.tk
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
Hi Uschi,

You may add \dontleavehmode at the right place as in the following:

\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
 leftmargindistance=0.2cm,
 backspace=2.9cm,
 width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext

Best regards: Otared

> On 23 Feb 2021, at 11:28, Ursula Hermann  wrote:
> 
> Dear Pablo!
> 
> I have done some changes. How can I get both hairlines in the same height: 
> 
> \setuppapersize[A8,landscape]
> \setuplayout[leftmargin=2.5cm,
>  leftmargindistance=0.2cm,
>  backspace=2.9cm,
>  width=4cm]
> \showframe
> \starttext
> \margintext{\hairline\\{Me}}
> \hairline
> \startformula
> a^n + b^n = c^n.
> \stopformula
> \stoptext
> 
> Thank you
> Uschi 
> 
> 
> 
> Von: ntg-context  im Auftrag von Pablo Rodriguez 
> 
> Gesendet: Freitag, 19. Februar 2021 16:41
> An: ntg-context@ntg.nl
> Betreff: Re: [NTG-context] \blackrule and margin
>  
> On 2/19/21 4:02 PM, Ursula Hermann wrote:
> > Dear List, 
> > i have the little following example: 
> >
> > \setuppapersize[A8,landscape]
> > \setuplayout[leftmargin=2.5cm,
> >  leftmargindistance=0.2cm,
> >  backspace=2.9cm,
> >  width=4cm]
> > \showframe
> > \starttext
> > \blackrule
> > \margintext{Me}
> > \blackrule[color=black, height=0.5ex, width=1cm]
> > \stoptext
> > \startformula
> > a^n + b^n = c^n.
> > \stopformula
> > \stoptext 
> > What i want is a\blackrule over the margintext, but i do not get what I
> > wantend. 
> 
> Hi Uschi,
> 
> I don’t know whether this is similar to whay you might intend:
> 
> \setuppapersize[A8,landscape]
> \setuplayout[leftmargin=2.5cm,
>  leftmargindistance=0.2cm,
>  backspace=2.9cm,
>  width=4cm]
> \showframe
> \starttext
> \blackrule
> \margintext{\blackrule[color=black, height=0.5ex, width=1cm]\\Me}
> \startformula
> a^n + b^n = c^n.
> \stopformula
> \stoptext
> 
> BTW, it isn’t also clear to me whether the formula is part of your
> document or not.
> 
> Just in case it helps,
> 
> Pablo
> --
> http://www.ousia.tk
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Ursula Hermann
Dear Pablo!


I have done some changes. How can I get both hairlines in the same height:


\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
 leftmargindistance=0.2cm,
 backspace=2.9cm,
 width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}
\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext


Thank you

Uschi




Von: ntg-context  im Auftrag von Pablo Rodriguez 

Gesendet: Freitag, 19. Februar 2021 16:41
An: ntg-context@ntg.nl
Betreff: Re: [NTG-context] \blackrule and margin

On 2/19/21 4:02 PM, Ursula Hermann wrote:
> Dear List,
> i have the little following example:
>
> \setuppapersize[A8,landscape]
> \setuplayout[leftmargin=2.5cm,
>  leftmargindistance=0.2cm,
>  backspace=2.9cm,
>  width=4cm]
> \showframe
> \starttext
> \blackrule
> \margintext{Me}
> \blackrule[color=black, height=0.5ex, width=1cm]
> \stoptext
> \startformula
> a^n + b^n = c^n.
> \stopformula
> \stoptext
> What i want is a\blackrule over the margintext, but i do not get what I
> wantend.

Hi Uschi,

I don’t know whether this is similar to whay you might intend:

\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
 leftmargindistance=0.2cm,
 backspace=2.9cm,
     width=4cm]
\showframe
\starttext
\blackrule
\margintext{\blackrule[color=black, height=0.5ex, width=1cm]\\Me}
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext

BTW, it isn’t also clear to me whether the formula is part of your
document or not.

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \blackrule and margin

2021-02-22 Thread Ursula Hermann
Dear Pablo!


Thank you so much for helping me. It is perfect. The formular is also a part of 
my documet.


Uschi





Von: ntg-context  im Auftrag von Pablo Rodriguez 

Gesendet: Freitag, 19. Februar 2021 16:41
An: ntg-context@ntg.nl
Betreff: Re: [NTG-context] \blackrule and margin

On 2/19/21 4:02 PM, Ursula Hermann wrote:
> Dear List,
> i have the little following example:
>
> \setuppapersize[A8,landscape]
> \setuplayout[leftmargin=2.5cm,
>  leftmargindistance=0.2cm,
>  backspace=2.9cm,
>  width=4cm]
> \showframe
> \starttext
> \blackrule
> \margintext{Me}
> \blackrule[color=black, height=0.5ex, width=1cm]
> \stoptext
> \startformula
> a^n + b^n = c^n.
> \stopformula
> \stoptext
> What i want is a\blackrule over the margintext, but i do not get what I
> wantend.

Hi Uschi,

I don’t know whether this is similar to whay you might intend:

\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
 leftmargindistance=0.2cm,
 backspace=2.9cm,
     width=4cm]
\showframe
\starttext
\blackrule
\margintext{\blackrule[color=black, height=0.5ex, width=1cm]\\Me}
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext

BTW, it isn’t also clear to me whether the formula is part of your
document or not.

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Hans Hagen

On 2/19/2021 4:02 PM, Ursula Hermann wrote:

Dear List,
i have the little following example:

\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
              leftmargindistance=0.2cm,
              backspace=2.9cm,
              width=4cm]
\showframe
\starttext
\blackrule
\margintext{Me}
\blackrule[color=black, height=0.5ex, width=1cm]
\stoptext
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
What i want is a\blackrule over the margintext, but i do not get what I 
wantend.

\definemargindata  [MyInMargin][inleft]
\definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=fit]

\starttext
\inmargin[][topframe=on,bottomframe=on,rulethickness=1pt,width=fit]{Me}
\startformula
a^n + b^n = c^n.
\stopformula
\blank[3*big]
\MyInMargin{You}
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Pablo Rodriguez
On 2/19/21 4:02 PM, Ursula Hermann wrote:
> Dear List, 
> i have the little following example: 
>
> \setuppapersize[A8,landscape]
> \setuplayout[leftmargin=2.5cm,
>              leftmargindistance=0.2cm,
>              backspace=2.9cm,
>              width=4cm]
> \showframe
> \starttext
> \blackrule
> \margintext{Me}
> \blackrule[color=black, height=0.5ex, width=1cm]
> \stoptext
> \startformula
> a^n + b^n = c^n.
> \stopformula
> \stoptext 
> What i want is a\blackrule over the margintext, but i do not get what I
> wantend. 

Hi Uschi,

I don’t know whether this is similar to whay you might intend:

\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
 leftmargindistance=0.2cm,
 backspace=2.9cm,
     width=4cm]
\showframe
\starttext
\blackrule
\margintext{\blackrule[color=black, height=0.5ex, width=1cm]\\Me}
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext

BTW, it isn’t also clear to me whether the formula is part of your
document or not.

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] \blackrule and margin

2021-02-19 Thread Ursula Hermann
Dear List,
i have the little following example:

\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
 leftmargindistance=0.2cm,
 backspace=2.9cm,
 width=4cm]
\showframe
\starttext
\blackrule
\margintext{Me}
\blackrule[color=black, height=0.5ex, width=1cm]
\stoptext
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
What i want is a\blackrule over the margintext, but i do not get what I wantend.

Uschi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] [preventing blackrule tp break line]

2020-03-06 Thread Hans Hagen

On 3/6/2020 12:07 PM, Floris van Manen wrote:

Using lmtx, while trying to get multiple pieces of black rule on one
line, for some reason the line breaks after the first item, to continue
on the second line with the remainder.


\starttext


\dontleavehmode

\blackrule[width=15mm,height=1mm,depth=0mm,color=yellow]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=red]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=green]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=blue]\quad


\dontleavehmode

\blackrule[width=15mm,height=1mm,depth=0mm,color=yellow]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=red]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=green]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=blue]\quad
\stoptext


What is the proper way to do it?

force horizontal mode with

\dontleavehmode

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] [preventing blackrule tp break line]

2020-03-06 Thread Floris van Manen
Using lmtx, while trying to get multiple pieces of black rule on one
line, for some reason the line breaks after the first item, to continue
on the second line with the remainder.


\starttext
\blackrule[width=15mm,height=1mm,depth=0mm,color=yellow]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=red]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=green]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=blue]\quad

\blackrule[width=15mm,height=1mm,depth=0mm,color=yellow]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=red]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=green]\quad%
\blackrule[width=15mm,height=1mm,depth=0mm,color=blue]\quad
\stoptext


What is the proper way to do it?
.F


pEpkey.asc
Description: application/pgp-keys
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] difference between a and b alternatives in \blackrule

2010-04-11 Thread Vyatcheslav Yatskovsky

Hello,

What is the difference between a and b alternatives in \blackrule?

http://wiki.contextgarden.net/Reference/en/setupblackrules#Description

Regards,
Vyatcheslav
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] difference between a and b alternatives in \blackrule

2010-04-11 Thread Wolfgang Schuster

Am 12.04.10 00:07, schrieb Vyatcheslav Yatskovsky:

Hello,

What is the difference between a and b alternatives in \blackrule?

http://wiki.contextgarden.net/Reference/en/setupblackrules#Description

Can you see it?

\setupblackrules[width=2cm]
\starttext
text \blackrules[alternative=a] tex\par
text \blackrules[alternative=b] text
\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] error with footnotes blackrule

2010-02-21 Thread Steffen Wolfrum
Hi,

todays minimal gives an error:

Runaway argument?
\letvalue {\??vn \c!rule :c:\currentnote }\normalnoterule , \v!normal \ETC.
! File ended while scanning use of \p!compareprocessactionD.
inserted text 
\par 
* ./notetext.tex
  
? 



The cause is \blank[2mm] in this example:

\def\MyRule{\blackrule[width=18mm,height=0.4pt]\blank[2mm]}

\setupfootnotes
 [rule=\MyRule]
  
This harmless vertical space did it up to now.


What's the phrase that should be chosen instead?

Steffen
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] error with footnotes blackrule

2010-02-21 Thread Wolfgang Schuster

Am 21.02.10 13:16, schrieb Steffen Wolfrum:

Hi,

todays minimal gives an error:

Runaway argument?
\letvalue {\??vn \c!rule :c:\currentnote }\normalnoterule , \v!normal \ETC.
! File ended while scanning use of \p!compareprocessactionD.
inserted text
 \par
*  ./notetext.tex

?



The cause is \blank[2mm] in this example:

\def\MyRule{\blackrule[width=18mm,height=0.4pt]\blank[2mm]}

\setupfootnotes
  [rule=\MyRule]

This harmless vertical space did it up to now.
   

\def\MyRule{{...}}

or

\unexpanded\def\MyRule{...}?

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] error with footnotes blackrule

2010-02-21 Thread Hans Hagen

On 21-2-2010 13:16, Steffen Wolfrum wrote:

\def\MyRule{\blackrule[width=18mm,height=0.4pt]\blank[2mm]}


\unexpanded\def


\setupfootnotes
  [rule=\MyRule]

This harmless vertical space did it up to now.


this is because we now can say

rule={on,r2l}

which idris needed desparately


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] space between last bodytext line and blackrule

2007-11-14 Thread Steffen Wolfrum
Hi,

in a layout with footnotes at the bottom of the page it happens  
sometime that the last bodytext line is moved to a new page although  
it *looks* as there would be enough space between the last bodytext  
line and the footnote's blackrule.
When printing the page and using the ruler you may find out that only  
0.5mm is missing ...

I know that there is a way to control the space between the blackrule  
and the first footnote's line:
\def\MyRule
{\blackrule[width=3cm,height=1mm]
 \vskip.5cm}% here this space is 0.5cm

But how do I control the space between the *last bodytext line* and  
the blackrule??

Steffen

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] space between last bodytext line and blackrule

2007-11-14 Thread Wolfgang Schuster
2007/11/14, Steffen Wolfrum [EMAIL PROTECTED]:
 Hi,

 in a layout with footnotes at the bottom of the page it happens
 sometime that the last bodytext line is moved to a new page although
 it *looks* as there would be enough space between the last bodytext
 line and the footnote's blackrule.
 When printing the page and using the ruler you may find out that only
 0.5mm is missing ...

 I know that there is a way to control the space between the blackrule
 and the first footnote's line:
 \def\MyRule
 {\blackrule[width=3cm,height=1mm]
  \vskip.5cm}% here this space is 0.5cm

This is a valid hack but not a perfect solution, a parameter called inbetween
for \setupnote would be the perfect option to control this.

 But how do I control the space between the *last bodytext line* and
 the blackrule??

You can change the space before the footnotes with
\setupnote[footnote][before=...]
or its short form \setupfootnotes[before=...]. A empty value for
before removes all
whitespace between the text and the footnote but a small space between both
lcks a little bit better to me.

The answer to this question was look into the source, core-not.tex
is your friend.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] blackrule

2006-09-24 Thread batela
Dear Sirs,

I want to prepare a forma for handwriting filling. With this propose e use \blackrule  command for trace some lines inside paragraphs. For example, 

I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... 

In the pdf document appears: I, !max___ , promise maintain a good... 

Are there a good reason for that?

Thanks

Jorge___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] blackrule

2006-09-24 Thread Peter Rolf
Hi Jorge,

batela wrote:
 Dear Sirs,
 
 I want to prepare a forma for handwriting filling. With this propose e
 use \blackrule command for trace some lines inside paragraphs. For example,
 
 I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good...
 
 In the pdf document appears: I, *!max*___ , promise
 maintain a good...
 
 Are there a good reason for that?


Which beta version do you use (texexec --version)? If it's not the
latest one (17.09.) simply update to that version. This bug (typo) was
fixed some beta versions ago.

Greetings, Peter

 Thanks
 
 Jorge
 
 
 
 
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] blackrule

2006-09-24 Thread Hans Hagen
Peter Rolf wrote:
 Hi Jorge,

 batela wrote:
   
 Dear Sirs,

 I want to prepare a forma for handwriting filling. With this propose e
 use \blackrule command for trace some lines inside paragraphs. For example,

 I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good...

 In the pdf document appears: I, *!max*___ , promise
 maintain a good...

 Are there a good reason for that?

 

 Which beta version do you use (texexec --version)? If it's not the
 latest one (17.09.) simply update to that version. This bug (typo) was
 fixed some beta versions ago.

   
normally this !xxx kind of errors point to a missing \protect

Hans


-- 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] blackrule

2006-09-24 Thread Peter Rolf
Hans Hagen wrote:
 Peter Rolf wrote:
 Hi Jorge,

 batela wrote:
   
 Dear Sirs,

 I want to prepare a forma for handwriting filling. With this propose e
 use \blackrule command for trace some lines inside paragraphs. For example,

 I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good...

 In the pdf document appears: I, *!max*___ , promise
 maintain a good...

 Are there a good reason for that?

 
 Which beta version do you use (texexec --version)? If it's not the
 latest one (17.09.) simply update to that version. This bug (typo) was
 fixed some beta versions ago.

   
 normally this !xxx kind of errors point to a missing \protect

But in this case I had the same error in a prior beta. And if I remember
it right, \blackrule works in the current stable version (and older ones).

This is from a mail I sent you on 31.08.

[..]

\def\doblackrule[#1]%
  {\hbox\bgroup
   \getparameters[\??bj][#1]%
   \setstrut
   \doif\@@bjwidth\ v!max{\def\@@bjwidth {1em}}%
  
I had the text !max in one of my gfx  :)

[..]

The typo was corrected in the following beta version. This is the reason
why I think Jorge uses an older beta.

Peter

 Hans
 
 

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] blackrule

2006-09-24 Thread batela
Dear Sirs,

I had updated my context version and now all works fine.

Thanks to all

Jorge


Em 24/09/2006, às 9:07, Peter Rolf escreveu:

 Hans Hagen wrote:
 Peter Rolf wrote:
 Hi Jorge,

 batela wrote:

 Dear Sirs,

 I want to prepare a forma for handwriting filling. With this 
 propose e
 use \blackrule command for trace some lines inside paragraphs. For 
 example,

 I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good...

 In the pdf document appears: I, *!max*___ , promise
 maintain a good...

 Are there a good reason for that?


 Which beta version do you use (texexec --version)? If it's not the
 latest one (17.09.) simply update to that version. This bug (typo) 
 was
 fixed some beta versions ago.


 normally this !xxx kind of errors point to a missing \protect

 But in this case I had the same error in a prior beta. And if I 
 remember
 it right, \blackrule works in the current stable version (and older 
 ones).

 This is from a mail I sent you on 31.08.

 [..]

 \def\doblackrule[#1]%
   {\hbox\bgroup
\getparameters[\??bj][#1]%
\setstrut
\doif\@@bjwidth\ v!max{\def\@@bjwidth {1em}}%
   
 I had the text !max in one of my gfx  :)

 [..]

 The typo was corrected in the following beta version. This is the 
 reason
 why I think Jorge uses an older beta.

 Peter

 Hans



 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context


Um Abraço,

Jorge Magalhães

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context