ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Filler rules
@ 2020-10-14 13:48 Willi Egger
  2020-10-14 14:33 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Willi Egger @ 2020-10-14 13:48 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Filler rules
  2020-10-14 13:48 Filler rules Willi Egger
@ 2020-10-14 14:33 ` Wolfgang Schuster
  2020-10-15 19:59   ` Willi Egger
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2020-10-14 14:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Willi Egger

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Filler rules
  2020-10-14 14:33 ` Wolfgang Schuster
@ 2020-10-15 19:59   ` Willi Egger
  2020-10-22 20:09     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Willi Egger @ 2020-10-15 19:59 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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 <wolfgang.schuster.lists@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Filler rules
  2020-10-15 19:59   ` Willi Egger
@ 2020-10-22 20:09     ` Wolfgang Schuster
  2020-10-22 21:33       ` Willi Egger
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2020-10-22 20:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Willi Egger

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Filler rules
  2020-10-22 20:09     ` Wolfgang Schuster
@ 2020-10-22 21:33       ` Willi Egger
  0 siblings, 0 replies; 5+ messages in thread
From: Willi Egger @ 2020-10-22 21:33 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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 <wolfgang.schuster.lists@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-22 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-14 13:48 Filler rules Willi Egger
2020-10-14 14:33 ` Wolfgang Schuster
2020-10-15 19:59   ` Willi Egger
2020-10-22 20:09     ` Wolfgang Schuster
2020-10-22 21:33       ` Willi Egger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).