From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93604 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 20:36:51 +0100 Message-ID: <56B3A853.2010108@gmail.com> References: <56AFA620.2030004@gmx.es> <56B2075B.10501@wxs.nl> <56B37A16.4080708@gmx.es> <56B37EA8.9070603@gmail.com> <56B38571.3090703@gmx.es> <56B39287.5060309@gmail.com> <56B39BCF.4030600@gmx.es> <56B39E56.2000805@gmail.com> <56B3A238.50409@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7999978574653195760==" X-Trace: ger.gmane.org 1454614655 29681 80.91.229.3 (4 Feb 2016 19:37:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 19:37:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 04 20:37:23 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 1aRPiU-0001AA-9S for gctc-ntg-context-518@m.gmane.org; Thu, 04 Feb 2016 20:37:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 48C136759; Thu, 4 Feb 2016 20:37:07 +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 AR-1Y7Ic53ff; Thu, 4 Feb 2016 20:37:06 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 8CC666794; Thu, 4 Feb 2016 20:37:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AABC6677E for ; Thu, 4 Feb 2016 20:37:05 +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 ouaVdqb3vf5A for ; Thu, 4 Feb 2016 20:37:05 +0100 (CET) Original-Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (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 334846759 for ; Thu, 4 Feb 2016 20:36:55 +0100 (CET) Original-Received: by mail-wm0-f44.google.com with SMTP id g62so19828006wme.0 for ; Thu, 04 Feb 2016 11:36:55 -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=RU2SFYh2j7oJLYdCqsyssBe91unukWd7o8AaVvVuo1I=; b=eZYQ2ksjq4ea1mbhwH2KbgJXkKN6Oc6ZQK7PgD5DIKm/tNI4xeqyeqX6kUKVXxTosm HXPzFN4hc8TDhOU7HxhH0XEYntmHFYf9uU+JK1t94smM2F0KhuGCI4Tkls/f3uHaC0Zk FVBrRKEijRzXFAdvldL7hhSp+DxbxcpvnXDnFY/j/aY1bc+JVZEkoTBXTUG7XgVEzIvN xOKlfd9VKClqsSLpHKILOkPhrJLtQ0eQJuMHvUYzGJjLEbmK1yJuWtn/pLrtjxwmdN7h rHDkSxqmlKN6WnXH97zdG5H7IRqKpY1PYxwoyqoXg2Gr6uGBwSx1UOEO2CVk6b2RwZpQ T43Q== 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=RU2SFYh2j7oJLYdCqsyssBe91unukWd7o8AaVvVuo1I=; b=ivx11eqTDPpqUSmBogjqKKQDx4gMGKQ9IXgpQYWwan4mkMAMefyVjByN0lxSOMOimK w0jw9+bPxi3FL+csrIpde3qcPSLlfglwJMIHYvfoSz9kZ/hpMy/9cdot9VeFmJOpYG3d nArBppjZcgsEyVXH9GG65fY7lCKODHm1fmbD17rn98r7uO2EDi7PDQiyrTYq3wFUVQbg FDApGIooUNNYYW1y6fGNxcjCyGOYdlnisi7aGhPifzw9ub2puAC+6bJeKLU0BproMxOK dzj4g6He6n+YxH56VbPbXs8BE5tfF88QuMoKQTY3Mtfid5CQnkQM+VjHlwelrc6sEdHz fVfA== X-Gm-Message-State: AG10YOSA7nFcqTivw0HVAUgAcYreCCL6ryM6uo1ZK8ia5DXox2yUG36Hg7/dWSTi8VHRcg== X-Received: by 10.194.21.163 with SMTP id w3mr9933284wje.58.1454614614542; Thu, 04 Feb 2016 11:36:54 -0800 (PST) Original-Received: from keima.localdomain (x2f290cc.dyn.telefonica.de. [2.242.144.204]) by smtp.gmail.com with ESMTPSA id u72sm14146204wmd.16.2016.02.04.11.36.53 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Feb 2016 11:36:53 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <56B3A238.50409@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:93604 Archived-At: This is a multi-part message in MIME format. --===============7999978574653195760== Content-Type: multipart/alternative; boundary="------------030906030207010103020202" This is a multi-part message in MIME format. --------------030906030207010103020202 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Pablo Rodriguez > 4. Februar 2016 um 20:10 > On 02/04/2016 07:54 PM, Wolfgang Schuster wrote: >>> Pablo Rodriguez 4. Februar 2016 um 19:43 >>> >>> But I get two test2 on page 2: >>> >>> \definelayer[test1][x=3D.5\paperwidth, y=3D.5\paperheight, state=3Dst= art] >>> \setlayer[test1]{page1} >> Set the layer content after \starttext or load a font before you set i= t, >> otherwise context uses a monospace font as fallback. > > Many thanks for the tip. But I really use foregroundstyle with > \setlayerframed. This doesn=E2=80=99t matter. Compare %%%% begin example \definelayer[test] \setupbackgrounds[page][background=3Dtest] \setlayerframed[test][x=3D3cm,y=3D3cm][foregroundstyle=3Dsans]{Layer} \starttext \page[empty] \stoptext %%%% end example with %%%% begin example \definelayer[test] \setupbackgrounds[page][background=3Dtest] \setupbodyfont[modern] \setlayerframed[test][x=3D3cm,y=3D3cm][foregroundstyle=3Dsans]{Layer} \starttext \page[empty] \stoptext %%%% end example The foregroundstyle setting has no effect in the first example because=20 no font was loaded at this point. Wolfgang --------------030906030207010103020202 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
4.= =20 Februar 2016 um 20:10
On 02/04/2016=
 07:54 PM, Wolfgang Schuster wrote:
=
Pablo Rodriguez 4. Februar 2016 um 19:43

But I get two test2 on page 2:

\definelayer[test1][x=3D.5\paperwidth, y=3D.5\paperheight, state=3Dstart]
\setlayer[test1]{page1}
Set the layer content after \starttext =
or load a font before you set it,
otherwise context uses a monospace font as fallback.

Many thanks for the tip. But I really use foregroundstyle with
\setlayerframed.
This doesn=E2=80=99t matter.

Compare

%%%% begin example
\definelayer[test]

\setupbackgrounds[page][background=3Dtest]

\setlayerframed[test][x=3D3cm,y=3D3cm][foregroundstyle=3Dsans]{Layer}

\starttext
\page[empty]
\stoptext
%%%% end example

with

%%%% begin example
\definelayer[test]

\setupbackgrounds[page][background=3Dtest]

\setupbodyfont[modern]

\setlayerframed[test][x=3D3cm,y=3D3cm][foregroundstyle=3Dsans]{Layer}

\starttext
\page[empty]
\stoptext
%%%% end example

The foregroundstyle setting has no effect in the first example because=20 no font was loaded at this point.

Wolfgang
--------------030906030207010103020202-- --===============7999978574653195760== 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= --===============7999978574653195760==--