ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Adaptation of ConTeXt to Esperanto
@ 2021-10-08 20:07 Alain Delmotte via ntg-context
  2021-10-08 21:10 ` Henning Hraban Ramm via ntg-context
  2021-10-09  8:58 ` Wolfgang Schuster via ntg-context
  0 siblings, 2 replies; 6+ messages in thread
From: Alain Delmotte via ntg-context @ 2021-10-08 20:07 UTC (permalink / raw)
  To: liste ConTeXt; +Cc: Alain Delmotte

[-- Attachment #1: Type: text/html, Size: 2419 bytes --]

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

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Adaptation of ConTeXt to Esperanto
  2021-10-08 20:07 Adaptation of ConTeXt to Esperanto Alain Delmotte via ntg-context
@ 2021-10-08 21:10 ` Henning Hraban Ramm via ntg-context
  2021-10-08 21:22   ` Alain Delmotte via ntg-context
  2021-10-09  8:58 ` Wolfgang Schuster via ntg-context
  1 sibling, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2021-10-08 21:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm


> Am 08.10.2021 um 22:07 schrieb Alain Delmotte via ntg-context <ntg-context@ntg.nl>:
> 
> I am using ConTeXt lmtx: "system > ConTeXt ver: 2021.09.26 17:00 LMTX fmt: 2021.9.30 int: english/english"
> But it looks like Esperanto is not loaded:  "languages > language 'en' is active"
> 
> Trying to use 
> \setuplabeltext[eo][figure={Figuro~}]
> \setuplabeltext[eo][table={Tabelo~}]
> doesn't help.
> 
> What canI do?

Are you sure you set \mainlanguage[eo]?

(Can’t help you further, sorry.)

Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Adaptation of ConTeXt to Esperanto
  2021-10-08 21:10 ` Henning Hraban Ramm via ntg-context
@ 2021-10-08 21:22   ` Alain Delmotte via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Alain Delmotte via ntg-context @ 2021-10-08 21:22 UTC (permalink / raw)
  To: Henning Hraban Ramm via ntg-context; +Cc: Alain Delmotte

Le 8/10/2021 à 23:10, Henning Hraban Ramm via ntg-context a 
écrit :
>> Am 08.10.2021 um 22:07 schrieb Alain Delmotte via ntg-context <ntg-context@ntg.nl>:
>>
>> I am using ConTeXt lmtx: "system > ConTeXt ver: 2021.09.26 17:00 LMTX fmt: 2021.9.30 int: english/english"
>> But it looks like Esperanto is not loaded:  "languages > language 'en' is active"
>>
>> Trying to use
>> \setuplabeltext[eo][figure={Figuro~}]
>> \setuplabeltext[eo][table={Tabelo~}]
>> doesn't help.
>>
>> What canI do?
> Are you sure you set \mainlanguage[eo]?
>
> (Can’t help you further, sorry.)
>
> Hraban

Yes of course I did!

Alain


___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Adaptation of ConTeXt to Esperanto
  2021-10-08 20:07 Adaptation of ConTeXt to Esperanto Alain Delmotte via ntg-context
  2021-10-08 21:10 ` Henning Hraban Ramm via ntg-context
@ 2021-10-09  8:58 ` Wolfgang Schuster via ntg-context
       [not found]   ` <85c52330-8834-f08e-e9e4-6304476cfc81@leliseron.org>
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-10-09  8:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Alain Delmotte via ntg-context
  Cc: Wolfgang Schuster

Alain Delmotte via ntg-context schrieb am 08.10.2021 um 22:07:
> Hi,
> 
> Some time ago I did prepare the files to support Esperanto in Context 
> (hyphenation and translation of terms).
> 
> I thought it was working, testing with the command \date, which gives 
> the correct format.
> 
> But today I remarked that the legends for Figure and Table (and perhaps 
> other) are in English.
> 
> The file lang-txt.lua is there and contains the translations for Esperanto.

The language definitions for esperanto in lang-def.mkxl are in the wrong 
order, the first definition has to be "eo".


\installlanguage
- [\s!esperanto]
+ [\s!eo]
   [\c!spacing=\v!packed,
    \c!leftsentence=\endash,
    \c!rightsentence=\endash,
    \c!leftsubsentence=\endash,
    \c!rightsubsentence=\endash,
    \c!leftquote=\upperleftsinglesixquote,         %U+2018,
    \c!rightquote=\upperrightsingleninequote,      %U+2019,
    \c!leftquotation=\upperleftdoublesixquote,     %U+201C,
    \c!rightquotation=\upperrightdoubleninequote,  %U+201D,
    \c!date={\v!day,-a\space de\space,\v!month,\space \v!year},
    \s!patterns=eo,
    \s!lefthyphenmin=2,
    \s!righthyphenmin=2]

-\installlanguage[\s!eo][\c!default=\s!esperanto]
+\installlanguage[\s!esperanto][\c!default=\s!eo]


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
___________________________________________________________________________________

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

* Re: Adaptation of ConTeXt to Esperanto
       [not found]   ` <85c52330-8834-f08e-e9e4-6304476cfc81@leliseron.org>
@ 2021-10-09 10:49     ` Wolfgang Schuster via ntg-context
  2021-10-09 11:57       ` Alain Delmotte via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-10-09 10:49 UTC (permalink / raw)
  To: Alain Delmotte; +Cc: Wolfgang Schuster, mailing list for ConTeXt users

Alain Delmotte schrieb am 09.10.2021 um 11:23:
> Hi!
>
> Le 9/10/2021 à 10:58, Wolfgang Schuster a écrit :
>> Alain Delmotte via ntg-context schrieb am 08.10.2021 um 22:07:
>>> Hi,
>>>
>>> Some time ago I did prepare the files to support Esperanto in 
>>> Context (hyphenation and translation of terms).
>>>
>>> I thought it was working, testing with the command \date, which 
>>> gives the correct format.
>>>
>>> But today I remarked that the legends for Figure and Table (and 
>>> perhaps other) are in English.
>>>
>>> The file lang-txt.lua is there and contains the translations for 
>>> Esperanto.
>>
>> The language definitions for esperanto in lang-def.mkxl are in the 
>> wrong order, the first definition has to be "eo".
>>
>>
>> \installlanguage
>> - [\s!esperanto]
>> + [\s!eo]
>>   [\c!spacing=\v!packed,
>>    \c!leftsentence=\endash,
>>    \c!rightsentence=\endash,
>>    \c!leftsubsentence=\endash,
>>    \c!rightsubsentence=\endash,
>>    \c!leftquote=\upperleftsinglesixquote,         %U+2018,
>>    \c!rightquote=\upperrightsingleninequote,      %U+2019,
>>    \c!leftquotation=\upperleftdoublesixquote,     %U+201C,
>>    \c!rightquotation=\upperrightdoubleninequote,  %U+201D,
>>    \c!date={\v!day,-a\space de\space,\v!month,\space \v!year},
>>    \s!patterns=eo,
>>    \s!lefthyphenmin=2,
>>    \s!righthyphenmin=2]
>>
>> -\installlanguage[\s!eo][\c!default=\s!esperanto]
>> +\installlanguage[\s!esperanto][\c!default=\s!eo]
>>
>>
>> Wolfgang
>
> Thanks Wolfgang, I did find the file and the wrong order.
>
> Now, what should I do? I modified it outside context-lmtx in a copy.
>
> Replace the original and???

You have to make the changes in the original file and afterwards 
generate the format file with

     context --make

If everything works as expected report back and Hans can apply the fix 
on his machine to ensure they are included in the next release because 
when you make a update your changes are overwritten.

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
___________________________________________________________________________________

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

* Re: Adaptation of ConTeXt to Esperanto
  2021-10-09 10:49     ` Wolfgang Schuster via ntg-context
@ 2021-10-09 11:57       ` Alain Delmotte via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Alain Delmotte via ntg-context @ 2021-10-09 11:57 UTC (permalink / raw)
  To: liste ConTeXt; +Cc: Alain Delmotte

[-- Attachment #1: Type: text/html, Size: 3913 bytes --]

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

___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2021-10-09 11:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08 20:07 Adaptation of ConTeXt to Esperanto Alain Delmotte via ntg-context
2021-10-08 21:10 ` Henning Hraban Ramm via ntg-context
2021-10-08 21:22   ` Alain Delmotte via ntg-context
2021-10-09  8:58 ` Wolfgang Schuster via ntg-context
     [not found]   ` <85c52330-8834-f08e-e9e4-6304476cfc81@leliseron.org>
2021-10-09 10:49     ` Wolfgang Schuster via ntg-context
2021-10-09 11:57       ` Alain Delmotte via ntg-context

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