From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21147 invoked from network); 5 Aug 2023 13:45:44 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 5 Aug 2023 13:45:44 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 183654822AD for ; Sat, 5 Aug 2023 15:45:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YZTxFcVlZK22 for ; Sat, 5 Aug 2023 15:45:14 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C6876482356 for ; Sat, 5 Aug 2023 15:44:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 4C909480B3E for ; Sat, 5 Aug 2023 15:43:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SLB88PgdQqgl for ; Sat, 5 Aug 2023 15:43:51 +0200 (CEST) Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id B3C5F480A9A for ; Sat, 5 Aug 2023 15:43:51 +0200 (CEST) Received: from smtpclient.apple (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by albus.rna.nl (Postfix) with ESMTPSA id 0125419791C64 for ; Sat, 5 Aug 2023 15:43:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1691243028; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Pa/3dcr4Gtcvfi+NB/9zPftuaU/M2Hwxx+XxGhd6pDI=; b=IHSI4d3mlI9+DUJ8VSTisqdIyrPTrMLO3mTtwuU1+bRU0f+FiFYGvyirTq4ilMqW5qTIgc VAnRR8qQw4jscDaJ24NHR15bhQoAl4GIzBBpYshJvpdonHoUvf0Fx7aIuOo682L0V6v7Xk 8E47tmr1JRUuqcaOOkR7B5G1cO9TCuDHsMtoYnj4aj+3O8Ij3bTIq8+6v7VLdCME9+X7PJ AQukSjCQiTPhwme4RL8YO5uipvcxxMOAv1ydG7wRL4rNbbeWMEDk3NRk/gAEdCmyuKZhnC XOShQYafZISEyYPlybeGP7SDVsept5lqRzTxr/628mju6+xDBaOvpBZVC19Rqw== From: Gerben Wierda Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Date: Sat, 5 Aug 2023 15:43:47 +0200 References: <42b3ef24-ddc7-2e06-fdca-3509b5466492@xs4all.nl> <08873E9B-D766-496B-8D28-3396BD8538DC@rna.nl> <91f2747a-fcc4-11b1-eac1-3c668e349370@freedom.nl> <55036A65-A749-412E-AC17-F4DBE310CD6D@rna.nl> To: mailing list for ConTeXt users In-Reply-To: <55036A65-A749-412E-AC17-F4DBE310CD6D@rna.nl> Message-Id: X-Mailer: Apple Mail (2.3696.120.41.1.3) Message-ID-Hash: FAPDP3AEQFCLR5ENUQWTZMOKZ3JKMOLU X-Message-ID-Hash: FAPDP3AEQFCLR5ENUQWTZMOKZ3JKMOLU X-MailFrom: gerben.wierda@rna.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: \phrasetext issue with language uk. Was: Ukrainian hyphenation? List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============8695120917763890571==" --===============8695120917763890571== Content-Type: multipart/alternative; boundary="Apple-Mail=_BD211DC5-3220-4336-864C-9F0C92DAC3B0" --Apple-Mail=_BD211DC5-3220-4336-864C-9F0C92DAC3B0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Basically, the situation then is, the language is called ua but the = patterns are called uk? > On 5 Aug 2023, at 15:23, Gerben Wierda wrote: >=20 >=20 >=20 >> On 19 Jul 2023, at 09:17, Hans Hagen via ntg-context = wrote: >>=20 >> On 7/19/2023 8:58 AM, Gerben Wierda wrote: >>>> On 19 Jul 2023, at 08:52, Hans Hagen wrote: >>>>=20 >>>> so best not mess with setting up languages that already have been = set up. >>> I had no idea I was messing. What am I doing wrong, then. Because in = my actual document with ua language setting it is not hyphenated. This = was just a minimal example >>=20 >> do you get something similar? >>=20 >>> mtxrun lang-uk.lua >> = c:/data/develop/tex-context/tex/texmf-context/tex/context/patterns/mkiv/la= ng-uk.lua >>=20 >> uk is the offical tag but for historic reasone we use ua as language; = given the uk's exit and ua's entry in the european union we could now = consider adapting it; and i'd wonder is anyone would notice - or bother = - is we'd use ukrain hyphenation for russian, which could save some = bytes in the distribution >=20 > Yes, that solved the hyphenation issue. But now I am having trouble = with \phrasetext. When using uk as language code, \phrasetext does not = work. >=20 > So, use 'ua', \phrasetext works, but hyphenation does not > And use 'uk', hyphenation works, but \phrasetext does not >=20 > %=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > \definefallbackfamily > [archimate] > [ss] > [Helvetica] > [preset=3Drange:cyrillic, > tf=3Dstyle:light, > it=3Dstyle:lightoblique, > bf=3Dstyle:regular, > bi=3Dstyle:oblique, > force=3Dyes, > rscale=3D1.0] > \definefontfamily [archimate] [ss] [Helvetica] > \setupbodyfont[archimate] >=20 > \definelabelclass[phrase] > \setupphrasetext[en][sheettitle=3D{ArchiMate=C2=AE 3.2 Metamodel -- = Core}] > \setupphrasetext[ru][sheettitle=3D{=D0=AF=D0=B4=D1=80=D0=BE = =D0=BC=D0=B5=D1=82=D0=B0=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8 ArchiMate=C2=AE= 3.2}] > \setupphrasetext[uk][sheettitle=3D{=D0=9E=D1=81=D0=BD=D0=BE=D0=B2=D0=BD=D1= =96 =D0=B5=D0=BB=D0=B5=D0=BC=D0=B5=D0=BD=D1=82=D0=B8 = =D0=BC=D0=B5=D1=82=D0=B0=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D1=96 ArchiMate=C2=AE= 3.2}] > \setupphrasetext[ua][sheettitle=3D{=D0=9E=D1=81=D0=BD=D0=BE=D0=B2=D0=BD=D1= =96 =D0=B5=D0=BB=D0=B5=D0=BC=D0=B5=D0=BD=D1=82=D0=B8 = =D0=BC=D0=B5=D1=82=D0=B0=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D1=96 ArchiMate=C2=AE= 3.2}] >=20 > \starttext > \setuplanguage[uk][patterns=3D{uk}]\mainlanguage[uk] > \phrasetext{sheettitle} >=20 > \setuplanguage[ru][patterns=3D{ru}]\mainlanguage[ru] > \phrasetext{sheettitle} >=20 > \setuplanguage[uk][patterns=3D{uk}]\mainlanguage[uk] > \phrasetext{sheettitle} >=20 > \setuplanguage[ua][patterns=3D{ua}]\mainlanguage[ua] > \phrasetext{sheettitle} > \stoptext > %=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > = __________________________________________________________________________= _________ Gerben Wierda (LinkedIn , = Mastodon ) R&A IT Strategy (main site) Book: Chess and the Art of Enterprise=C2=A0Architecture = Book: Mastering ArchiMate --Apple-Mail=_BD211DC5-3220-4336-864C-9F0C92DAC3B0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Basically, the situation then is, the language is called ua = but the patterns are called uk?

On 5 Aug = 2023, at 15:23, Gerben Wierda <gerben.wierda@rna.nl> wrote:



On 19 Jul = 2023, at 09:17, Hans Hagen via ntg-context <ntg-context@ntg.nl> = wrote:

On 7/19/2023 8:58 AM, Gerben Wierda = wrote:
On 19 Jul 2023, at 08:52, Hans Hagen <j.hagen@xs4all.nl> = wrote:

so best not mess with setting up = languages that already have been set up.
I = had no idea I was messing. What am I doing wrong, then. Because in my = actual document with ua language setting it is not hyphenated. This was = just a minimal example

do you = get something similar?

mtxrun lang-uk.lua
c:/data/develop/tex-context/tex/texmf-context/tex/= context/patterns/mkiv/lang-uk.lua

uk is the = offical tag but for historic reasone we use ua as language; given the = uk's exit and ua's entry in the european union we could now consider = adapting it; and i'd wonder is anyone would notice - or bother - is we'd = use ukrain hyphenation for russian, which could save some bytes in the = distribution

Yes, that solved = the hyphenation issue. But  now I am having trouble with = \phrasetext. When using uk as language code, \phrasetext does not = work.

So, use 'ua', \phrasetext works, but = hyphenation does not
And use 'uk', hyphenation works, but = \phrasetext does not

%=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
\definefallbackfamily
 [archimate]
 [ss]
 [Helvetica]
=  [preset=3Drange:cyrillic,
=   tf=3Dstyle:light,
=   it=3Dstyle:lightoblique,
=   bf=3Dstyle:regular,
=   bi=3Dstyle:oblique,
  force=3Dyes,   rscale=3D1.0]
\definefontfamily = [archimate] [ss] [Helvetica]
\setupbodyfont[archimate]

\definelabelclass[phrase]
\setupphrasetext[en][sheettitle=3D{ArchiMate=C2=AE 3.2 = Metamodel -- Core}]
\setupphrasetext[ru][sheettitle=3D{=D0=AF=D0=B4=D1=80=D0=BE = =D0=BC=D0=B5=D1=82=D0=B0=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8 ArchiMate=C2=AE= 3.2}]
\setupphrasetext[uk][sheettitle=3D{=D0=9E=D1=81=D0=BD= =D0=BE=D0=B2=D0=BD=D1=96 =D0=B5=D0=BB=D0=B5=D0=BC=D0=B5=D0=BD=D1=82=D0=B8 = =D0=BC=D0=B5=D1=82=D0=B0=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D1=96 ArchiMate=C2=AE= 3.2}]
\setupphrasetext[ua][sheettitle=3D{=D0=9E=D1=81=D0=BD= =D0=BE=D0=B2=D0=BD=D1=96 =D0=B5=D0=BB=D0=B5=D0=BC=D0=B5=D0=BD=D1=82=D0=B8 = =D0=BC=D0=B5=D1=82=D0=B0=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D1=96 ArchiMate=C2=AE= 3.2}]

\starttext
\setuplanguage[uk][patterns=3D{uk}]\mainlanguage[uk]
\phrasetext{sheettitle}

\setuplanguage[ru][patterns=3D{ru}]\mainlanguage[ru]
\phrasetext{sheettitle}

\setuplanguage[uk][patterns=3D{uk}]\mainlanguage[uk]
\phrasetext{sheettitle}

\setuplanguage[ua][patterns=3D{ua}]\mainlanguage[ua]
\phrasetext{sheettitle}
\stoptext
%=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
_______________________________________________________________= ____________________
If your question is of interest to = others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : = https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
_______________________________________________________________= ____________________


= --Apple-Mail=_BD211DC5-3220-4336-864C-9F0C92DAC3B0-- --===============8695120917763890571== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============8695120917763890571==--