From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93193 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Switching to landscape Date: Mon, 28 Dec 2015 00:06:08 +0100 Message-ID: <56806EE0.6010602@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1142480457441910257==" X-Trace: ger.gmane.org 1451257613 22519 80.91.229.3 (27 Dec 2015 23:06:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2015 23:06:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 28 00:06:42 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aDKOg-00088O-0l for gctc-ntg-context-518@m.gmane.org; Mon, 28 Dec 2015 00:06:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E5C7C59D7; Mon, 28 Dec 2015 00:06:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zu-jYcNrArIe; Mon, 28 Dec 2015 00:06:23 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 3881D5AB5; Mon, 28 Dec 2015 00:06:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 15C5D5A79 for ; Mon, 28 Dec 2015 00:06:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DbIL4z93htJX for ; Mon, 28 Dec 2015 00:06:21 +0100 (CET) Original-Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 59E0859D7 for ; Mon, 28 Dec 2015 00:06:11 +0100 (CET) Original-Received: by mail-wm0-f45.google.com with SMTP id p187so246325694wmp.1 for ; Sun, 27 Dec 2015 15:06:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=1jGw5c/SNXjo6aIcrufIYCMNij+y6JxeHm8CVYihMZc=; b=FsAQUTkfo4gBRyXKxi83xLXI1fM2tVe9ncEpxRpb50cNkvHcl/rSRKJm8jTdEtCRzt Z0t/7KvwJGseA/ERTVO6oDnU0j08fRP0Mr4QNH7gm8mweN0hv2uLE0fr3aRmmkLV9dtf YrtdbHYNY1IPRk9+AVohYjljFRQBFgbf90EXFYMKEMLBszWQK2kwTzQ0wswj0elma6RC A4HKiha7j+S6KoFslLycZ+BEbFYsf+nqV9yTth94eDjf76SBClUcX5kHiQ4OvodLCp3v NDqHOL30xwL86PEmFSFWMAdQbvxPwSYSbcCA1AGxGYRXB9JIKUpzVk1Vj9wSBZhXltOi o+5Q== X-Received: by 10.194.61.207 with SMTP id s15mr4852446wjr.83.1451257570743; Sun, 27 Dec 2015 15:06:10 -0800 (PST) Original-Received: from keima.localdomain (x2f28400.dyn.telefonica.de. [2.242.132.0]) by smtp.gmail.com with ESMTPSA id cs4sm54584357wjc.10.2015.12.27.15.06.09 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Dec 2015 15:06:10 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:93193 Archived-At: This is a multi-part message in MIME format. --===============1142480457441910257== Content-Type: multipart/alternative; boundary="------------080703000303080508050409" This is a multi-part message in MIME format. --------------080703000303080508050409 Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: quoted-printable > Luk=E1=9A Proch=E1zka > 27. Dezember 2015 um 22:19 > Hello, > > I have problem switching to landscape paper size (and landscape=20 > printing). > > Based on > > http://wiki.contextgarden.net/PaperSetup > > I have: > > ---- > \definepapersize[A4L][A4,landscape] > > \starttext > Aaa > \page > %\setuppapersize[A4,landscape] > \setuppapersize[A4L] > Bbb > \stoptext > ---- > > But neither "\setuppapersize[A4,landscape]" nor "\setuppapersize[A4L]"=20 > works - still portrait paper orientation; > so how to switch to landscape page orientation? It=92s a bug but for the moment you can call \setuplayout (no arguments=20 are necessary) after \setupapersize to have the correct sizes in the PDF. Wolfgang --------------080703000303080508050409 Content-Type: text/html; charset=windows-1250 Content-Transfer-Encoding: quoted-printable
27= .=20 Dezember 2015 um 22:19
Hello,

I have problem switching to landscape paper size (and landscape=20 printing).

Based on
=A0=A0=A0=A0
=A0=A0=A0=A0http://wiki.contextgarden.net/PaperSetup

I have:

----
\definepapersize[A4L][A4,landscape]

\starttext
=A0 Aaa
=A0 \page
=A0 %\setuppapersize[A4,landscape]
=A0 \setuppapersize[A4L]
=A0 Bbb
\stoptext
----

But neither "\setuppapersize[A4,landscape]" nor=20 "\setuppapersize[A4L]" works - still portrait paper orientation;
so how to switch to landscape page orientation?
It=92s a bug but for the moment you can call \setuplayout (no arguments=20 are necessary) after \setupapersize to have the correct sizes in the=20 PDF.

Wolfgang
--------------080703000303080508050409-- --===============1142480457441910257== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1142480457441910257==--