From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: not able to change paper sizes
Date: Thu, 04 Feb 2016 20:36:51 +0100 [thread overview]
Message-ID: <56B3A853.2010108@gmail.com> (raw)
In-Reply-To: <56B3A238.50409@gmx.es>
[-- Attachment #1.1: Type: text/plain, Size: 1149 bytes --]
> Pablo Rodriguez <mailto:oinos@gmx.es>
> 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=.5\paperwidth, y=.5\paperheight, state=start]
>>> \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’t matter.
Compare
%%%% begin example
\definelayer[test]
\setupbackgrounds[page][background=test]
\setlayerframed[test][x=3cm,y=3cm][foregroundstyle=sans]{Layer}
\starttext
\page[empty]
\stoptext
%%%% end example
with
%%%% begin example
\definelayer[test]
\setupbackgrounds[page][background=test]
\setupbodyfont[modern]
\setlayerframed[test][x=3cm,y=3cm][foregroundstyle=sans]{Layer}
\starttext
\page[empty]
\stoptext
%%%% end example
The foregroundstyle setting has no effect in the first example because
no font was loaded at this point.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2377 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-02-04 19:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-01 18:38 Pablo Rodriguez
2016-02-03 13:57 ` Hans Hagen
2016-02-04 16:19 ` Pablo Rodriguez
2016-02-04 16:39 ` Wolfgang Schuster
2016-02-04 17:08 ` Pablo Rodriguez
2016-02-04 18:03 ` Wolfgang Schuster
2016-02-04 18:43 ` Pablo Rodriguez
2016-02-04 18:54 ` Wolfgang Schuster
2016-02-04 19:10 ` Pablo Rodriguez
2016-02-04 19:36 ` Wolfgang Schuster [this message]
2016-02-04 20:31 ` Pablo Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56B3A853.2010108@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).