Hi there, as soon as I activate arranging "XY", and run ConTeXt with "-- arrange", I get this error: ConTeXt ver: 2011.12.16 13:54 MKIV fmt: 2011.12.16 int: english/ english \@@pp:height ...rheight -2\v_page_target_topspace \relax \v_page_target_height ...argetparameter \c!height \relax \pusharrangedpage ...\ifdim \v_page_target_height >\zeropoint to \v_page_tar... \page_shipouts_arrange ...rrangedpage \scratchbox \deadcycles \zerocount \page_boxes_shipout ... {\box \shipoutscratchbox } \fi \the \everyaftershipou... \finaloutput ...\page_boxes_constructed_page #1#2} \vskip \zeropoint \relax \... ... l.24 \stoptext Tiny example: \setuppapersize [A7][A4] \setuppaper [nx=2,ny=2] \setuparranging [XY] \starttext \strut \stoptext Other imposition schemas like 2UP seem to work. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
On 16-12-2011 16:22, Henning Hraban Ramm wrote:
\setuppapersize [A7][A4] \setuppaper [nx=2,ny=2] \setuparranging [XY]
\starttext \strut
\stoptext
fixed in next beta -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 2011-12-16 um 16:42 schrieb Hans Hagen:
On 16-12-2011 16:22, Henning Hraban Ramm wrote:
\setuppapersize [A7][A4] \setuppaper [nx=2,ny=2] \setuparranging [XY]
\starttext \strut
\stoptext
fixed in next beta
This error is fixed, but in latest beta imposition doesn’t work at all any more: All pages of one sheet are printed on each other. Paper sizes are ignored. e.g. \definepapersize [filius][width=92mm, height=172mm] \setuppapersize [filius][A4,landscape] %\setuppapersize [A7][A4] \setuppaper [nx=2,ny=2] %,dx=0mm,dy=0mm,topspace=19mm,backspace=10.5mm] \setuplayout[location=middle,marking=on] %\setuplayout [page][topspace=19mm, backspace=10.5mm, location=middle, marking=on] \setuparranging [XY] \starttext \strut\page \input tufte \strut\page \input ward \strut\page \input knuth \strut\page \input tufte \stoptext Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
Am 2011-12-19 um 14:03 schrieb Henning Hraban Ramm:
Am 2011-12-16 um 16:42 schrieb Hans Hagen:
On 16-12-2011 16:22, Henning Hraban Ramm wrote:
\setuppapersize [A7][A4] \setuppaper [nx=2,ny=2] \setuparranging [XY]
\starttext \strut
\stoptext
fixed in next beta
This error is fixed, but in latest beta imposition doesn’t work at all any more: All pages of one sheet are printed on each other. Paper sizes are ignored.
The problem is to get the order of the commands right. This works (but is not very intuitive IMO): \definepapersize [filius][width=92mm, height=172mm] \setuplayout[location=middle,marking=on] \setuppaper [nx=3,ny=1] %,dx=0mm,dy=0mm,topspace=19mm,backspace=10.5mm] \setuppapersize [filius][A4,landscape] \setuparranging [XY] 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? Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
On 19-12-2011 18:37, Henning Hraban Ramm wrote:
Am 2011-12-19 um 14:03 schrieb Henning Hraban Ramm:
Am 2011-12-16 um 16:42 schrieb Hans Hagen:
On 16-12-2011 16:22, Henning Hraban Ramm wrote:
\setuppapersize [A7][A4] \setuppaper [nx=2,ny=2] \setuparranging [XY]
\starttext \strut
\stoptext
fixed in next beta
This error is fixed, but in latest beta imposition doesn’t work at all any more: All pages of one sheet are printed on each other. Paper sizes are ignored.
The problem is to get the order of the commands right. This works (but is not very intuitive IMO):
\definepapersize [filius][width=92mm, height=172mm] \setuplayout[location=middle,marking=on] \setuppaper [nx=3,ny=1] %,dx=0mm,dy=0mm,topspace=19mm,backspace=10.5mm] \setuppapersize [filius][A4,landscape] \setuparranging [XY]
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 ...) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.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)
Am 20.12.2011 um 12:24 schrieb Henning Hraban Ramm:
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: """ […]
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}]
TeX is case sensitive and “a7” ≠ “A7”. Wolfgang
Am 2011-12-20 um 13:13 schrieb Wolfgang Schuster:
Am 20.12.2011 um 12:24 schrieb Henning Hraban Ramm:
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: """ […]
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}]
TeX is case sensitive and “a7” ≠ “A7”.
Aarrgh, I thought I tested that (or I implied, all the formats had lowercase synonyms, whatever). Yes, it works with "A" formats in \setuppaper. Thank you, good catch! Best Greetlings! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
participants (3)
-
Hans Hagen
-
Henning Hraban Ramm
-
Wolfgang Schuster