Re: [NTG-context] Bug in counter
Johann Birnick via ntg-context schrieb am 04.07.2022 um 18:29: Hey there, please consider: \starttext \defineenumeration[definition][text=Definition, alternative=serried] \setupnumber[definition][way=bysection, numbersection=yes] \setupenumeration [definition] [way=bysection, prefix=yes, prefixsegments=section] 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] Bug in counter
Hey there, please consider: \starttext \defineenumeration[definition][text=Definition, alternative=serried] \setupnumber[definition][way=bysection, numbersection=yes] \section{My section 1} \startdefinition My fist definition \stopdefinition \section{My section 2} \startdefinition My second definition \stopdefinition \stoptext It should number my definitions 1.1 and 2.1, but it doesn't. The prefix is missing. Any ideas? Thank you and best regards, Johann test.pdf Description: Adobe PDF document ___ 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] Using alegreya typescript
Dear all, for a long time I never had to used a custom typescript, but now I want to use the Alegreya font and found the typescript on contextgarden. https://wiki.contextgarden.net/Alegreya_Typescript The script seems to cover a lot of variations. https://wiki.contextgarden.net/Alegreya_Typescript I include the typescript in an environment. With this I get the Alegreya Regular font: \environment alegreya \setupbodyfont [alegreya, 11pt] \starttext \input lorem \stoptext With this I get the Alegreya Sans Regular font: \environment juh.env-alegreya \setupbodyfont [alegreya, sans, 10pt] \starttext \input lorem \stoptext I am unable to get the light variant. \environment juh.env-alegreya \setupbodyfont [alegreya-light, sans, 10pt] \starttext \input lorem \stoptext I guess that I miss a lot of things in the typescript. Is there some boilerplate code to test a typescript, so that I can see how it all works? TIA juh ___ 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] Overbar bug
Hey there, please have a look at the following example: \starttext $\overbar{\alpha} \overbar{\beta}$ \stoptext The first one works just fine, whereas the second one looks very odd. (At least in MkIV...) Any ideas? Best, Johann ___ 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 ___