From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95357 Path: news.gmane.org!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: \mainlanguage[pe] Date: Wed, 6 Jul 2016 14:02:28 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3401921123378088145==" X-Trace: ger.gmane.org 1467828222 27840 80.91.229.3 (6 Jul 2016 18:03:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2016 18:03:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 06 20:03:30 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bKrAY-0003Pw-9j for gctc-ntg-context-518@m.gmane.org; Wed, 06 Jul 2016 20:03:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7721F1114F; Wed, 6 Jul 2016 20:02:45 +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 VySCq7XqYFGT; Wed, 6 Jul 2016 20:02:43 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id ECCBD11153; Wed, 6 Jul 2016 20:02:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 026AF11150 for ; Wed, 6 Jul 2016 20:02:43 +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 uuplSpw7BMTl for ; Wed, 6 Jul 2016 20:02:41 +0200 (CEST) Original-Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 392AA1114F for ; Wed, 6 Jul 2016 20:02:31 +0200 (CEST) Original-Received: by mail-oi0-f42.google.com with SMTP id u201so280927240oie.0 for ; Wed, 06 Jul 2016 11:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=8AF8eb4TJ2ZYeeB9/yLjVXQoKuwsGUbIIHAH/ZTUbAc=; b=zuyK1rfQYJNcuWulzPR/AunC+7VLjPkKdC1YVhGlJbnvZ3VEHYOIUw01a/mH74b5QH u3o6ol6Ixm6hvLBhiR7GS65mIDBZUrARyN3PYaFEeLbtMaH+dEMPcIRLof8W/DIZxPxO zCY0KF30hmVjBRSO6+urBn+Si/gOMrJG2mvO3bqrp27+fVyILDHrhLNT25LXuJ9nXGB1 WbLnVYm5SFSiCRamhENGXPbKr5PL8XdvoNMEvrEdECWRwv01lxoDs0qVYVhcAdB81v83 PRJ1quYdtDQMjoSUGyMUxeh0yielortllTKDCDDCwvX2LSlyHISLn10pYuC1b9d+q8rK u9HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8AF8eb4TJ2ZYeeB9/yLjVXQoKuwsGUbIIHAH/ZTUbAc=; b=lokQfaq2dqlCj31z8HA8w9U1BZ9YsCt+hXkUVJ09gyUSXyctBjXaPlWELllW2Bufhi 6WeO1LpaDC6APpNRW/oAYhfUtLzLi+SzO8j9uIgOHklYbpprq88j22D+E3j98E1YhZQB azd5Dmj+luNwJ+NYe6GP1tZ7erWZz43PceY4IaCoXIYKy6kuRmQVXDXVxNoH1fdtCMwr UnuNsS3kp6YTU/RxV4upG5DHQ/od8pLCe49z6NuAVIJ3hHV+CdZ6vp+KXILN0co6pQh7 hEI3x3IONcSgNOJbzkEk8Q8jo8Ujqvju6erRZ+uVJlAdDA2Ne1MLIHWf4xkqOWKcE+P8 D15w== X-Gm-Message-State: ALyK8tJFjmuaJpF6JJEamNzaYHHOFVqAs/+tMBaDq6E9fi6NKJ8Fq3gs/TVDBqtYfjD/v6kYFcfoAJX71K6H7A== X-Received: by 10.202.195.135 with SMTP id t129mr13416439oif.167.1467828149124; Wed, 06 Jul 2016 11:02:29 -0700 (PDT) Original-Received: by 10.157.46.104 with HTTP; Wed, 6 Jul 2016 11:02:28 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:95357 Archived-At: --===============3401921123378088145== Content-Type: multipart/alternative; boundary=001a1137d9446b85840536fb5f8c --001a1137d9446b85840536fb5f8c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, This was lost in the other thread, so I'm starting a fresh one dedicated to the question. 1) \showinstalledlanguages does not show pe/persian/fa or anything like that but it has several arabic variants. was this dropped in MkIV or was there never a persian language environment even in MkII? I thought there were translated labels for Farsi somewhere. 2) In the following MWE, ad-hoc hyphenation using \- works and leads to hyphenation. However, specifying the pattern at the beginning does not have any effect. Am I missing something? \usemodule[simplefonts] \setmainfont[dejavusans][features=3Darabic,range=3Darabic] \setupalign[r2l] \showframe \hyphenation{=D8=B3=D8=A7=D8=B2=D9=85=D8=A7=D9=86=E2=80=8C-=D8=AF=D9=87=DB= =8C} \starttext %% The above pattern is not used here and the long word moves into the margin. \dorecurse{14}{=D8=B3=D9=84=D8=A7=D9=85 } =D8=B3=D8=A7=D8=B2=D9=85=D8=A7=D9=86=E2=80=8C=D8=AF=D9=87=DB=8C =D9=85=D9=86=D8=A7=D8=B3=D8=A8. %% It does work here, though. \dorecurse{14}{=D8=B3=D9=84=D8=A7=D9=85 } =D8=B3=D8=A7=D8=B2=D9=85=D8=A7=D9=86\-=D8=AF=D9=87=DB=8C =D9=85=D9=86=D8=A7=D8=B3=D8=A8. \stoptext How can one create a new language? The languages manual suggests that this is possible. Does that mean I need to send the request to Hans/Wolfgang to create the new entry or can one do so dynamically? Beside the issue of sorting in indices, etc.=E2=80=94which I will get to in due time=E2=80=94having an entry for language pe/persian seems to be necessary = to *properly* use \setuplabeltext, etc. Is that correct? Thanks a lot! =E2=80=94MHB --001a1137d9446b85840536fb5f8c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

