From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77336 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: adjust width of text automatically Date: Sun, 15 Jul 2012 19:55:13 +0200 Message-ID: <87bojg7vum.fsf@micropit.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342374927 11789 80.91.229.3 (15 Jul 2012 17:55:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2012 17:55:27 +0000 (UTC) To: ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 15 19:55:28 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SqT2U-0005Bc-DL for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jul 2012 19:55:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 058CA101E7; Sun, 15 Jul 2012 19:55:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hEfjBJb5xgsz; Sun, 15 Jul 2012 19:55:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A6ED6101E8; Sun, 15 Jul 2012 19:55:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 679E5101E8 for ; Sun, 15 Jul 2012 19:55:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id f-W1MK2qi6Yc for ; Sun, 15 Jul 2012 19:55:19 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 6E61A101E7 for ; Sun, 15 Jul 2012 19:55:19 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp03.smtpout.orange.fr [80.12.242.125]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6FI4tNh032489 for ; Sun, 15 Jul 2012 20:04:59 +0200 Original-Received: from micropit.couberia.bzh ([2.2.69.20]) by mwinf5d26 with ME id ahvE1j0030SEP0J03hvEaj; Sun, 15 Jul 2012 19:55:14 +0200 Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id C8BEE500753; Sun, 15 Jul 2012 19:55:13 +0200 (CEST) Mail-Followup-To: ConTeXt users User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (gnu/linux) X-Bayes-Prob: 0.895 (Score 2, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.125; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01HyG4T1j - fc37dac8d6e3 - 20120715 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77336 Archived-At: Hi, Is it possible to place one box beside another, both with the same height, one box with an image of unknown width, and the other uses the remaining width. I've tried this, but without success: --8<---------------cut here---------------start------------->8--- \starttext \bTABLE[offset=0pt, height=7cm, textwidth=\textwidth, option=stretch] \bTR \bTD bla bla bla bla bla bla bla bla bla \eTD \bTD \externalfigure[hacker][height=7cm] \eTD \eTR \eTABLE \stoptext --8<---------------cut here---------------end--------------->8--- If yes, how? If no, then I'll try to get the width of the image with img.scan() ... TIA for any hints! -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________