From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93596 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: not able to change paper sizes Date: Thu, 04 Feb 2016 17:39:04 +0100 Message-ID: <56B37EA8.9070603@gmail.com> References: <56AFA620.2030004@gmx.es> <56B2075B.10501@wxs.nl> <56B37A16.4080708@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6134586128660629690==" X-Trace: ger.gmane.org 1454603992 7215 80.91.229.3 (4 Feb 2016 16:39:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 16:39:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 04 17:39:40 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 1aRMwV-0001t2-IT for gctc-ntg-context-518@m.gmane.org; Thu, 04 Feb 2016 17:39:39 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id ED93866FC; Thu, 4 Feb 2016 17:39:21 +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 V6uckUxY_owY; Thu, 4 Feb 2016 17:39:20 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 0FB3A6734; Thu, 4 Feb 2016 17:39:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A836865DA for ; Thu, 4 Feb 2016 17:39:18 +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 fKPDlR9nbG1g for ; Thu, 4 Feb 2016 17:39:17 +0100 (CET) Original-Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) (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 E0A356566 for ; Thu, 4 Feb 2016 17:39:07 +0100 (CET) Original-Received: by mail-wm0-f41.google.com with SMTP id g62so12921001wme.0 for ; Thu, 04 Feb 2016 08:39:07 -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=5VysVOwc5VhJVyii0h/7hxzPp2QucpTrm/OxDjUorrE=; b=zsJqWF7arBLuwy2tW+5OdxmGwatoNqqQPBRffX3lo47WJrFSu5v4CZPY2QdnVm5eCA 8liVV905UFXS6B8/ZQWJ+Yx0nU5xPR9qculUM/H9K+Pf0gNpftIexVM/Cpfcu8l4Sqce onlqS7z00UNU5U98lqhkrB0hVGHLW0Yq7T7yG2HMXxXXKOStpG/7EW4Yp7ULnhzYG+yP zp+/TvOxvNWQ/OT35wetIqFHSe8LkzW91MCbIT8Qti8fAWxi6TJXJA6kO8A31LUq/Oie CcP11TSxAaqVYzAUI+Z2CFGDLMgdtV0mq/QaiEeJuN5oMSIyt5/M3Zr9R9g1qzM0Tan1 MzaA== 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:content-type; bh=5VysVOwc5VhJVyii0h/7hxzPp2QucpTrm/OxDjUorrE=; b=WZrRBbJXsQd0C1eBrJy6WDfumDu7uzT/E+Me/heB/8ImbuhadypEgvv8mxub9hS+fO VOtdCu1xAf/Gp6Dgq+2z8WLIDNlZpHZk/bSbU1mervXrZFnidK74Cck+tJjeTKwwfBeY wL+F/hn4vYwjH07GlFsYnnA+eP10b7YCP8ELfz5WzpQO30stIAgcl7y1+thVsXKvf5Pp 7O3PrWj1Xef7WWwOnJtF1tWc7NwaHngX9V3fqSvzIC5y6S/NIfxysF6niBU3H1kN0njy WW1WAowX4xXOBZPQ3W9VIwmIC3qPr9w+9EnmZUdAS1Q4qbxijHzLSIKpzRJ2emXEqCp+ p7SA== X-Gm-Message-State: AG10YOQIFcidy9aCByJ9TYjJB0fkmitDWREjcwUCqkV7CYO/5psQlZRzH1+8j9nCDkH5Gw== X-Received: by 10.194.105.99 with SMTP id gl3mr8860432wjb.90.1454603947109; Thu, 04 Feb 2016 08:39:07 -0800 (PST) Original-Received: from keima.localdomain (x2f290cc.dyn.telefonica.de. [2.242.144.204]) by smtp.gmail.com with ESMTPSA id lh1sm11990536wjb.20.2016.02.04.08.39.06 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Feb 2016 08:39:06 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <56B37A16.4080708@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:93596 Archived-At: This is a multi-part message in MIME format. --===============6134586128660629690== Content-Type: multipart/alternative; boundary="------------060301090608040800080500" This is a multi-part message in MIME format. --------------060301090608040800080500 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Pablo Rodriguez > 4. Februar 2016 um 17:19 > > Hans, > > many thanks for your reply Pablo. > > I=E2=80=99m afraid that dimensions seem not to be adapted: > > \definepapersize[main] [A4] [A4] > \definepapersize[extra][A4,landscape][A4,landscape] > > \definelayer[test][x=3D.5\paperwidth, y=3D.5\paperheight,state=3Drepeat= ] > \setlayer[test]{abcde} > > \setupbackgrounds[page][background=3D{test}] You have to reset the layer on each page. \definelayer[test][x=3D.5\paperwidth, y=3D.5\paperheight] \startsetups[testlayer] \setlayer[test]{abcde} \stopsetups \setupbackgrounds[page][setups=3Dtestlayer,background=3Dtest] Wolfgang --------------060301090608040800080500 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
4.= =20 Februar 2016 um 17:19

Hans,
many thanks for your reply Pablo.

I=E2=80=99m afraid that dimensions s= eem not to be adapted:

\definepapersize[main] [A4] [A4]
\definepapersize[extra][A4,landscape][A4,landscape]

=20 \definelayer[test][x=3D.5\paperwidth, y=3D.5\paperheight,state=3Drepeat]<= br> =20 \setlayer[test]{abcde}

=20 \setupbackgrounds[page][background=3D{test}]
You have to reset the layer on each page.

\definelayer[test][x=3D.5\paperwidth, y=3D.5\paperheight]

\startsetups[testlayer]
=C2=A0=C2=A0=C2=A0 \setlayer[test]{abcde}
\stopsetups

\setupbackgrounds[page][setups=3Dtestlayer,background=3Dtest]

Wolfgang
--------------060301090608040800080500-- --===============6134586128660629690== 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= --===============6134586128660629690==--