From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94563 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: right to left direction for itemize columns Date: Thu, 28 Apr 2016 06:41:54 +0200 Message-ID: References: <56CAD845.4060708@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/mixed; boundary="===============6682437652117004746==" X-Trace: ger.gmane.org 1461818575 7146 80.91.229.3 (28 Apr 2016 04:42:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2016 04:42:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 28 06:42:39 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 1avdmh-0003bl-1I for gctc-ntg-context-518@m.gmane.org; Thu, 28 Apr 2016 06:42:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 12BBCA9F0; Thu, 28 Apr 2016 06:42:14 +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 lBb9udVawi6J; Thu, 28 Apr 2016 06:42:11 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 88440B14A; Thu, 28 Apr 2016 06:42:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7555CAEBD for ; Thu, 28 Apr 2016 06:42: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 uCqfEYUbOVmJ for ; Thu, 28 Apr 2016 06:42:07 +0200 (CEST) Original-Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.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 88B01A9F0 for ; Thu, 28 Apr 2016 06:41:57 +0200 (CEST) Original-Received: by mail-wm0-f53.google.com with SMTP id n129so50567872wmn.1 for ; Wed, 27 Apr 2016 21:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:message-id:mime-version:subject:date:references:to:in-reply-to; bh=/aWXwOO/MiZGMH5vGOawmlljATpKRaVd1GYeE5H276c=; b=EV2LEAiPp54uk8V67pZ3XCk/dSOBY23ubj/0c24Ytt9AFLOvGcheyjZ/nyrJu4L0ts 5vXrrH+3/pZqXk5ThA4MYGNkKD4aApe6YfLQNAVJFsbAUDyJhG4RpF1IgiVaY8FLB5Eb 9C2kfKeBJAjXZesBe6DEmIB2JNlyZ0WyaSDFf1qQXckW5fhfaIPI3x2P/MX3tF0bPlvj 6VJMTP1QZRMDU0cMtZ5TnRxBhQro895MbyFlu2NPiGC7zETqKxtKqoCFvz/E5uS30le1 Hi0G5aFddZ15M67C//NEFm/q14H9AUxm1fK1D4s9O5TlTJc2ZcH+UIh6O/SejOY7DfTM I4cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:mime-version:subject:date :references:to:in-reply-to; bh=/aWXwOO/MiZGMH5vGOawmlljATpKRaVd1GYeE5H276c=; b=F7YbB3YzWotSn0JwIoQZSXaRaMcGjBbfPA5M0qrLazDCB40oJMf6/CS6/o61UARQlc OJUKwvZnLtb0FqWdi0W3nfKHAaGrXbv8QEDlDG4x375kagFW2jvBorbb8Q8/rI0iOAS4 laOMkfHCWvgQ3H7/Lh4aY31fzkVDukrQXpan7BAby8GXQENUYnh1UjD0Ue5bVqTdBF7u 7IBHuJCfsE7IgrL+SVFVATnqEHFkGKldBGQGWR7dyAQrJlPZC4Hi7/EPNZYMzP6FUtkU S+qEMRvvVXbu6URJLpjiUhY16LlYY2MM/0qilnNpJlW7njiH5QKJSW1Ggg10ibTFtcue 57JA== X-Gm-Message-State: AOPr4FWg11AgFM3wUyi8zE5NR/B0/fDHGqipiLVlpyZ3kLwKNV1nx5T5JynP7cJ9dsKtww== X-Received: by 10.28.11.143 with SMTP id 137mr27043789wml.92.1461818517085; Wed, 27 Apr 2016 21:41:57 -0700 (PDT) Original-Received: from [192.168.0.12] (lns-bzn-22-82-249-122-97.adsl.proxad.net. [82.249.122.97]) by smtp.gmail.com with ESMTPSA id u12sm11803315wmu.12.2016.04.27.21.41.55 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Apr 2016 21:41:56 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3124) 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" X-Spam-Report: 5.0 points; * 3.2 RCVD_ILLEGAL_IP Received: contains illegal IP address * 0.0 HTML_MESSAGE BODY: HTML included in message * 1.8 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars Xref: news.gmane.org gmane.comp.tex.context:94563 Archived-At: --===============6682437652117004746== Content-Type: multipart/alternative; boundary="Apple-Mail=_32634395-2762-45F9-BF35-36B1DCB9FCDB" --Apple-Mail=_32634395-2762-45F9-BF35-36B1DCB9FCDB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Mohammad Reza, I tried your example, but it seems to me that the way the columns are = presented when writing Right-to-Left is still incorrect. In the = following example one should have the column containing the lines =C2=AB = First =C2=BB and =C2=AB Second =C2=BB to the right of the column = containing =C2=AB Third =C2=BB and =C2=AB Fourth =C2=BB. I don=E2=80=99t know if there is already a way to tell ConTeXt to do it = in the right way, or Hans has to look into the righttoleft mechanism. The same issue appears in the table mechanism. By the way, the option=20 [direction=3Dreverse] seems to have no effect at all in Right-to-Left environment. %%% begin example-RtoL-reverse.tex \usemodule[simplefonts] \setmainfont[ALM Fixed][features=3Darabic,range=3Darabic] \setupdirections[bidi=3Dglobal,method=3Dtwo] \setupalign[righttoleft] \starttext =D8=A2=D8=B2=D9=85=D8=A7=DB=8C=D8=B4 =D9=86=D9=88=D8=B4=D8=AA=D9=86 =D8=A7= =D8=B2 =D8=B1=D8=A7=D8=B3=D8=AA =D8=A8=D9=87 =DA=86=D9=BE \startitemize[columns,two][direction=3Dreverse] \item First \item Second \item Third \item Fourth \stopitemize =D8=A2=D8=B2=D9=85=D8=A7=DB=8C=D8=B4 =D9=86=D9=88=D8=B4=D8=AA=D9=86 =D8=A7= =D8=B2 =D8=B1=D8=A7=D8=B3=D8=AA =D8=A8=D9=87 =DA=86=D9=BE \startitemize[columns,two][direction=3Dreverse] \startitem =DB=8C=DA=A9 \stopitem \startitem =D8=AF=D9=88 \stopitem \startitem =D8=B3=D9=87 \stopitem \startitem =DA=86=D9=87=D8=A7=D8=B1 \stopitem \stopitemize \stoptext %%% end example-RtoL-reverse.tex Best regards: OK > On 27 Apr 2016, at 23:22, Mohammad Hossein Bateni = wrote: >=20 > I actually figured out that one can use the following: >=20 > \startitemize[columns,two][direction=3Dreverse] > \item first > \item second > \item third > \stopitemize >=20 > On Wed, Apr 27, 2016 at 10:06 AM, Mohammad Hossein Bateni = > wrote: > Wolfgang, >=20 > Did you imply in the email below that a new key or something was added = to \startitemize setups? I mean, using \setupmixedcolumns works fine = but is it possible to do this in each \startitemize individually? >=20 > Thanks, > Hossein >=20 > On Mon, Feb 22, 2016 at 4:43 AM, Wolfgang Schuster = > = wrote: >> Bou Salim 21. Februar 2016 um 13:26 >> I have posted a question in tex stack exchange >> Customize right to left list in context = >> My aim is to obtain right to left items arranged in multi-column, = if I use=20 >> \startitemize [s,columns,three] [margin=3D1em] =20 >> the result is three column where first column start from left side of = page, but I want it to start from right side of page. >>=20 >> I can use \startcolumns[direction=3Dleft]\startitemize \item First = \item Second \item Third \stopitemize \stopcolumns=20 >> but I think it look better if there is a key direction=3Dleft for the = \startitemize environment such as used in columns environment. > The underlying columns mechanism has a reverse option for the = direction key. I sent a patch to the dev list which allows a direst = setting of the direction value with the \startitemize command. >=20 > \starttext >=20 > \startitemize[columns,three] > \dorecurse{9}{\item Entry \recurselevel} > \stopitemize >=20 > \blank[3*line] >=20 > \setupmixedcolumns[itemgroupcolumns][direction=3Dreverse] >=20 > \startitemize[columns,three] > \dorecurse{9}{\item Entry \recurselevel} > \stopitemize >=20 > \stoptext >=20 > Wolfgang >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ >=20 >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_32634395-2762-45F9-BF35-36B1DCB9FCDB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi Mohammad Reza,

I tried your example, but it seems to me that the way the = columns are presented when writing Right-to-Left is still incorrect. In = the following example one should have the column containing the lines =C2=AB= First =C2=BB and =C2=AB Second =C2=BB to the right of the column = containing =C2=AB Third =C2=BB and =C2=AB Fourth =C2=BB.

I don=E2=80=99t know if = there is already a way to tell ConTeXt to do it in the right way, or = Hans has to look into the righttoleft mechanism.
The = same issue appears in the table mechanism.

By the way, the option 
= [direction=3Dreverse]
seems to have no = effect at all in Right-to-Left environment.

%%% begin = example-RtoL-reverse.tex
\usemodule[simplefonts]
\setmainfont[ALM = Fixed][features=3Darabic,range=3Darabic]

\setupdirections[bidi=3Dglobal,method=3Dtwo]
\setupalign[righttoleft]

\starttext
=D8=A2=D8=B2=D9=85=D8=A7=DB=8C=D8=B4 =D9=86=D9=88=D8=B4=D8=AA=D9= =86 =D8=A7=D8=B2 =D8=B1=D8=A7=D8=B3=D8=AA =D8=A8=D9=87 =DA=86=D9=BE
<= div class=3D"">
\startitemize[columns,two][direction=3Dreverse]
\item First
\item Second
\item Third
\item Fourth
\stopitemize

=D8=A2=D8=B2=D9=85=D8=A7=DB=8C=D8=B4 =D9=86=D9=88=D8=B4=D8=AA=D9= =86 =D8=A7=D8=B2 =D8=B1=D8=A7=D8=B3=D8=AA =D8=A8=D9=87 =DA=86=D9=BE
<= div class=3D"">\startitemize[columns,two][direction=3Dreverse]

\startitem
=DB=8C=DA=A9
\stopitem

\startitem
=D8=AF=D9=88
\stopitem

\startitem
=D8=B3=D9=87
\stopitem


\startitem
=DA=86=D9=87=D8=A7=D8=B1
<= div class=3D"">\stopitem
\stopitemize
\stoptext
%%% end = example-RtoL-reverse.tex

Best regards: OK

On = 27 Apr 2016, at 23:22, Mohammad Hossein Bateni <bateni@gmail.com> = wrote:

I actually figured out that one can use the = following:

\startitemize[columns,two][direction=3Dreverse]
\item first
\item second
\item third
\stopitemize

On Wed, = Apr 27, 2016 at 10:06 AM, Mohammad Hossein Bateni <bateni@gmail.com> wrote:
Wolfgang,

Did you imply in the email below that a new key or something = was added to \startitemize setups?  I mean, using = \setupmixedcolumns works fine but is it possible to do this in each = \startitemize individually?

Thanks,
Hossein

On Mon, Feb 22, 2016 at 4:43 AM, Wolfgang = Schuster <schuster.wolfgang@gmail.com> wrote:
21.=20 Februar 2016 um 13:26
I have posted  a question in tex stack exchange

Customize right to left list in context

My = aim is to obtain=20 right to left  items arranged  in  multi-column, if I = use 
\startitemize [s,columns,three] [margin=3D1em]   
the result is three column where first=20 column start from left side of page, but I want it to start from right=20= side of page.

I = can use \startcolumns[direction=3Dleft]\startitemize= \item First \item Second \item Third \stopitemize = \stopcolumns 
but I think it look better if there is a key direction=3Dleft for the \startitemize environment such as used in columns environment.
The underlying columns mechanism has a reverse option for the direction=20= key. I sent a patch to the dev list which allows a direst setting of the direction value with the \startitemize command.

\starttext

\startitemize[columns,three]
\dorecurse{9}{\item Entry \recurselevel}
\stopitemize

\blank[3*line]

\setupmixedcolumns[itemgroupcolumns][direction=3Dreverse]

\startitemize[columns,three]
\dorecurse{9}{\item Entry \recurselevel}
\stopitemize

\stoptext

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
= __________________________________________________________________________= _________


= __________________________________________________________________________= _________
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
_______________________________________________________________= ____________________
= --Apple-Mail=_32634395-2762-45F9-BF35-36B1DCB9FCDB-- --===============6682437652117004746== 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= --===============6682437652117004746==--