From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94258 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: duplex printing and doublesided Date: Mon, 04 Apr 2016 11:35:26 +0200 Message-ID: <5702355E.7080101@gmail.com> References: <56E7FF63.2070200@gmx.es> <56FCE2AD.8020901@wxs.nl> <56FEDFED.1000109@gmx.es> <57000AF0.3070305@gmail.com> <57000F92.4040102@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3852384756848922522==" X-Trace: ger.gmane.org 1459762566 18171 80.91.229.3 (4 Apr 2016 09:36:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Apr 2016 09:36:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 04 11:35:54 2016 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 1an0vJ-0005oe-8B for gctc-ntg-context-518@m.gmane.org; Mon, 04 Apr 2016 11:35:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 71C759F23; Mon, 4 Apr 2016 11:35:41 +0200 (CEST) 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 rF4mEZ63rT9o; Mon, 4 Apr 2016 11:35:40 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id B2EFA9F20; Mon, 4 Apr 2016 11:35:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C580E9F1D for ; Mon, 4 Apr 2016 11:35:39 +0200 (CEST) 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 GKSrkbfexSe6 for ; Mon, 4 Apr 2016 11:35:39 +0200 (CEST) Original-Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) (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 4547C9F1C for ; Mon, 4 Apr 2016 11:35:29 +0200 (CEST) Original-Received: by mail-lb0-f180.google.com with SMTP id vo2so152009798lbb.1 for ; Mon, 04 Apr 2016 02:35:29 -0700 (PDT) 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; bh=UwVZFA7XcugQWoyk1uyqe3yl0VIw9q6esebZ5ZYdz1M=; b=rzhj+XEbxM73ntZ5YWdEQ7X31Q/4D9nyrdrzFMn2iYsjfYEajDfuYTWVHO+yhfM9Jj 2XXeft7sU27GUIEd+OBzeC0EjK0qbOGgbEhZ4PkeWGCrO/5SSlC+VQwiL3QcuoYKwJXB 4nfSKIe+dcioWZdFxw1eqcy+9AGMC/KjHgug0weerUgMkSK2ZptOhINbHiQ3abxgzQuI a5UeMbrXSCLjjSqs6wG2/ClOqgf7VJAFfKmU7lwW1PWL10diRbLxUbDTcTLr4SNV1cRk XVP4UK9qCsEj1OzJoESW3xDVVptwiW9k4w7WK2DNoMqy0YTXah2wbAx5CvhPtcU+t+y3 naJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=UwVZFA7XcugQWoyk1uyqe3yl0VIw9q6esebZ5ZYdz1M=; b=H0JnxHDvF15CA6KtYVCnwqE0OmX/7KXBSGFI0NcKmWSZSKEfhWYW9swgWRD+mlBE2/ 9ByTym/79Yf0cfRZwtWo/HSnICu/EkA4pzKRURn9l8+zobmZ0B0fpMhPRaT5+LJXVxxd H2AbsViguWYqSHJ1pkjk3K1I3gcyO021nshGxpoka+tt2OrgRf5/uRJX2Zg2kSzlNuPJ 7oLPOX3fwZrpHslN7beKCQKb/S2a89A9u+yHb3GDicaXai0t12ohMKG2oAtlLQZZC41S +eGeq1y0Tz1p/pj3Vdmctm/+1ovC4yP2judIdDvP7zDV2ptHQEKGgXsSunJo3sttf1DN rw+w== X-Gm-Message-State: AD7BkJKIZLL7FJeLXZQ4GhcTsMhVkwlCCCn82U2PrmvXPHobQK1NJBjWrGnYoBPNj4YLSQ== X-Received: by 10.28.148.19 with SMTP id w19mr11023040wmd.10.1459762528589; Mon, 04 Apr 2016 02:35:28 -0700 (PDT) Original-Received: from keima.localdomain (x2f25eba.dyn.telefonica.de. [2.242.94.186]) by smtp.gmail.com with ESMTPSA id g203sm12836256wmf.23.2016.04.04.02.35.26 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Apr 2016 02:35:27 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <57000F92.4040102@gmx.es> 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:94258 Archived-At: This is a multi-part message in MIME format. --===============3852384756848922522== Content-Type: multipart/alternative; boundary="------------070501090606070608060907" This is a multi-part message in MIME format. --------------070501090606070608060907 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Pablo Rodriguez > 2. April 2016 um 20:29 > > Wolfgang, this was my original sample: > > \setuppagenumbering[alternative=3Ddoublesided] > \setupinteractionscreen[option=3Dportrait] > \starttext > No duplex printing. > \page[right] > In this document. > \stoptext > > The doublesided alternative disables duplex printing. > > Hans wrote about portrait and landscape as directives. I guess they > should be invoked with \enabledirective, but I don=E2=80=99t know how. No, the option key for \setupinteractionscreen is correct but there are=20 a few problems. 1. When you have a doublesided document the =E2=80=9Cportrait=E2=80=9D op= tion loads the=20 values of the doublesided option. 2. Since you can set only one argument for the option key context has to=20 set a values for the PDF document which means you can set the zoom value and=20 dupley print option at the same time. A better solution would be to assign each=20 option only a certain function and allow one to set=20 \setupinteractionscreen[option=3D{doublesided,portrait}]. Wolfgang --------------070501090606070608060907 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2.= =20 April 2016 um 20:29

Wolfgang, th= is=20 was my original sample:

=20 \setuppagenumbering[alternative=3Ddoublesided]
=20 \setupinteractionscreen[option=3Dportrait]
\starttext
No=20 duplex printing.
\page[right]
In this document.
=20 \stoptext

The doublesided alternative disables duplex printing.
Hans wrote about portrait and landscape as directives. I guess they
should be invoked with \enabledirective, but I don=E2=80=99t know how.
No, the option key for \setupinteractionscreen is correct but there are a few problems.

1. When you have a doublesided document the =E2=80=9Cportrait=E2=80=9D op= tion loads the=20 values
=C2=A0=C2=A0 of the doublesided option.

2. Since you can set only one argument for the option key context has to set a values
=C2=A0=C2=A0 for the PDF document which means you can set the zoom value = and=20 dupley print
=C2=A0=C2=A0 option at the same time. A better solution would be to assig= n each=20 option only a certain
=C2=A0=C2=A0 function and allow one to set=20 \setupinteractionscreen[option=3D{doublesided,portrait}].

Wolfgang
--------------070501090606070608060907-- --===============3852384756848922522== 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= --===============3852384756848922522==--