From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24139 Path: news.gmane.org!not-for-mail From: Alexander Klink Newsgroups: gmane.comp.tex.context Subject: Filling framed boxes up to the max Date: Mon, 5 Dec 2005 19:58:56 +0100 Message-ID: <20051205185856.GA9175@dach-wg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1133809305 20645 80.91.229.2 (5 Dec 2005 19:01:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2005 19:01:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 05 20:01:42 2005 Return-path: 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 1EjLYG-000610-GM for gctc-ntg-context-518@m.gmane.org; Mon, 05 Dec 2005 19:59:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 14FF81280E; Mon, 5 Dec 2005 19:59:04 +0100 (CET) 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 20952-07-4; Mon, 5 Dec 2005 19:59:00 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C5DBF1280A; Mon, 5 Dec 2005 19:59:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 810DA1280A for ; Mon, 5 Dec 2005 19:58:59 +0100 (CET) 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 20952-07-3 for ; Mon, 5 Dec 2005 19:58:58 +0100 (CET) Original-Received: from mail.medianet-world.de (mail.medianet-world.de [213.157.0.167]) by ronja.ntg.nl (Postfix) with SMTP id 88A5312808 for ; Mon, 5 Dec 2005 19:58:58 +0100 (CET) Original-Received: (qmail 10998 invoked by uid 1011); 5 Dec 2005 18:58:57 -0000 Original-Received: from alech@dach-wg.de by mail1 by uid 1003 with qmail-scanner-1.22 (ExcuBAtor: 1.0.2. Clear:RC:1(213.188.106.106):SA:0(0.0/6.0):. Processed in 0.104841 secs); 05 Dec 2005 18:58:57 -0000 Original-Received: from unknown (HELO dach-wg.de) (213.188.106.106) by mail.medianet-world.de with SMTP; 5 Dec 2005 18:58:57 -0000 Original-Received: from alech by dach-wg.de with local (Exim 3.35 #1 (Debian)) id 1EjLY9-0003Za-00 for ; Mon, 05 Dec 2005 19:58:57 +0100 Original-To: ntg-context@ntg.nl Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:24139 Archived-At: Hi, I would like to do the timetable of the Chaos Communication Congress in ConTeXt again. Last year, I used a perl script to convert the iCal file to ConTeXt code. This year, I'd like to do it a bit better. One of the problems I have there is that I would like to fill a framed box with text up to the max. If it is full before everything is typeset, the text should end with =BB...=AB. The manual solution (cf. http://www.alech.de/tmp/day1.pdf) involved counting the numbers of letters and perl and estimating a cut-off value. But I guess there is a better method in ConTeXt itself. Maybe someone here has an idea. TIA, Greetings, Alex