From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86489 Path: news.gmane.org!not-for-mail From: amerke Newsgroups: gmane.comp.tex.context Subject: Re: different page sizes on one sheet Date: Thu, 27 Feb 2014 19:08:51 +0100 Message-ID: <530F7F33.7060008@udo.edu> References: <530BA3BB.2070508@udo.edu> <1C65D8A5-075D-4EF2-9130-D9FB0D359240@gmail.com> <530CA969.8090506@udo.edu> <2D79A833-7E52-4902-8F78-2DC21027102E@gmail.com> <530DFC3C.9070602@udo.edu> <20140226164613.GB8698@mini> <530EF303.3070400@udo.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1393524547 20424 80.91.229.3 (27 Feb 2014 18:09:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Feb 2014 18:09:07 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 27 19:09:14 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WJ5OU-0006fV-HO for gctc-ntg-context-518@m.gmane.org; Thu, 27 Feb 2014 19:09:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 96043101EB; Thu, 27 Feb 2014 19:09:13 +0100 (CET) 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 4XoMccdtqXvB; Thu, 27 Feb 2014 19:09:12 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3A99E101E3; Thu, 27 Feb 2014 19:09:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0BD3D101E3 for ; Thu, 27 Feb 2014 19:09:11 +0100 (CET) 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 mGQe-EXResX6 for ; Thu, 27 Feb 2014 19:08:59 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id BC3C4101E1 for ; Thu, 27 Feb 2014 19:08:54 +0100 (CET) Original-Received: from unimail.uni-dortmund.de (mx1.HRZ.Uni-Dortmund.DE [129.217.128.51]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1RI8r6n005139 for ; Thu, 27 Feb 2014 19:08:53 +0100 Original-Received: from [192.168.178.32] (krlh-5f7235a7.pool.mediaWays.net [95.114.53.167]) (authenticated bits=0) by unimail.uni-dortmund.de (8.14.8/8.14.8) with ESMTP id s1RI8qfw016703 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT) for ; Thu, 27 Feb 2014 19:08:52 +0100 (CET) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=129.217.128.51; country=DE; region=07; city=Dortmund; latitude=51.5167; longitude=7.4500; http://maps.google.com/maps?q=51.5167,7.4500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VLvu8RVx - 7af8d3997191 - 20140227 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86489 Archived-At: hi, i ended up using a very flexible (open source, LUA scriptable by option) imposition tool: podofoimpose (http://podofo.sourceforge.net/tools.html) it's just an additional step to get my output done (as my ConTeXt files are generated by a ruby script) ... cheers artur On 02/27/2014 04:43 PM, Aditya Mahajan wrote: > On Thu, 27 Feb 2014, amerke wrote: > >> hi rudolf (& list), >> >> thank you for your 'quick hack', it's ok for my current solution. >> page number, margins and background and stuff like grid alignment are >> still a problem ... >> >> but, i suppose, there must be :-) a tiny piece of code in ConTeXt, >> where the rotation of the whole page can be achieved (but still >> treating the page as a landscape page for the above setup arranging >> layer) >> >> maybe someone knows how to do it and can share his knowledge ... ? > > Do you need interaction (hyperref in latex-speak) to work? If not, one > possibility is the following. > > You anyways have to do manual page-breaking because your sheets are of > different size. Create a PDF with two A6 pages followed by an A5 page > (and repeat). > > Use a separate CLD (Context lua document) for arranging. Once you know > the number of pages of the pdf (you can get this in lua as well as in > tex), you can simple use something like (pseudo code) > > for i = 1, no_of_page, 3 do > context.setlayer( {"page"}, {x = "0", y = "0" }, { > "\\externalfigure[file][page=i]" }) > context.setlayer( {"page"}, {x = "0", y = "0.5\\textheight" }, { > "\\externalfigure[file][page=i+1]" }) > context.setlayer( {"page"}, {x = "0.5\\textwidth", y = "0" }, { > "\\externalfigure[file][page=i+2]" }) > end > > Aditya > ___________________________________________________________________________________ > > 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 ___________________________________________________________________________________