From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71257 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: bug in \setuparranging Date: Thu, 22 Sep 2011 02:07:57 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316671691 19290 80.91.229.12 (22 Sep 2011 06:08:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2011 06:08:11 +0000 (UTC) To: mailing list for ConTeXt users , Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 22 08:08:07 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 1R6cS6-0000z9-JZ for gctc-ntg-context-518@m.gmane.org; Thu, 22 Sep 2011 08:08:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A2DE9CAFBA; Thu, 22 Sep 2011 08:08:05 +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 CgV-qxzyJ5iT; Thu, 22 Sep 2011 08:08:05 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 947A5CAFB1; Thu, 22 Sep 2011 08:08:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 75633CAFB1 for ; Thu, 22 Sep 2011 08:08:01 +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 dtjdN8FQHXRW for ; Thu, 22 Sep 2011 08:07:59 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 90C36CAFB0 for ; Thu, 22 Sep 2011 08:07:59 +0200 (CEST) Original-Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.216.176]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8M67wFe009668 for ; Thu, 22 Sep 2011 08:07:58 +0200 Original-Received: by qyk27 with SMTP id 27so2771498qyk.14 for ; Wed, 21 Sep 2011 23:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=yJaqLKSI0GRvls7i6/vbgue2NSZa4BUN4xRl9cmTPkY=; b=HF343KtCbIe6yfVyytKTvMBybXQvelK9BNlhbMpF4NgmqxCOGWf+NHNmoVdyfncZSN OgdmMKYu1IlUUKr1DFRT/QOVDteiiJmhGEgmMp6ThJWldC1ptyuGCgNDZPPAjA1IEd/T Xcmwymx8YQR4tx3UBjpZaNZywoxmH1Dir27w8= Original-Received: by 10.229.63.140 with SMTP id b12mr1352820qci.27.1316671677831; Wed, 21 Sep 2011 23:07:57 -0700 (PDT) Original-Received: by 10.229.41.193 with HTTP; Wed, 21 Sep 2011 23:07:57 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.176; 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: 0xFzG7Wu7 - 6db3c01792dc - 20110922 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:71257 Archived-At: 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 :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 [nx=1,ny=1] \setuparranging [XY, rotated, 270] \setupcolors [state=start] \setupbackgrounds [page][page][background=screen] \setuppagenumbering [state=stop] \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=height=A4 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 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 ___________________________________________________________________________________