ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PageSetup
@ 2016-04-14 10:16 Aidan Nichol
  0 siblings, 0 replies; only message in thread
From: Aidan Nichol @ 2016-04-14 10:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-14 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-14 10:16 PageSetup Aidan Nichol

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).