From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15760 Path: main.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: side figure and typing Date: Fri, 23 Jul 2004 21:14:09 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <41016381.50701@boede.nl> References: <60896.80.58.0.46.1090577540.squirrel@bitmail.bitmailer.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1090610171 5707 80.91.224.253 (23 Jul 2004 19:16:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2004 19:16:11 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 23 21:16:03 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bo5WU-0003Fw-00 for ; Fri, 23 Jul 2004 21:16:02 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A08161276F; Fri, 23 Jul 2004 21:16:02 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14901-05; Fri, 23 Jul 2004 21:16:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5CFF612780; Fri, 23 Jul 2004 21:14:19 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2DFEE12780 for ; Fri, 23 Jul 2004 21:14:17 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14822-04-2 for ; Fri, 23 Jul 2004 21:14:16 +0200 (CEST) Original-Received: from smtp-vbr11.xs4all.nl (unknown [194.109.24.31]) by ronja.ntg.nl (Postfix) with ESMTP id A20211276F for ; Fri, 23 Jul 2004 21:14:16 +0200 (CEST) Original-Received: from [192.168.0.1] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtp-vbr11.xs4all.nl (8.12.11/8.12.11) with ESMTP id i6NJEB2t048174 for ; Fri, 23 Jul 2004 21:14:16 +0200 (CEST) (envelope-from w.egger@boede.nl) User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <60896.80.58.0.46.1090577540.squirrel@bitmail.bitmailer.com> X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: by 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: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:15760 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15760 Hi, If you place the 5th parameter in a buffer, it works with the following=20 version of ConTeXt and pdfTeX. pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2) ConTeXt ver: 2004.6.30 (beta) \startbuffer[test] \starttyping pack .ok .cancel .help -side top \stoptyping \stopbuffer \starttext \SideFigure{right}{pack2}{figure.jpg}{0.25} { \getbuffer[test] } \stoptext kind regards Willi jimarin@bayesinf.com wrote: > Hi all ! >=20 > let us imagine we have defined the following command: >=20 > \def\SideFigure#1#2#3#4#5% > { > \placefigure[#1]{#2}{\externalfigure[#3][width=3D#4\makeupwidth]} > #5 > } >=20 > which can be used to put a figure aside a companion text... >=20 > but, what happens if the text is to be typed... ?? >=20 > I guess this won't work: >=20 > \SideFigure{right}{pack2}{../figures/tcltk/pack2.jpg}{0.25} > { > \starttyping > pack .ok .cancel .help -side top > \stoptyping > } >=20 > How can I make it to work? >=20 > thanks ! >=20 > ------------------------------------------------- > Jose Ignacio Mar=EDn Alberdi >=20 > Bayes Inference, S.A. > c/ Gran V=EDa, N=BA39, 5=BA, E-28013 MADRID > Tfn (91) 532.74.40, Fax (91) 532.26.36 > ------------------------------------------------- > email: jimarin@bayesinf.com > ------------------------------------------------- > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context