From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7067 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Request for arbitrary n-by-m printing setup. Date: Thu, 28 Feb 2002 09:36:46 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020228093242.03bba3c8@server-1> References: <02022717361000.08926@gaia> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035397560 16201 80.91.224.250 (23 Oct 2002 18:26:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:26:00 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Daniel Joyce In-Reply-To: <02022717361000.08926@gaia> Xref: main.gmane.org gmane.comp.tex.context:7067 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7067 At 05:36 PM 2/27/2002 -0600, Daniel Joyce wrote: > Okay, after sturggling to make business cards with a graphic in > them, and >finding that embedding a placefigure inside a frame inside a combination >yields inconsistent and unfixable results (1), I finally got it working >using combinations, frames, and figuretext. Figuretext is less flexible >than placefigure, but fixes the problem mention in (1), IE, the weird >tabbing down/over of other placefigures. > > 1) Fix placefigure so it works inside combination, and other > placefigures. >externalgraphic does work inside combinations, buuut, you can't have >laid-out out text inside a external graphic... Maybe I should try >tex-graphics? \startbuffer some text \stopbuffer \externalgraphic[buffer][width=4cm] should work > 2) Allow arbitrary n-by-m pagesetups for printing. Businesscards > come out >as punchouts 2 wide by 5 deep on a US letter page. If I could define a >'business' card page and then lay them out for printing on such a page, I >would have had to use the frame/combination kludge. As it is, I had to >define a frame 3.5x2 inches, put my text & graphics in that, then put the >frames inside a combination. Works, but it's messy. \setuppapersize[A8][A4] \setuplayout[nx=4,ny=4] \starttext \input tufte \stoptext > (1) By unfixable, the very first text/graphic would be layed out > properly >inside the combination, but all the others would be moved down or over a >set amount. What's funny is the frames would stay put, but the >text/graphics inside would be moved down/out of the frames! Frames don't >seem to contain their contents very well. No amount of twiddling with >combination, frames, or placefigure settings fixed this. Frames also don't >seem to 'wrap' their contents very well. I needed the frame because I >needed it to make sure that each part of the 2*5 combination was exactly >3.5x2inches so it'd match up with the perfs. this is because placefigure floats! so, don't use \place... inside a box Showboxes is apparently bust wrt to the above too. Turning showboxes on >with any combo of combinations/frames/figures results in the boxes being >shown, but also clobbers the actual layout. Everything gets moved around. >Defeats the purpose, no? since the visual debugger overloads primitives, it will fail in situations where unboxing and alike takes place, no way out Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- fall-back web server: www.pragma-pod.nl -------------------------------------------------------------------------