ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: Alain Delmotte <alain.delmotte@leliseron.org>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Adaptation of ConTeXt to Esperanto
Date: Sat, 9 Oct 2021 12:49:49 +0200	[thread overview]
Message-ID: <18e793df-a99e-dad8-6d0f-ea7c0807da55@gmail.com> (raw)
In-Reply-To: <85c52330-8834-f08e-e9e4-6304476cfc81@leliseron.org>

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
___________________________________________________________________________________

  parent reply	other threads:[~2021-10-09 10:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-08 20:07 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 [this message]
2021-10-09 11:57       ` Alain Delmotte via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18e793df-a99e-dad8-6d0f-ea7c0807da55@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=alain.delmotte@leliseron.org \
    --cc=wolfgang.schuster.lists@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).