![](https://secure.gravatar.com/avatar/e0f8d84b235b67d60a3c7fd0e326db8d.jpg?s=120&d=mm&r=g)
On 23 Dec 2023, at 11:41, Garulfo
wrote: Hi all,
the following minimum working example is properly typesetted with textstyle=bold, but it fails with textstyle=cap (ConTeXt version : 2023.09.26 18:19)
A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error' in the index to The TeXbook.) mtx-context | fatal error: return code: 1
It works on https://context-on-web.eu (ConTeXt version : 2022.12.22 22:17)
\definesynonyms [abbreviation] [abbreviations] [\AbbreviationsFull] \setupsynonyms [abbreviation] [textstyle=bold]
\starttext
\contextversion \abbreviation{NTG}{Nederlandstalige TeX Gebruikersgroep}
Test 1 : \NTG .
Test 2 : \AbbreviationsFull{NTG}.
\stoptext
I'm not sure why textstyle=cap fails but textstyle=sc works. However textstyle=\cap (i.e. as a command) works. Also \abbreviation is already defined so you don't need to define it again. Thus your MWE becomes: %\definesynonyms [abbreviation] [abbreviations] [\AbbreviationsFull] \setupsynonyms [abbreviation] [textstyle=\cap] \starttext \contextversion \abbreviation{NTG}{Nederlandstalige TeX Gebruikersgroep} Test 1 : \NTG . Test 2 : \infull{NTG} %\AbbreviationsFull{NTG}. \stoptext — Bruce Horrocks Hampshire, UK