Re: [NTG-context] Filler rules

2020-10-22 Thread Willi Egger
Thank you Wolfgang! — In the meantime i was indeed able to setup what i needed 
with \blackrule

Kind regards

Willi

> On 22 Oct 2020, at 22:09, Wolfgang Schuster 
>  wrote:
> 
> Willi Egger schrieb am 15.10.2020 um 21:59:
>> Hoi,
>> 
>> In earlier times we had something like \definerule[…][…] and 
>> \setuprule[…][…]. This made it possible to create lines of a define width.
> 
> I'm sorry but I'm unable to find any code or proper example for the command.
> 
>> So what I found is the fillers, which apparently are not meant for the 
>> purpose I am looking for.
> 
> You can try the \blackrule command to add a custom rule after your title.
> 
> 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://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] Filler rules

2020-10-22 Thread Wolfgang Schuster

Willi Egger schrieb am 15.10.2020 um 21:59:

Hoi,

In earlier times we had something like \definerule[…][…] and \setuprule[…][…]. 
This made it possible to create lines of a define width.


I'm sorry but I'm unable to find any code or proper example for the command.


So what I found is the fillers, which apparently are not meant for the purpose 
I am looking for.


You can try the \blackrule command to add a custom rule after your title.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Filler rules

2020-10-15 Thread Willi Egger
Hoi,

In earlier times we had something like \definerule[…][…] and \setuprule[…][…]. 
This made it possible to create lines of a define width. — So what I found is 
the fillers, which apparently are not meant for the purpose I am looking for.

Kind regards

Willi

> On 14 Oct 2020, at 16:33, Wolfgang Schuster 
>  wrote:
> 
> Willi Egger schrieb am 14.10.2020 um 15:48:
>> Good afternoon!
>> 
>> I am dealing with a book, which has a short black rule under the title of 
>> the chapters.
>> 
>> I see, that the old rule mechanisms are no more available in LMTX and are 
>> replaced by fillers.
> 
> What mechanism do you mean, fillers are just a high level interface to 
> leaders.
> 
> 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://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] Filler rules

2020-10-14 Thread Wolfgang Schuster

Willi Egger schrieb am 14.10.2020 um 15:48:

Good afternoon!

I am dealing with a book, which has a short black rule under the title of the 
chapters.

I see, that the old rule mechanisms are no more available in LMTX and are 
replaced by fillers.


What mechanism do you mean, fillers are just a high level interface to 
leaders.


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Filler rules

2020-10-14 Thread Willi Egger
Good afternoon!

I am dealing with a book, which has a short black rule under the title of the 
chapters.

I see, that the old rule mechanisms are no more available in LMTX and are 
replaced by fillers.

Now with the following setup, I would expect a 50mm line placed centered. 
Hoewever this seems not to work in this way. 
What am I missing?

kind regards

Willi

\definefiller
 [Titlerule]
 [alternative=rule,
  left=\hfil,
  right=\hfil,
  method=local,
  width=50mm,
  height=2pt,
  leftmargin=1pt,
  rightmargin=1pt,
  align=middle]

\starttext

\midaligned{Some text}

\filler[Titlerule]

\stoptext
___
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
___