From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62582 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: Temporary landscape Date: Wed, 13 Oct 2010 15:22:29 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=----------bGHjdSIhSeH6NQyaaioIeT X-Trace: dough.gmane.org 1286976175 15766 80.91.229.12 (13 Oct 2010 13:22:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 13:22:55 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 13 15:22:52 2010 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 1P61I7-0005PQ-N9 for gctc-ntg-context-518@m.gmane.org; Wed, 13 Oct 2010 15:22:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D8983CA71E; Wed, 13 Oct 2010 15:22:46 +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 pWn01tOjEKRi; Wed, 13 Oct 2010 15:22:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04C6ECA6DF; Wed, 13 Oct 2010 15:22:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 52ECCCA6DF for ; Wed, 13 Oct 2010 15:22:41 +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 HyfrK0Uw3IaB for ; Wed, 13 Oct 2010 15:22:37 +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 D5158CA620 for ; Wed, 13 Oct 2010 15:22:37 +0200 (CEST) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9DDMYam005319 for ; Wed, 13 Oct 2010 15:22:36 +0200 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Wed, 13 Oct 2010 15:22:32 +0200 User-Agent: Opera Mail/10.10 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xDidmz70 - a3a1bfd14c47 - 20101013 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:62582 Archived-At: ------------bGHjdSIhSeH6NQyaaioIeT Content-Type: text/plain; charset=iso-8859-2; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Hello, I need to typeset contents of a wide file. This works: --- \starttext \setuppapersize[A4,landscape][A4,landscape] \typefile[Dim]{Cha-MMax-iDL.txt} \page % RESTORE ORIGINAL PAGE SETTINGS AAA \stoptext --- And I'd like to find out how to restore previous page settings. I guess I could call something like "\setuppapersize[A4][A4]" at the pla= ce of "RESTORE ORIGINAL PAGE SETTINGS", but I'd rather something indepen= dent (now I'd have to suppose that previous page is of A4 format). I'm thinking about like enclosing the \setuppapersize[A4,landscape][A4,landscape] \typefile[Dim]{../../Statics/Dim/Res/Cha-MMax-iDL.txt} into an environment or something. Maybe something like \setupenvironment[MyEnv][...] in the preamble and l= ater \startenvironment[MyEnv] \setuppapersize[A4,landscape][A4,landscape] \typefile[Dim]{../../Statics/Dim/Res/Cha-MMax-iDL.txt} \stopenvironment Is there something like that? (Wiki: http://wiki.contextgarden.net/Refer= ence/en/startenvironment is a bit empty.) Lukas -- = Ing. Luk=E1=B9 Proch=E1zka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezov=E1 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ------------bGHjdSIhSeH6NQyaaioIeT Content-Disposition: attachment; filename=Cha-MMax-iDL.txt Content-Type: text/plain; name=Cha-MMax-iDL.txt Content-Transfer-Encoding: 7bit ;---------------------------------------------------------------------------------------------+ ; Ponton (R) "B" - Beam v1.3d/2010-10-13, (C) 2002-2010 Ing. Lukas Prochazka, Pontex s. r. o. | ;---------------------------------------------------------------------------------------------+ ; ; Sec.Name P. LC.Name Cat. N Mx.Cen My.Cen Con.A Con.Sig- C.Sg-.Per Re.A Ar/A Re.Sig+ R.Sg+.Per M. Flags Use ;----------------------------------------------------------------------------------------------------------------------------------------------- 0000.000 1 Cha-MMax 1 0 0 0 8.947 0 -18.000 0 0.000% 0 400.000 1 0000 ? 0000.325 1 Cha-MMax 1 -0.0003 0.0159 0 8.947 -0.060590 -18.000 0.051472 0.575% 3.239 400.000 1 .... 0.810% 0000.650 1 Cha-MMax 1 -0.0005 0.0636 0 8.947 -0.242535 -18.000 0.051472 0.575% 13.000 400.000 1 .... 3.25% 0001.350 1 Cha-MMax 1 0.0231 -2.081 0 8.947 -3.911 -18.000 0.051472 0.575% 66.217 400.000 1 .... 21.7% 0002.050 1 Cha-MMax 1 0.0086 -4.221 0 8.947 -7.934 -18.000 0.051472 0.575% 133.961 400.000 1 .... 44.1% 0002.750 1 Cha-MMax 1 0.0080 -5.799 0 8.947 -10.899 -18.000 0.051472 0.575% 183.979 400.000 1 .... 60.6% 0003.450 1 Cha-MMax 1 0.0074 -7.376 0 8.947 -13.864 -18.000 0.051472 0.575% 233.997 400.000 1 .... 77.0% 0004.150 1 Cha-MMax 1 0.0069 -8.358 0 8.947 -15.709 -18.000 0.051472 0.575% 265.119 400.000 1 .... 87.3% 0004.850 1 Cha-MMax 1 0.0063 -9.339 0 8.947 -17.554 -18.000 0.051472 0.575% 296.241 400.000 1 .... 97.5% 0005.550 1 Cha-MMax 1 0.0057 -9.638 0 8.947 -18.115 -18.000 0.051472 0.575% 305.712 400.000 1 .C.. 100.6% 0006.250 1 Cha-MMax 1 0.0051 -9.937 0 8.947 -18.677 -18.000 0.051472 0.575% 315.183 400.000 1 .C.. 103.8% 0006.950 1 Cha-MMax 1 0.0046 -9.616 0 8.947 -18.074 -18.000 0.051472 0.575% 305.003 400.000 1 .C.. 100.4% 0007.650 1 Cha-MMax 1 0.0040 -9.295 0 8.947 -17.471 -18.000 0.051472 0.575% 294.823 400.000 1 .... 97.1% 0008.350 1 Cha-MMax 1 0.0034 -8.368 0 8.947 -15.729 -18.000 0.051472 0.575% 265.420 400.000 1 .... 87.4% 0009.050 1 Cha-MMax 1 0.0028 -7.441 0 8.947 -13.986 -18.000 0.051472 0.575% 236.017 400.000 1 .... 77.7% 0009.750 1 Cha-MMax 1 0.0023 -5.861 0 8.947 -11.017 -18.000 0.051472 0.575% 185.903 400.000 1 .... 61.2% 0010.450 1 Cha-MMax 1 0.0017 -4.281 0 8.947 -8.047 -18.000 0.051472 0.575% 135.788 400.000 1 .... 44.7% 0011.150 1 Cha-MMax 1 0.0011 -2.109 0 8.947 -3.964 -18.000 0.051472 0.575% 66.888 400.000 1 .... 22.0% 0011.850 1 Cha-MMax 1 0.0005 0.0636 0 8.947 -0.243019 -18.000 0.051472 0.575% 13.089 400.000 1 .... 3.27% 0012.175 1 Cha-MMax 1 0.0003 0.0159 0 8.947 -0.060832 -18.000 0.051472 0.575% 3.283 400.000 1 .... 0.821% 0012.500 1 Cha-MMax 1 0 0 0 8.947 0 -18.000 0 0.000% 0 400.000 1 0000 ? ;----------------------------------------------------------------------------------------------------------------------------------------------- ; 1 Cha-MMax ? ? ? ? ? -18.677 ? ? ? 315.183 ? 0 .... 103.8% ------------bGHjdSIhSeH6NQyaaioIeT 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ------------bGHjdSIhSeH6NQyaaioIeT--