From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95949 Path: news.gmane.org!.POSTED!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: Re: Problems with indexing (+feature requests) Date: Sat, 27 Aug 2016 12:50:53 -0400 Message-ID: References: <57BAC087.8000907@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3956271461168335421==" X-Trace: blaine.gmane.org 1472316691 15541 195.159.176.226 (27 Aug 2016 16:51:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 Aug 2016 16:51:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 27 18:51:26 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 blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdgpK-0003Tu-8D for gctc-ntg-context-518@m.gmane.org; Sat, 27 Aug 2016 18:51:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9471915C0A; Sat, 27 Aug 2016 18:51:09 +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 a1Hk0-BKn04o; Sat, 27 Aug 2016 18:51:08 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id C347815CCA; Sat, 27 Aug 2016 18:51:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EB1A715CB3 for ; Sat, 27 Aug 2016 18:51:07 +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 UQRaK_IURcbf for ; Sat, 27 Aug 2016 18:51:06 +0200 (CEST) Original-Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) (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 9A9A915C0A for ; Sat, 27 Aug 2016 18:50:56 +0200 (CEST) Original-Received: by mail-oi0-f53.google.com with SMTP id f189so148671048oig.3 for ; Sat, 27 Aug 2016 09:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=O+gN4Rlj/FwablD5gpAwuklLuAbzWKmN35r53g17JdY=; b=gnhp/CHtOjFXX9Cx/ZG7VXfBzQJfH4T2nNOzb2U1PGWnbUu82tVdvQKUXvxDuSDSoL E6yCg1SvGn+3AlMOuh9Ifqm+dPF96LJBIznwf6YdieLUB+QEsu9Er1LgsWwUKTOnjYGY Ja/6ukyAP5Y1G/QYy4YhNZWOQiLOeR1LScCM6pSgG4EiueEN5gGjFTlu9oDBFZgQKfqz 02Hqyv0jxloYkJ1mu62IMK8O36z68FD9pPdV4qc8kWGGfzfb3gZmwWh9tqMvE+EUDC67 JteSplHySgTYevV7+UgUUj7wiwNe6NaHQVSe5fPG2j+Q2a83RlQZhnJASsIq8AcURg0i 2qeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=O+gN4Rlj/FwablD5gpAwuklLuAbzWKmN35r53g17JdY=; b=ex4nZWYLGxQJzNSe0fTL7EQCPA5tE5F4O8cC1S9ehVKmKxNofYmsPoGX45eBvBMdVY +Hfrhu66BwfPZW0UxVikBe/mizyWmfTRIy1LU7cVeY7bS+EoHpiWYwclnLsXN2CYNcJv gui9KAuN7yQfaXf36Ts5aZvU/IbLHG9K6RYh1LXV0R+sM1c4bhibjucFK8PIEHv6z5hO 8KhlDrqbYuwaHehdMWflJL4/U5xNK1c47x53GGIJh/dk4G6/S+96I7/NiVlXjo0yg2Zb Y0N56DoD69YbKUReVbHi51hg357aiTcx+/6Jv6aYqcLM2JCtZ1LdhINor28AtGfqBoD+ yutg== X-Gm-Message-State: AE9vXwM6EMGx24KmWZIyLJEGF9Q+kFlyvu+iSao2bbP05UeAnglWmo5pw6cKwUViuc9z4dNsZZ94CwUx74fU5w== X-Received: by 10.157.23.172 with SMTP id j41mr7145618otj.153.1472316654496; Sat, 27 Aug 2016 09:50:54 -0700 (PDT) Original-Received: by 10.157.46.144 with HTTP; Sat, 27 Aug 2016 09:50:53 -0700 (PDT) In-Reply-To: <57BAC087.8000907@gmail.com> 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:95949 Archived-At: --===============3956271461168335421== Content-Type: multipart/alternative; boundary=94eb2c0bcac03032eb053b106f24 --94eb2c0bcac03032eb053b106f24 Content-Type: text/plain; charset=UTF-8 This is great, Wolfgang! On Mon, Aug 22, 2016 at 5:06 AM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote: > Mohammad Hossein Bateni > 22. August 2016 um 10:49 > Same problem, item (6) of email below, observed with arabtype font. See > attached. MWE follows. > > \definefontfamily [myfamily] [serif] [arabictypesetting] [features=arabic] > \setupbodyfont [myfamily] > \setupalign[r2l] > \setupdirections[bidi=global,method=two] > > \setupmixedcolumns[register][direction=reverse] > > When you have a font with large ascender/descender you can increase the > linespacing (line key) or change the height/depth (height and depth keys) > values for \strut. > > \startsetups[register:interlinespace] > \setupinterlinespace[height=0.6,depth=0.4,line=3.2ex] > \stopsetups > > \setupmixedcolumns > [index] > [direction=reverse, > setups=register:interlinespace] > > 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://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ > --94eb2c0bcac03032eb053b106f24 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This is great, Wolfgang!
<= br>
On Mon, Aug 22, 2016 at 5:06 AM, Wolfgang Sch= uster <schuster.wolfgang@gmail.com> wrote:
= 22.=20 August 2016 um 10:49
Same problem,=20 item (6) of email below, observed with arabtype font.=C2=A0 See attached.= =C2=A0=20 MWE follows.

\definefontfamily [myfamily] [serif]=20 [arabictypesetting] [features=3Darabic]
\setupbodyfont =C2=A0 =C2=A0[myf= amily]
\setupalign[r2l]
\setupdirections[bidi=3Dglobal,method=3D= two]

\setupmixedcolumns[register][direction=3Dreverse]
When you have a font with large ascender/descender you can increase the=20 linespacing (line key) or change the height/depth (height and depth=20 keys) values for \strut.

\startsetups[register:interlinespace]
=C2=A0=C2=A0=C2=A0 \setupinterlinespace[height=3D0.6,depth=3D0.4,line= =3D3.2ex]
\stopsetups

\setupmixedcolumns
=C2=A0 [index]
=C2=A0 [direction=3Dreverse,
=C2=A0=C2=A0 setups=3Dregister:interlinespace]<= font color=3D"#888888">

Wolfgang

_____________________________________________________________= ______________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/project= s/contextrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--94eb2c0bcac03032eb053b106f24-- --===============3956271461168335421== 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= --===============3956271461168335421==--