From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67224 Path: news.gmane.org!not-for-mail From: "C." Newsgroups: gmane.comp.tex.context Subject: Re: Feature request: setuppapersize Date: Sun, 20 Mar 2011 22:49:46 +0100 Message-ID: <003801cbe748$bb211480$31633d80$@gmx.de> References: <4D2B099F.5050106@wxs.nl> 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 1300657801 22781 80.91.229.12 (20 Mar 2011 21:50:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2011 21:50:01 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 20 22:49:57 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 1Q1QVZ-0001G6-5z for gctc-ntg-context-518@m.gmane.org; Sun, 20 Mar 2011 22:49:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B09D4CAB2B; Sun, 20 Mar 2011 22:49:47 +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 olJURFxD4yl0; Sun, 20 Mar 2011 22:49:45 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1CD90CAB19; Sun, 20 Mar 2011 22:49:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CD0F4CAB19 for ; Sun, 20 Mar 2011 22:49:43 +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 ZhzefGvToEJA for ; Sun, 20 Mar 2011 22:49:41 +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 6712ECAB15 for ; Sun, 20 Mar 2011 22:49:41 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p2KLnmQN006188 for ; Sun, 20 Mar 2011 22:49:48 +0100 Original-Received: (qmail invoked by alias); 20 Mar 2011 21:49:48 -0000 Original-Received: from f053213114.adsl.alicedsl.de (EHLO christianPC) [78.53.213.114] by mail.gmx.net (mp036) with SMTP; 20 Mar 2011 22:49:48 +0100 X-Authenticated: #61879178 X-Provags-ID: V01U2FsdGVkX1+kBCcki/2kEDGDrqrhrzJ8EZVI98XU9+3qn4nCt6 0PW65E1DP53wN4 In-Reply-To: X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQI76xrf4eUdYpxsOaBRl4XGwMnfWQFfiIQNAxOmOSgB9W/YAZMjdTVA Content-Language: de X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05ElxNMmr - 3492a4b31c07 - 20110320 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:67224 Archived-At: Did you try \setuppapersize[A5][A5] ? According to http://wiki.contextgarden.net/Reference/en/setuppapersize second argument (the print paper size) is A4 by default. > -----Urspr=FCngliche Nachricht----- > Von: Aditya Mahajan [mailto:adityam@umich.edu] > Gesendet: Samstag, 19. M=E4rz 2011 18:59 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Feature request: setuppapersize > = > On Mon, 10 Jan 2011, Aditya Mahajan wrote: > = > > On Mon, 10 Jan 2011, Hans Hagen wrote: > > > >> more elegant and downward compatible is this: > >> > >> \definepapersize > >> [samesized] > >> [ \c!width=3D\paperwidth, > >> \c!height=3D\paperheight] > >> > >> \setuppapersize > >> [A4][samesized] > >> > >> in page-lay.mkiv > > > > Indeed. This will also work fine. > = > I don't know if something changed, but this has stoopped working. > = > \setuppapersize[A5] > \starttext > \dorecurse{10}{\input knuth \endgraf} > \stoptext > = > With MkII I get > = > $pdfinfo page-test.pdf > Title: page-test > Subject: > Keywords: > Author: > Creator: ConTeXt - 2011.02.25 22:03 > Producer: pdfTeX-1.40.11 > CreationDate: Sat Mar 19 13:50:49 2011 > ModDate: ConTeXt - 2011.02.25 22:03 > Tagged: no > Pages: 5 > Encrypted: no > Page size: 595.276 x 841.89 pts (A4) > File size: 33436 bytes > Optimized: no > PDF version: 1.5 > = > With MkIV: > = > $pdfinfo page-test.pdf > Title: page-test > Creator: ConTeXt - 2011.02.25 22:03 > Producer: LuaTeX-0.65.0 > CreationDate: Sat Mar 19 13:53:29 2011 > ModDate: Sat Mar 19 13:53:29 2011 > Tagged: no > Pages: 5 > Encrypted: no > Page size: 595.276 x 841.89 pts (A4) > File size: 16057 bytes > Optimized: no > PDF version: 1.6 > = > Notice that the page size is still A4! Any idea why this is happening? > (I get the right paper size with letter, A0, A1, A2, A3, but wrong paper sizes > with anything smaller than A4). > = > Aditya ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________