ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Subject: Re: \setuppapersize[XY] not working properly with landscape orientation
Date: Thu, 7 Sep 2006 19:11:54 +0200	[thread overview]
Message-ID: <6faad9f00609071011o4abf3149u467f437e66109e4c@mail.gmail.com> (raw)
In-Reply-To: <45003CC1.6000200@gmx.net>

On 9/7/06, Peter Rolf wrote:
> Mojca Miklavec wrote:
> >> Have you tried \setupbackgrounds[paper][background=...]?
> >
> > I didn't know about that before. Now I tried it, but it had no effect.
> >
> mhh, works here (but maybe not in your example?)
>
> \setupoutput[pdftex]
> \setupcolors[state=start]
>
> \defineoverlay[test][{\bgroup\color[red]\blackrule[height=\paperheight,width=\paperwidth]\egroup}]
> \setupbackgrounds[paper][background=test]
>
> \starttext
> \null
> \stoptext

Your example works, but the following doesn't:

\setupcolors[state=start]

\defineoverlay[test][{\bgroup\color[red]\blackrule[height=\paperheight,width=\paperwidth]\egroup}]
\setupbackgrounds[paper][background=test]
% or: \setupbackgrounds[paper][background=color,backgroundcolor=red]

\setuppapersize
	[XY][A4,landscape]
\setuppaper
	[nx=3,ny=1]
\setuparranging
	[XY]

\starttext
\null
\stoptext

Mojca

  reply	other threads:[~2006-09-07 17:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-07 12:45 Mojca Miklavec
2006-09-07 13:26 ` Peter Rolf
2006-09-07 14:30   ` Mojca Miklavec
2006-09-07 15:37     ` Peter Rolf
2006-09-07 17:11       ` Mojca Miklavec [this message]
2006-09-07 19:22 ` Willi Egger
2006-09-13  8:41 ` Mojca Miklavec
2006-09-14 19:39   ` Hans Hagen

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=6faad9f00609071011o4abf3149u467f437e66109e4c@mail.gmail.com \
    --to=mojca.miklavec.lists@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).