Re: [NTG-context] withcolor does not apply when anglestriped

2022-01-20 Thread Hans Hagen via ntg-context
On 1/21/2022 12:01 AM, Damien Thiriet via ntg-context wrote: Hello list, I noticed today that anglestriped does not take withcolor into account. Givent this MWE \starttext \startMPpage path p; p:= fullsquare scaled 20; draw p anglestriped (1,60,4) withcolor red; \stopMPpage \stoptext p is

[NTG-context] withcolor does not apply when anglestriped

2022-01-20 Thread Damien Thiriet via ntg-context
Hello list, I noticed today that anglestriped does not take withcolor into account. Givent this MWE \starttext \startMPpage path p; p:= fullsquare scaled 20; draw p anglestriped (1,60,4) withcolor red; \stopMPpage \stoptext p is in black, while I'd expect red Greetings, Damien Thiriet

[NTG-context] placelist created by defineenumeration fails in numbered headings

2022-01-20 Thread Youssef Cherem via ntg-context
That pretty much sums it up: if I change \title to \chapter, for example, the list is generated only if I set the option criterium=chapter, for example. Is criterium really necessary in this case? ``` \defineenumeration [Exercício] [alternative=top, before=\blank, after=\blank, between=\blank]

Re: [NTG-context] Counter names

2022-01-20 Thread Hans Hagen via ntg-context
On 1/20/2022 2:24 PM, Joaquín Ataz López via ntg-context wrote: Good morning to all. I would like to ask where I can find information about the name of the different counters that are handled in ConTeXt, in order to manipulate them manually. I guess the number of internal ConTeXt counters

Re: [NTG-context] Custom Table of Contents

2022-01-20 Thread Hans Hagen via ntg-context
On 1/20/2022 3:45 PM, andrei--- via ntg-context wrote: Hi! I’m new to ConTeXt. I need to make a custom table of contents that looks like this: https://imgur.com/a/Ca3By6X Each row in the table corresponds to an item that has following data to print in the table

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Hans Hagen via ntg-context
On 1/20/2022 3:42 PM, Hans Hagen via ntg-context wrote: next upload: \resetMPinstance[metafun:1] but try to avoid this because reloading takes time Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Hans Hagen via ntg-context
On 1/20/2022 3:26 PM, Aditya Mahajan via ntg-context wrote: AFAIK, there is no in-built support for this. FYEO: \starttext \startMPcode u = 123; \stopMPcode \ctxlua{metapost.reset("metafun:1")} \startMPcode u = 123; \stopMPcode \stoptext (the instance is reported on the console)

[NTG-context] Custom Table of Contents

2022-01-20 Thread andrei--- via ntg-context
Hi! I’m new to ConTeXt. I need to make a custom table of contents that looks like this: https://imgur.com/a/Ca3By6X Each row in the table corresponds to an item that has following data to print in the table of contents: page, total number of pages which the item spans, name of the item and a

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Hans Hagen via ntg-context
On 1/20/2022 2:59 PM, Vincent Hennebert via ntg-context wrote: Hi, Say I’m writing a document containing many independent MetaPost figures. I don’t want to bother with enclosing each and every graphics in a ‘begingroup...endgroup’ with the appropriate ‘save’ statement. But I don’t want

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Aditya Mahajan via ntg-context
On Thu, 20 Jan 2022, Vincent Hennebert via ntg-context wrote: > Hi, > > Say I’m writing a document containing many independent MetaPost > figures. I don’t want to bother with enclosing each and every graphics > in a ‘begingroup...endgroup’ with the appropriate ‘save’ statement. But > I don’t

[NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Vincent Hennebert via ntg-context
Hi, Say I’m writing a document containing many independent MetaPost figures. I don’t want to bother with enclosing each and every graphics in a ‘begingroup...endgroup’ with the appropriate ‘save’ statement. But I don’t want variables from previous graphics to leak into following ones either.

[NTG-context] Counter names

2022-01-20 Thread Joaquín Ataz López via ntg-context
Good morning to all. I would like to ask where I can find information about the name of the different counters that are handled in ConTeXt, in order to manipulate them manually. I guess the number of internal ConTeXt counters will be tremendous. But I would like to know what the "most common"