From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115674 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Reviczky via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Fwd: Typesetting modern Greek (UTF8) with ConTeXt Date: Fri, 12 Aug 2022 12:47:38 +0100 Message-ID: References: <941c1330-ca6c-79e8-fe6b-b90ef187fc4b@gmx.es> <12353e84-006c-4f91-0111-d75f7e4aec6d@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2977406401314824371==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28935"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Adam Reviczky , mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 12 13:48:25 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oMT9N-0007Nd-5A for gctc-ntg-context-518@m.gmane-mx.org; Fri, 12 Aug 2022 13:48:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 60D242A3E96; Fri, 12 Aug 2022 13:47:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5532ysPv9Yqp; Fri, 12 Aug 2022 13:47:56 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 035902A3E9D; Fri, 12 Aug 2022 13:47:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 67F7A2A3E9D for ; Fri, 12 Aug 2022 13:47:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zmZfFgl6g5P3 for ; Fri, 12 Aug 2022 13:47:51 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.49; helo=mail-ej1-f49.google.com; envelope-from=reviczky@gmail.com; receiver= Original-Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 47ED62A3E96 for ; Fri, 12 Aug 2022 13:47:51 +0200 (CEST) Original-Received: by mail-ej1-f49.google.com with SMTP id gk3so1590979ejb.8 for ; Fri, 12 Aug 2022 04:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=uZiW62ToEJi6V58ZPbw3qzXmDE63iDzlCMCqGMYCskA=; b=XGXbs8vRmUdEr7kGPGSQD4yaaQxUbU9dNPEyohNcvGnbwcx5hNe+q4aMPfs1ivrI1P +oDJbSx7V3Kckl4ZBmZ1CmzbM+OVuIZfvc3sturWVuoz43n/Gwh6Ux6F4QMXuE7+UBxE WN1rQbpA+THWlalbD9B1BvyyFPdjaRtmVO3zKiSlcz+/rur0vErRVxdvZ494Dq2PhF1Q FRkadJI5t6ODwcgWtFtXE2Au/PknBn42Qw2MmqOMjRyiLjSZr5K2lXz97NCZHkCAZo1g UFYxYJDo+tymUh2KzBmMKeBSHtnRFkaE2V8QWYPdAXxphpLnI1raYtYY2t910OHSaDf6 MFTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=uZiW62ToEJi6V58ZPbw3qzXmDE63iDzlCMCqGMYCskA=; b=bebBUpXUP2IpYsCTIaEuuPReDZOHAS54jLNe0ILuBVhO5LkSmN/aqWOY0AGxCaSP0Q rrmZa2slUl17UlAjhIIbeB984k5aOxhE9v6o+u5x+ShRfFCkLAGgK435BDhO4niH/+dr D6uAGW61s8Q/H6sXVPftmAdUZHZCBSmCkYX+KRZwxR0numNY2qUXeLdv7y1TH418NgTI ld/4M19A7RQnLsKfCTZHnnKEsH8z7orJShbztKbQFskzEQxQ7XKUlOizEJHXw5mIPZ2C fn2kaL6F0ZAZWG4gWSD/sM8iMz307wy0Z9pzxo1WAA9/B9z9x8eHrtHo4pveaFcxYgFA JvvQ== X-Gm-Message-State: ACgBeo1ojVY44TF/T1SVVbRUQwx+SRLaKNzPFKx8mn98kexdobxWFCqw uggQZ6VDQslY/7PEy3tGkuu1ClubaAT3eJRRtelPimyQ881tLA== X-Google-Smtp-Source: AA6agR7i8m2gCcj+cJ7ws4jt3Wy2JfAqUmQE9aFZ/39YjV0dbRW57tQZe2784tvZk44TR8jvX08XfJyOLZYMCtu9nak= X-Received: by 2002:a17:907:1dd3:b0:730:9340:a0a with SMTP id og19-20020a1709071dd300b0073093400a0amr2456856ejc.316.1660304870570; Fri, 12 Aug 2022 04:47:50 -0700 (PDT) In-Reply-To: <12353e84-006c-4f91-0111-d75f7e4aec6d@xs4all.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:115674 Archived-At: --===============2977406401314824371== Content-Type: multipart/alternative; boundary="000000000000077fe105e609daf1" --000000000000077fe105e609daf1 Content-Type: text/plain; charset="UTF-8" Thanks Hanx for the fix! >> Just curious: you're still in mkii? No, I was just trying to compare an old project (nothing important) with lmtx, otherwise I wouldn't have even noticed. Adam On Fri, Aug 12, 2022 at 8:14 AM Hans Hagen wrote: > On 8/12/2022 2:57 AM, Adam Reviczky wrote: > > Hi Hans, > > > > I get a 'Nonletter' error with *fmtutil* for the mkii greek patterns > (from > > the latest cont-tmf.zip 2022-08-05 17:17). > > > > Is that an issue with texlive's *fmtutil* itself or something wrong with > > the mkii greek pattern file? > > Actually, we never had a greek hyphenation pattern file, only for > ancient greek. Modern greek in mkii has not encoding defined (we're > talking 2005 and before when Tomas made the greek encoding that dealt > with utf in pdftex). It has to do with 'setting what are letters' and > these modern greek patterns have plenty different. > > You can patch lang-grk.mkii: > > \installlanguage > [\s!gr] > [\c!spacing=\v!packed, > \c!leftsentence=---, > \c!rightsentence=---, > \c!leftsubsentence=---, > \c!rightsubsentence=---, > \c!leftquote=\greekleftquot, > \c!rightquote=\greekrightquot, > \c!leftquotation=\greekleftquot, > \c!rightquotation=\greekrightquot, > % we're missing an encoding for greek > \s!patterns=\s!agr, > \s!mapping=\s!agr, > \s!encoding=\s!agr, > % but one can use mkiv / lmtx anyway > \c!date={\v!day\ \v!month\ \v!year}] > > At least you get something. In mkiv and lmtx we have both. > > Just curious: you're still in mkii? > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > --000000000000077fe105e609daf1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Hanx for the fix!

