ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aidan Nichol <aidan@nicholware.co.uk>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: PageSetup
Date: Thu, 14 Apr 2016 11:16:43 +0100	[thread overview]
Message-ID: <4D65D36A-9CB6-42DC-9A44-6A83BD6107C4@nicholware.co.uk> (raw)

I’ve been have been having a couple of problems with swapping pages and so I went back to the example in Context Garden using the latest beta

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

\setuppapersize[main]
\starttext
Page 1. Portrait \page
Page 2. Portrait \page
\adaptpapersize[extra]
Page 3. Landscape \page
Page 4. Portrait \page
\stoptext

The main problem I have is that \adaptpapersize is working as though I had entered \setuppapersize. Page 3 was created as landscape and but it didn’t revert to main to give page 4 as portrait.

The secondary issue is that the landscape page is not as expected in that it is a square page. Inserting a \showsetups and \showframe into page 3 I can see that it is layed out Ok but on a large piece of paper. \printpaperwidth and \printpaperheight are both set to 29.7cm.

Aidan
___________________________________________________________________________________
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
___________________________________________________________________________________

                 reply	other threads:[~2016-04-14 10:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4D65D36A-9CB6-42DC-9A44-6A83BD6107C4@nicholware.co.uk \
    --to=aidan@nicholware.co.uk \
    --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).