From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26562 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Automatic typesetting of catalogue entries Date: Tue, 28 Mar 2006 10:16:22 +0200 Message-ID: <4428F0D6.3010201@wxs.nl> References: <20060327131714.GA4710@mnw.art.pl> <44280DE4.6080706@wxs.nl> <20060327171002.GA8493@boxpl.com> <4428EDDD.6010302@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143533812 4994 80.91.229.2 (28 Mar 2006 08:16:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Mar 2006 08:16:52 +0000 (UTC) Cc: Steve Peter Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 28 10:16:50 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FO9NS-0003RN-Oq for gctc-ntg-context-518@m.gmane.org; Tue, 28 Mar 2006 10:16:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 86FA6127D3; Tue, 28 Mar 2006 10:16:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12327-01-3; Tue, 28 Mar 2006 10:16:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C1FE7127C4; Tue, 28 Mar 2006 10:16:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E13C3127C4 for ; Tue, 28 Mar 2006 10:16:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12327-01-2 for ; Tue, 28 Mar 2006 10:16:27 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id 2D5C3127BA for ; Tue, 28 Mar 2006 10:16:27 +0200 (CEST) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 10083 for multiple; Tue, 28 Mar 2006 12:16:24 +0400 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: <4428EDDD.6010302@elvenkind.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26562 Archived-At: Taco Hoekwater wrote: > Piotr Kopszak wrote: > >> That's superb! Certainly worth wikifying, maybe someone better versed >> in ConTeXt than me cared also to explain what's going on in here. >> > > The first definition simply puts two on a page, using a counter > to decide whether it is processing the top one or the bottom one, > and using half of the page for each of them. > > The second definition also has two per page, but it uses the height > of the typeset text to scale the images instead of using a fixed > value based on the page dimension. It pdftex's positioning extensions > to do so (that is the source the \hpos and \MPy commands). It has to > disregard the actual size of the placed graphic to prevent it from > interfering, and that is the reason for \ht\scratchbox\strutheight > line (consider it a vertical version of \llap). > thanks such samples + explanations are also nice for the practex journal or maps or tugboat or ... Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------