From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71259 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: Re: bug in \setuparranging Date: Thu, 22 Sep 2011 04:54:25 -0400 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1316681690 18349 80.91.229.12 (22 Sep 2011 08:54:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2011 08:54:50 +0000 (UTC) To: mailing list for ConTeXt users , Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 22 10:54:46 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R6f3N-0001U0-7T for gctc-ntg-context-518@m.gmane.org; Thu, 22 Sep 2011 10:54:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5CEE3CAFC1; Thu, 22 Sep 2011 10:54:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Pnqy+lir6Sfr; Thu, 22 Sep 2011 10:54:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D2EBCAFB2; Thu, 22 Sep 2011 10:54:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A3DC9CAFB2 for ; Thu, 22 Sep 2011 10:54:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7cLiGSMIJ86g for ; Thu, 22 Sep 2011 10:54:27 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 929B6CAFB0 for ; Thu, 22 Sep 2011 10:54:27 +0200 (CEST) Original-Received: from mail-qy0-f169.google.com (mail-qy0-f169.google.com [209.85.216.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8M8sQnX007573 for ; Thu, 22 Sep 2011 10:54:27 +0200 Original-Received: by qyl38 with SMTP id 38so6214289qyl.14 for ; Thu, 22 Sep 2011 01:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=DaQGKTODGDV9ORyWLl1i2kbD3RIT1HvSWRosz1wnEjU=; b=XvXPFYz1WUkZkr6LBlsPUfZYc7lYSBFlT47w5cex5P5UAPHJeUDocX76Bqx02g2K3W wGYQAAtA+6FwMax0qLHujduc8Qy8/JVHUDg70v3te/kI9Gu4PX3d2OwEh7ij2+X6Jx+9 J4m4Jsg98aH3veqOIfLY9NWc1C6zZ3uPrfbLo= Original-Received: by 10.229.63.164 with SMTP id b36mr1444573qci.65.1316681665883; Thu, 22 Sep 2011 01:54:25 -0700 (PDT) Original-Received: by 10.229.41.193 with HTTP; Thu, 22 Sep 2011 01:54:25 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.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: 0rFzISqxT - e0262bd53da0 - 20110922 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:71259 Archived-At: Hi, I think the bug appears in setup paper size as well: \setuppapersize[A4,landscape] \input zapf \bye produces the wrong result. Yue Wang On Thu, Sep 22, 2011 at 2:07 AM, Yue Wang wrote: > Hi, Hans: > > There's a bug in \setuparranging. > > The following case is easy to be understood: > > - I try to typeset "zapf" into a A4 landscape paper > - For the final output pdf, I want to rotate all the pages by 270 degrees. > > This sounds strange. But it is useful in vertical typesetting of CJK > language. (for example, use xetex font definition's =A0:vertical feature > to rotate all the fonts used, typeset on normal paper, and rotate the > page back. I certainly hope someday I can use MKIV's muti-dir omega > features, but now it's broken so this is the best way I can find) > > The code is listed below: > > \setuppapersize[A4,landscape][A4] > \setuppaper =A0 =A0 [nx=3D1,ny=3D1] > \setuparranging =A0 =A0 [XY, rotated, 270] > \setupcolors =A0 =A0 =A0 =A0[state=3Dstart] > \setupbackgrounds =A0 [page][page][background=3Dscreen] > \setuppagenumbering [state=3Dstop] > > \starttext > \input zapf > \stoptext > > > The bug: > > - in MKIV, it output no pages at all > - in MKII (both xetex and pdftex), the output page is not, however, > A4. but rather a square page with width=3Dheight=3DA4 height. > > I hope this bug can be fixed soon. > > By the way, are there other ways to rotate pages other than > setuparranging? From my daily use I found setup arranging is pretty > buggy. sometimes it even affects the layout of the contents. So most > time I have to compile a pdf, and than use setup arranging to > rearrange the pdf again to make the contents safe. > > Yue Wang > ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________