From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49046 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: \framed (and others) don't honor directional switches Date: Fri, 3 Apr 2009 22:47:23 +0200 Message-ID: <20090403204723.GA28189@khaled-laptop> References: <20090403123501.GA12675@khaled-laptop> <49D6075C.80106@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1967785762==" X-Trace: ger.gmane.org 1238791729 8641 80.91.229.12 (3 Apr 2009 20:48:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Apr 2009 20:48:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 03 22:50:07 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LpqKz-0003Sg-Hb for gctc-ntg-context-518@m.gmane.org; Fri, 03 Apr 2009 22:50:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A8C071FB57; Fri, 3 Apr 2009 22:48:39 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31970-04; Fri, 3 Apr 2009 22:48:04 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AAF041FADF; Fri, 3 Apr 2009 22:48:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 522531FADF for ; Fri, 3 Apr 2009 22:48:02 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30456-10 for ; Fri, 3 Apr 2009 22:47:55 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id AFA6B1FADB for ; Fri, 3 Apr 2009 22:47:55 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n33KlrKp026416 for ; Fri, 3 Apr 2009 22:47:54 +0200 Original-Received: by wf-out-1314.google.com with SMTP id 25so1308775wfc.5 for ; Fri, 03 Apr 2009 13:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=s2afNHvRacUYBJqcQzL+Q2WAHCEHS9Gv/63ulqIVGqc=; b=UaYMtskr4xKzIIfdRiJJFUpniDaPESk+dAwmC2cpxPBKQOhJ5q6QF0YH7lWOfs5vIF Muf0W/ZFLdh4P28JrBUq6LZ9HEjDlyunwmZxtMiy4hP8o8dSFs1BfEmdbV/BUmMcQW0j 5RGyiAEx4A4LeRqzzttKGrY2753Q67KM/FXMA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Qpsb990w4gzCOksnarQhduc1GnACD+uUWrxAO3909AU2mVeFkNsMEhicb/H0+a5pno IMZfi46i2MPM83CmiBVgypap22IPCE8zx9P6HMzKqnoCZgKIqOqGEbzXBMxZk3Q8J+oo 3NAesvunRW2MNfIlwvKCdNFoSIkEDtdRg1NTU= Original-Received: by 10.142.51.4 with SMTP id y4mr422272wfy.303.1238791672696; Fri, 03 Apr 2009 13:47:52 -0700 (PDT) Original-Received: from localhost ([41.237.37.141]) by mx.google.com with ESMTPS id 22sm3302222wfd.6.2009.04.03.13.47.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Apr 2009 13:47:51 -0700 (PDT) In-Reply-To: <49D6075C.80106@wxs.nl> User-Agent: Mutt/1.5.18 (2008-05-17) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.200.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 203695512 - 9079e658bbe0 - 20090403 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:49046 Archived-At: --===============1967785762== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline --0F1p//8PRICkK4MW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 03, 2009 at 02:55:56PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> framed, framedtext, TEXpage (and may be others), no longer honor >> directional switches. I'm sure TEXpage at least was OK a month ago. >> >> \pagedir TRT\bodydir TRT\pardir TRT\textdir TRT >> \starttext >> \startTEXpage >> \input tufte >> \stopTEXpage >> \framed{Hello world} >> \startframedtext >> \input tufte >> \stopframedtext >> \startbackground >> \input tufte >> \stopbackground >> \stoptext > > if so then it's a side effect of changesin the engine (changes in rl =20 > handling are dangerous because macro packages are internally lr in many = =20 > aspects (like positioning data relative to other data) and patching each = =20 > macro for rl is non trivial (due to possible side effects) so first we = =20 > need to be sure that the luatex engine is okay I tried to debug thus further, compiling the following document with both plain and context formats, in plain all boxes are TRT (the part of the log after "Completed box being shipped out [1]"), while in context all boxes are TLT except that hbox that contains the text. Though I don't know how much relevant is this or what it does actually mean. \pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \tracingall Hello \hbox{World} \bye Regards, Khaled --=20 Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer --0F1p//8PRICkK4MW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknWddoACgkQRoqITGOuyPKgVACfatM1/Ta9RSgqxByMSwNk3NX0 FhYAn1nZ5F82ZqXX4Bgi3MnOefF2G9dC =jRU8 -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- --===============1967785762== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1967785762==--