This was lost in the other threa= d, so I'm starting a fresh one dedicated to the question.
1) \= showinstalledlanguages does not show pe/persian/fa or anything like that bu= t it has several arabic variants. =C2=A0was this dropped in MkIV or was the= re never a persian language environment even in MkII?=C2=A0 I thought there= were translated labels for Farsi somewhere.
2) In the following = MWE, ad-hoc=C2=A0hyphenation=C2=A0using \- works an= d leads to=C2=A0hyphenation.=C2=A0 However, specify= ing the pattern at the beginning does not have any effect.=C2=A0 Am I missi= ng something?


\usemodule[simplefonts]
\setmainfo= nt[dejavusans][features=3Darabic,range=3Darabic]
\setupalign[r2l]
\sh= owframe
\hyphenation{=D8=B3=D8=A7=D8=B2=D9=85=D8= =A7=D9=86=E2=80=8C-=D8=AF=D9=87=DB=8C}

\starttext

%% The abov= e pattern is not used here and the long word moves into the margin.
\dor= ecurse{14}{=D8=B3=D9=84=D8=A7=D9=85 }
=D8=B3=D8=A7=D8=B2=D9=85=D8=A7=D9= =86=E2=80=8C=D8=AF=D9=87=DB=8C
=D9=85=D9=86=D8=A7=D8=B3=D8=A8.

%%= It does work here, though.
\dorecurse{14}{=D8=B3=D9=84=D8=A7=D9=85 }=D8=B3=D8=A7=D8=B2=D9=85=D8=A7=D9=86\-=D8=AF=D9=87=DB=8C
=D9=85=D9=86= =D8=A7=D8=B3=D8=A8.

\stoptext

How can one cr= eate a new language?=C2=A0 The languages manual=C2=A0suggests that this is= possible.=C2=A0 Does that mean I need to send the request to Hans/Wolfgang= to create the new entry or can one do so dynamically?=C2=A0 Beside the iss= ue of sorting in indices, etc.=E2=80=94which I will get to in due time=E2= =80=94having an entry for language pe/persian seems to be necessary to p= roperly use \setuplabeltext, etc.=C2=A0 Is that correct?

Thanks a lot!
=E2=80=94MHB
--001a1137d9446b85840536fb5f8c-- --===============3401921123378088145== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============3401921123378088145==--