>= ;>=20 Just curious: you're still in mkii?
No, I was just trying to = compare an old project (nothing important) with lmtx, otherwise I wouldn= 9;t have even noticed.

Adam

On Fri, A= ug 12, 2022 at 8:14 AM Hans Hagen <= j.hagen@xs4all.nl> wrote:
On 8/12/2022 2:57 AM, Adam Reviczky wrote:
> Hi Hans,
>
> I get a 'Nonletter' error with *fmtutil* for the mkii greek pa= tterns (from
> the latest cont-tmf.zip 2022-08-05 17:17).
>
> Is that an issue with texlive's *fmtutil* itself or something wron= g with
> the mkii greek pattern file?

Actually, we never had a greek hyphenation pattern file, only for
ancient greek. Modern greek in mkii has not encoding defined (we're talking 2005 and before when Tomas made the greek encoding that dealt
with utf in pdftex). It has to do with 'setting what are letters' a= nd
these modern greek patterns have plenty different.

You can patch lang-grk.mkii:

\installlanguage
=C2=A0 =C2=A0[\s!gr]
=C2=A0 =C2=A0[\c!spacing=3D\v!packed,
=C2=A0 =C2=A0 \c!leftsentence=3D---,
=C2=A0 =C2=A0 \c!rightsentence=3D---,
=C2=A0 =C2=A0 \c!leftsubsentence=3D---,
=C2=A0 =C2=A0 \c!rightsubsentence=3D---,
=C2=A0 =C2=A0 \c!leftquote=3D\greekleftquot,
=C2=A0 =C2=A0 \c!rightquote=3D\greekrightquot,
=C2=A0 =C2=A0 \c!leftquotation=3D\greekleftquot,
=C2=A0 =C2=A0 \c!rightquotation=3D\greekrightquot,
=C2=A0 =C2=A0 =C2=A0% we're missing an encoding for greek
=C2=A0 =C2=A0 \s!patterns=3D\s!agr,
=C2=A0 =C2=A0 \s!mapping=3D\s!agr,
=C2=A0 =C2=A0 \s!encoding=3D\s!agr,
=C2=A0 =C2=A0 % but one can use mkiv / lmtx anyway
=C2=A0 =C2=A0 \c!date=3D{\v!day\ \v!month\ \v!year}]

At least you get something. In mkiv and lmtx we have both.

Just curious: you're still in mkii?

Hans

-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
--000000000000077fe105e609daf1-- --===============2977406401314824371== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2977406401314824371==--