From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93812 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: right to left direction for itemize columns Date: Mon, 22 Feb 2016 10:43:33 +0100 Message-ID: <56CAD845.4060708@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6326711376490281215==" X-Trace: ger.gmane.org 1456134240 12767 80.91.229.3 (22 Feb 2016 09:44:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 09:44:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 22 10:43:48 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 1aXn1p-0004iw-FJ for gctc-ntg-context-518@m.gmane.org; Mon, 22 Feb 2016 10:43:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 246B96D79; Mon, 22 Feb 2016 10:43:31 +0100 (CET) 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 1ACUj1PgRlC3; Mon, 22 Feb 2016 10:43:30 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 6A88D6E2A; Mon, 22 Feb 2016 10:43:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3BA356D79 for ; Mon, 22 Feb 2016 10:43:29 +0100 (CET) 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 f3U7GlAr3puN for ; Mon, 22 Feb 2016 10:43:27 +0100 (CET) Original-Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (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 E70626D78 for ; Mon, 22 Feb 2016 10:43:17 +0100 (CET) Original-Received: by mail-wm0-f54.google.com with SMTP id g62so163043548wme.1 for ; Mon, 22 Feb 2016 01:43:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=u3IHs6G1C4oB6AWdQhC+Bu6J2n7ALKT/E6WK0u8zqrM=; b=e5FvR3zPXU9wjAmxj9QyROhzqsFKU6GOpc/eTvTMZ9+eiui9puptmQlFKGsUD+4bgm n0m+l8vl0wJNTwjkZ4GoArtKaxp8h8O9M1au9K516+h80149c6ORIe/pi0JvVoxiSQb1 7lt8MVlFSaXVGI9eXW8Qo0b3LpgCHMEfMDN5dvGH4eBBJgGVYO4I8pWsIXg29PcoVrEA rCtDQnj3/4eYmJuRPIZuY7s2p7YdDMrI2IGep26rDlIaKWmVqaLoUy7qaauDsvtNR1/t ZdtnzYobgt7LhpZdvTC+9MLmjSZsE9agPsFDX8tXWtq4laGgKFF0K1zisBcwcjIFVncy KdPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=u3IHs6G1C4oB6AWdQhC+Bu6J2n7ALKT/E6WK0u8zqrM=; b=EHz7B33cNiAj0ckgV2H9XP5PuN9lUFzvTxpt0USzak3DvENGmBATmIW45kJmGCNcTn sF/os9qfHB4+DMIlFiWt0bKS99ru70kVJ/F0pkQVMRnUTVdfWhhTOWGmuZDQNH1lltBg 3DhSHpWSdKGBAMbv43kTtB51ujsZksuzR4GQ/Kc/qaRQ6pLh0qnHhw8or3PeeMPeR4mS RatFi0g+uLO1k1Q+83in3U2ty+6E6nbshVUJ+ELR0I9qs3K/GYMFZ1DhiJdhOoY0Ui70 gMTRRr0Sujz4FO7Fv6pydRLqST82vjqJGGqY7R0kk5TiMZcviiJUSLyRjP2TCKSZuHtP W+EQ== X-Gm-Message-State: AG10YOQ2ijbiySqkprWG7sWemi0d8Fk8HTP6M1UplkENI952CqWCW0VRrRK+CROTAPTLTg== X-Received: by 10.28.111.135 with SMTP id c7mr12009064wmi.46.1456134197507; Mon, 22 Feb 2016 01:43:17 -0800 (PST) Original-Received: from keima.localdomain (x2f30282.dyn.telefonica.de. [2.243.2.130]) by smtp.gmail.com with ESMTPSA id lz5sm23746170wjb.5.2016.02.22.01.43.16 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 22 Feb 2016 01:43:17 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: 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:93812 Archived-At: This is a multi-part message in MIME format. --===============6326711376490281215== Content-Type: multipart/alternative; boundary="------------000100050108090803000002" This is a multi-part message in MIME format. --------------000100050108090803000002 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > 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 > \startitemize[s,columns,three][margin=1em] > 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. > > I can use \startcolumns[direction=left]\startitemize \item First \item > Second \item Third \stopitemize \stopcolumns > but I think it look better if there is a key direction=left 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. \starttext \startitemize[columns,three] \dorecurse{9}{\item Entry \recurselevel} \stopitemize \blank[3*line] \setupmixedcolumns[itemgroupcolumns][direction=reverse] \startitemize[columns,three] \dorecurse{9}{\item Entry \recurselevel} \stopitemize \stoptext Wolfgang --------------000100050108090803000002 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
21= .=20 Februar 2016 um 13:26
I have post= ed =C2=A0a question in tex stack exchange

Customiz= e right to left list in context

My aim is to obtain=20 right to left =C2=A0items arranged =C2=A0in =C2=A0multi-column, if I use=C2= =A0
\startitemize [s,columns,three] [margin=3D1em] =C2=A0=C2=A0
the result is three column wh= ere first=20 column start from left side of page, but I want it to start from right=20 side of page.

I can use=C2=A0\startcolumns[direction=3Dleft]\startitemize \item First \item Second \item Third \stopitemize \stopcolumns=C2=A0
but I think it look better if there is a key=C2=A0direction=3Dleft=C2=A0for the=C2=A0\startitemize=C2=A0environment such as used in=C2=A0columns=C2=A0environment.
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
--------------000100050108090803000002-- --===============6326711376490281215== 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= --===============6326711376490281215==--