ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing ConTeXt users list for <ntg-context@ntg.nl>
Subject: Re: error in XY imposition
Date: Tue, 20 Dec 2011 12:24:37 +0100	[thread overview]
Message-ID: <84E4E525-1FA8-4A84-AB4B-0EE2C9FE7A05@fiee.net> (raw)
In-Reply-To: <4EEFB25C.8010407@wxs.nl>

Am 2011-12-19 um 22:53 schrieb Hans Hagen:

>> It looks to me like \setuppaper resets paper size.
>> Is this something you can/will fix, or should I just document that  
>> you
>> need to setup imposition in this order?
>
> you can check the next (not yet there) beta
>
> the problem is that \setuppaper(size) can also set up the sizes  
> directly (page=,paper=) .. (unfortunately page/paper is used while  
> paper/print makes more sense but changing that now ...)

Hm, paper and page keys work neither in \setuplayout (as shown in wiki  
example for \setuppaper) nor in \setuppaper.
They seem to get ignored in the first case (no effect, AFAICS) and  
give an error in the latter:
"""
ConTeXt  ver: 2011.12.19 22:53 MKIV  fmt: 2011.12.20  int: english/ 
english

system          > cont-new.mkiv loaded
(/Users/hraban/Library/texmf/tex/texmf-context/tex/context/base/cont- 
new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > testcal.top loaded
(testcal.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
! Missing number, treated as zero.

system          > tex > error on line 7 in file testcal.tex: Missing  
number, treated as zero ...

...

<to be read again>
                    \relax
\pages_paper_set_current_indeed ...c!width \relax
                                                   \global  
\paperheight \layo...
\setup_paper_size_settings_recalibrate ..._print ]
                                                   \fi  
\letlayouttargetparame...
\setuppaper ...up_paper_size_settings_recalibrate
                                                   \fi
l.7 ...kspace=10.5mm,page=a7,paper={a4,landscape}]
"""


This is my test file:
"""
%\setuppapersize		[A7][A4,landscape]
\setuplayout[location=middle,marking=on],page=a7,paper={a4,landscape}]
\setuppaper      
[nx 
= 
3 
,ny 
= 
1 
,dx 
=0mm,dy=0mm,topspace=19mm,backspace=10.5mm,page=a7,paper={a4,landscape}]
\setuparranging [XY]

\starttext

\dorecurse{3}{
\input knuth
\page
\input ward
\page
\input tufte
\page

}

\stoptext
"""

It works, if I uncomment \setuppapersize and delete the last two  
parameters of \setuppaper.
Unfortunately it works only with my small test file, not with my  
actual project - I’m still investigating...


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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:[~2011-12-20 11:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-16 15:22 Henning Hraban Ramm
2011-12-16 15:42 ` Hans Hagen
2011-12-19 13:03   ` Henning Hraban Ramm
2011-12-19 17:37     ` Henning Hraban Ramm
2011-12-19 21:53       ` Hans Hagen
2011-12-20 11:24         ` Henning Hraban Ramm [this message]
2011-12-20 12:13           ` Wolfgang Schuster
2011-12-20 12:31             ` Henning Hraban Ramm

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=84E4E525-1FA8-4A84-AB4B-0EE2C9FE7A05@fiee.net \
    --to=hraban@fiee.net \
    --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).