* error in XY imposition @ 2011-12-16 15:22 Henning Hraban Ramm 2011-12-16 15:42 ` Hans Hagen 0 siblings, 1 reply; 8+ messages in thread From: Henning Hraban Ramm @ 2011-12-16 15:22 UTC (permalink / raw) To: mailing ConTeXt users list for 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) ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: error in XY imposition 2011-12-16 15:22 error in XY imposition Henning Hraban Ramm @ 2011-12-16 15:42 ` Hans Hagen 2011-12-19 13:03 ` Henning Hraban Ramm 0 siblings, 1 reply; 8+ messages in thread From: Hans Hagen @ 2011-12-16 15:42 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: error in XY imposition 2011-12-16 15:42 ` Hans Hagen @ 2011-12-19 13:03 ` Henning Hraban Ramm 2011-12-19 17:37 ` Henning Hraban Ramm 0 siblings, 1 reply; 8+ messages in thread From: Henning Hraban Ramm @ 2011-12-19 13:03 UTC (permalink / raw) To: Hans Hagen 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) ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: error in XY imposition 2011-12-19 13:03 ` Henning Hraban Ramm @ 2011-12-19 17:37 ` Henning Hraban Ramm 2011-12-19 21:53 ` Hans Hagen 0 siblings, 1 reply; 8+ messages in thread From: Henning Hraban Ramm @ 2011-12-19 17:37 UTC (permalink / raw) To: mailing list for ConTeXt users 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) ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: error in XY imposition 2011-12-19 17:37 ` Henning Hraban Ramm @ 2011-12-19 21:53 ` Hans Hagen 2011-12-20 11:24 ` Henning Hraban Ramm 0 siblings, 1 reply; 8+ messages in thread From: Hans Hagen @ 2011-12-19 21:53 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: error in XY imposition 2011-12-19 21:53 ` Hans Hagen @ 2011-12-20 11:24 ` Henning Hraban Ramm 2011-12-20 12:13 ` Wolfgang Schuster 0 siblings, 1 reply; 8+ messages in thread From: Henning Hraban Ramm @ 2011-12-20 11:24 UTC (permalink / raw) To: mailing ConTeXt users list for 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: error in XY imposition 2011-12-20 11:24 ` Henning Hraban Ramm @ 2011-12-20 12:13 ` Wolfgang Schuster 2011-12-20 12:31 ` Henning Hraban Ramm 0 siblings, 1 reply; 8+ messages in thread From: Wolfgang Schuster @ 2011-12-20 12:13 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: error in XY imposition 2011-12-20 12:13 ` Wolfgang Schuster @ 2011-12-20 12:31 ` Henning Hraban Ramm 0 siblings, 0 replies; 8+ messages in thread From: Henning Hraban Ramm @ 2011-12-20 12:31 UTC (permalink / raw) To: mailing list for ConTeXt users 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) ___________________________________________________________________________________ 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] 8+ messages in thread
end of thread, other threads:[~2011-12-20 12:31 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-12-16 15:22 error in XY imposition 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 2011-12-20 12:13 ` Wolfgang Schuster 2011-12-20 12:31 ` Henning Hraban Ramm
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).