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 Any clue ?
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
Garulfo schrieb am 23.12.2023 um 12:41:
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
Any clue ?
Hans made changes on the capitals mode and now the following two lines have to be added to typo-cap.mkxl on line 52 and 53. \definecapitals[\v!cap] [\v!capital] \definecapitals[\v!Cap] [\v!Capital] Wolfgang
participants (3)
-
Bruce Horrocks
-
Garulfo
-
Wolfgang Schuster