ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] \setupsynonyms textstyle=cap failing
@ 2023-12-23 11:41 Garulfo
  2023-12-23 23:44 ` [NTG-context] " Bruce Horrocks
  2023-12-24 16:26 ` Wolfgang Schuster
  0 siblings, 2 replies; 3+ messages in thread
From: Garulfo @ 2023-12-23 11:41 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 740 bytes --]

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 ?

[-- Attachment #1.2: Type: text/html, Size: 1403 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: \setupsynonyms textstyle=cap failing
  2023-12-23 11:41 [NTG-context] \setupsynonyms textstyle=cap failing Garulfo
@ 2023-12-23 23:44 ` Bruce Horrocks
  2023-12-24 16:26 ` Wolfgang Schuster
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Horrocks @ 2023-12-23 23:44 UTC (permalink / raw)
  To: ntg-context mailing list



> On 23 Dec 2023, at 11:41, Garulfo <garulfo@azules.eu> 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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: \setupsynonyms textstyle=cap failing
  2023-12-23 11:41 [NTG-context] \setupsynonyms textstyle=cap failing Garulfo
  2023-12-23 23:44 ` [NTG-context] " Bruce Horrocks
@ 2023-12-24 16:26 ` Wolfgang Schuster
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2023-12-24 16:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Garulfo


[-- Attachment #1.1: Type: text/plain, Size: 1056 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 1917 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2023-12-24 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-23 11:41 [NTG-context] \setupsynonyms textstyle=cap failing Garulfo
2023-12-23 23:44 ` [NTG-context] " Bruce Horrocks
2023-12-24 16:26 ` Wolfgang Schuster

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).