From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76877 Path: news.gmane.org!not-for-mail From: "Rogers, Michael K" Newsgroups: gmane.comp.tex.context Subject: Re: Portrait -> Landscape -> Portrait Date: Mon, 11 Jun 2012 13:13:49 +0000 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1076755582==" X-Trace: dough.gmane.org 1339420448 15045 80.91.229.3 (11 Jun 2012 13:14:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2012 13:14:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 11 15:14:07 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Se4RZ-0003IA-Cx for gctc-ntg-context-518@m.gmane.org; Mon, 11 Jun 2012 15:14:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 23668101E5; Mon, 11 Jun 2012 15:14: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 (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JzH07mcE9TPB; Mon, 11 Jun 2012 15:14:03 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 506C2101DF; Mon, 11 Jun 2012 15:14:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C5F44101DF for ; Mon, 11 Jun 2012 15:14:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id u67orcVS0QcM for ; Mon, 11 Jun 2012 15:14:00 +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 2BDB8101DD for ; Mon, 11 Jun 2012 15:13:59 +0200 (CEST) Original-Received: from ndb-mr2.cc.emory.edu (ndb-mr2.cc.emory.edu [170.140.52.250]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5BDDvmJ001688 for ; Mon, 11 Jun 2012 15:13:58 +0200 Original-Received: from e14edge2w.Emory.Edu (emoryfloatdmz.cc.emory.edu [170.140.52.254]) by ndb-mr2.cc.emory.edu (8.13.8/8.13.8) with ESMTP id q5BDDow8008701 for ; Mon, 11 Jun 2012 09:13:51 -0400 Original-Received: from E14CH4W.Enterprise.emory.net (10.240.10.116) by e14edge2w.Emory.Edu (170.140.108.22) with Microsoft SMTP Server (TLS) id 14.2.283.3; Mon, 11 Jun 2012 09:13:50 -0400 Original-Received: from E14MBX20N.Enterprise.emory.net ([fe80::e9ea:8c9d:f94e:7cd3]) by e14ch4w.Enterprise.emory.net ([::1]) with mapi id 14.02.0283.003; Mon, 11 Jun 2012 09:13:50 -0400 Thread-Topic: [NTG-context] Portrait -> Landscape -> Portrait Thread-Index: AQHNR6x34gtUpmfb80K4v5sJAPKJ75b1W8mA In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [170.140.30.131] X-Emory-MailScanner-Information: Please contact the ISP for more information X-Emory-MailScanner-ID: q5BDDow8008701 X-Emory-MailScanner: Found to be clean X-Emory-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.28, required 8, autolearn=disabled, HTML_FONT_FACE_BAD 0.29, HTML_MESSAGE 0.00, T_RP_MATCHES_RCVD -0.01) X-Emory-MailScanner-From: mroge02@emory.edu X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=170.140.52.250; country=US; region=GA; city=Atlanta; postalcode=30322; latitude=33.7952; longitude=-84.3248; metrocode=524; areacode=404; http://maps.google.com/maps?q=33.7952,-84.3248&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QHl1dW3S - d86eb682375f - 20120611 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76877 Archived-At: --===============1076755582== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_E899564EFD17450188FE355E084F8ED8emoryedu_" --_000_E899564EFD17450188FE355E084F8ED8emoryedu_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Jun 9, 2012, at 7:08 AM, pddzaic wrote: Hello context-friends, I have switched from Latex to Context and my first impression of Context is= : WOW :-) Unfortunately, I did not understand how to switch between landscape and por= trait. Here a minimal working example: \mainlanguage[en] \setuplayout[ paper=3DA4, topspace=3D1cm, header=3D2cm, headerdistance=3D0.25cm, footerdistance=3D0.25cm, footer=3D0.6cm, bottomspace=3D1cm, margin=3D2.5cm, width=3Dmiddle, height=3Dmiddle] \starttext \showframe \chapter{First chapter} \input knuth % Change to landscape \page\setuppapersize[A4,landscape][A4,landscape] \section{First section} \input knuth % Reverts to the global layout \page\setuppapersize[A4,portrait][A4,portrait] \chapter{Second chapter} \input knuth \stoptext As you can see in the result the layout of the landscaped-page is not as I = expected. Can somebody help me? Works for me: portrait, landscape, portrait. What version of ConTeXT do you= have? I have ver: 2012.06.09 01:22 MKIV fmt: 2012.6.10 ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). --_000_E899564EFD17450188FE355E084F8ED8emoryedu_ Content-Type: text/html; charset="us-ascii" Content-ID: <4835A0CEE7527643AB7B8C8F31E319C4@Enterprise.emory.net> Content-Transfer-Encoding: quoted-printable
On Jun 9, 2012, at 7:08 AM, pddzaic wrote:

Hello context-friends,

I have switched from Latex to Context and my first impression of Conte= xt is: WOW :-)

Unfortunately, I did not understand how to switch between landscape an= d portrait. Here a minimal working example:


\mainlanguage[= en]

\setuplayout[<= /font>
    = paper=3DA4,
    = topspace=3D1cm,
    = header=3D2cm,
    = headerdistance=3D0.25cm,
    = footerdistance=3D0.25cm,
    = footer=3D0.6cm,
    = bottomspace=3D1cm,
    = margin=3D2.5cm, 
    = width=3Dmiddle,
    = height=3Dmiddle]
 <= /div>

\starttext
\showframe

\chapter{First= chapter}
\input knuth

% Change to la= ndscape
\page\setuppap= ersize[A4,landscape][A4,landscape]

\section{First= section}
\input knuth

% Reverts to t= he global layout
\page\setuppap= ersize[A4,portrait][A4,portrait]
\chapter{Secon= d chapter}
\input knuth

\stoptext

As you can see in the result the layout of the landscaped-page is not = as I expected.

Can somebody help me?

Works for me: portrait, landscape, portrait. What version of ConTeXT d= o you have?  I have ver: 2012.06.09 01:22 MKIV  fmt: 20= 12.6.10




This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
--_000_E899564EFD17450188FE355E084F8ED8emoryedu_-- --===============1076755582== 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 ___________________________________________________________________________________ --===============1076755582==--