From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50149 Path: news.gmane.org!not-for-mail From: Thomas Floeren Newsgroups: gmane.comp.tex.context Subject: Re: Combining figures Date: Sat, 9 May 2009 12:39:45 +0200 Message-ID: <21C292CC-2180-46ED-A995-DC6FE12F1170@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: multipart/mixed; boundary="===============1511991251==" X-Trace: ger.gmane.org 1241865651 30304 80.91.229.12 (9 May 2009 10:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 May 2009 10:40:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 09 12:40:42 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1M2jyz-0008Ss-KH for gctc-ntg-context-518@m.gmane.org; Sat, 09 May 2009 12:40:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2E1A01FE21; Sat, 9 May 2009 12:40:40 +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 31686-05; Sat, 9 May 2009 12:40:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2815D1FE27; Sat, 9 May 2009 12:40:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5DC731FE27 for ; Sat, 9 May 2009 12:39:59 +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 30197-05 for ; Sat, 9 May 2009 12:39:49 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 6DDA21FE21 for ; Sat, 9 May 2009 12:39:49 +0200 (CEST) Original-Received: from mail-fx0-f176.google.com (mail-fx0-f176.google.com [209.85.220.176]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n49Adl6h032208 for ; Sat, 9 May 2009 12:39:48 +0200 Original-Received: by fxm24 with SMTP id 24so1927129fxm.2 for ; Sat, 09 May 2009 03:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=DK/BcaxRSD3dz4MDt4DxLjklTe/rjLcIFz+L6FZxzSk=; b=fNSoUUB1LqXO3+Q+wmce+8oeqYt5cZ26yyFXEOhjz454yLdMYQsSkxJRri0rOkU0lr uDlZIPtdKFDmDYDOtoz884JId+Pr6fzfKiiiJKkUwKJaaDtHkrZLTXwJ1UAuDmlvdX/H i4XXeHNag/cnFg4uRIUKSm/XJKzJQ3DIfi7CE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=rAW7ycvRDmh5GO7X9KEychAzuu33eW3oaZ+CIsHWj2Gw1RvV0FNTb19JYlKcVs9ko2 1DUB5FVh56sfyM8WE+YUNsqCGZ7oellljDegOrJ1VspnqPi+4QBqtU8JnezbIYZ6m5AM YGJRep4XU2ujZRY/FZIcwNBcTcWGQiSbDtGLk= Original-Received: by 10.102.215.19 with SMTP id n19mr2366290mug.36.1241865587476; Sat, 09 May 2009 03:39:47 -0700 (PDT) Original-Received: from ?10.0.1.2? ([81.13.163.6]) by mx.google.com with ESMTPS id n10sm78670mue.47.2009.05.09.03.39.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 09 May 2009 03:39:47 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.176; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 222172494 - 37769f3724cb - 20090509 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50149 Archived-At: --===============1511991251== Content-Type: multipart/alternative; boundary=Apple-Mail-1--582102700 --Apple-Mail-1--582102700 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable i think, you just forgot the second pair of curly brackets({}): {\externalfigure[Ex6a]}{} {\externalfigure[Ex6b]}{} for me (mac, context 2009.04.10 18:02 MKII) your code works fine like =20= this, the two side by side. Greets On May 9, 2009, at 10:19 , Robert Blackstone wrote: > > > On Fri, May 8, 2009 at 10:23 PM, , Mojca =20= > Miklavec and Thomas Floeren wrote, respectively: > > > On Fri, May 8, 2009 at 21:53, Robert Blackstone wrote: > > Hi All, > > I am working on a text that contains many combined figures, some =20 > side by > > side, ?some arranged vertically. I use, following ?ConTeXt, an =20 > excursion?, > > \startcombination[1*2] and \startcombination[2*1] respectively. =20 > The first > > one works, the second doesn?t, that is, it also places the figures =20= > one above > > the other. It happens both with the ?MacTeX?-version of ConTeXt =20 > and with the > > minimals. > > What can I do to place two figures side by side with a single =20 > caption? > > Both variants work for me. > > \starttext > \placefigure{some title} > {\startcombination[1*2] > {\framed[width=3D5cm]{}}{} > {\framed[width=3D5cm]{}}{} > \stopcombination} > \placefigure{some title} > {\startcombination[2*1] > {\framed[width=3D5cm]{}}{} > {\framed[width=3D5cm]{}}{} > \stopcombination} > \stoptext > > Mojca > > > ------------------------------ > > > For me normally \startcombination[2*1] .. works. MKII; Side by side > with a single caption. > Please tell me if I didnt understand your problem. > > Greetings > Tom > > Thanks to Mojca and Tom, > With Mojca=92s commands, {\framed[width=3D5cm]{}}{}, it works for me =20= > too. But I do not want the figures framed. When I replace that piece =20= > with {\externalfigure[NameofFigure]}, the figures are placed =20 > vertically, both with [2*1] and with [1*2]. > I have uploaded a folder with a small testfile, which on my Mac =20 > shows this behaviour, as you can see in the pdf. (For convenience I =20= > have entered the two possibilities in the testfile, one of them =20 > commented out.) It can be downloaded from = http://web.me.com/blackstone.robert/filechute/Combining_Figures.zip=20 > . > Maybe there are some other errors in the file that I do not know of. > Thanks for the attention. > Best regards, > Robert Blackstone > > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an =20 > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail-1--582102700 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable i think, you just forgot the = second pair of curly = brackets({}):

{\externalfigure[Ex6a]}{} =  
{\externalfigure[Ex6b]}{}

for = me (mac, context 2009.04.10 18:02 = MKII) your code works fine like this, the two side = by = side.

Greets



On May 9, 2009, at 10:19 , Robert = Blackstone wrote:



On Fri, May = 8, 2009 at 10:23 PM, <ntg-context-request@ntg.nl&= gt;, Mojca Miklavec and Thomas Floeren wrote, = respectively:


On Fri, May 8, 2009 at 21:53, Robert = Blackstone wrote:
> Hi All,
> I am working on a text that = contains many combined figures, some side by
> side, ?some = arranged vertically. I use, following ?ConTeXt, an excursion?,
> = \startcombination[1*2] and \startcombination[2*1] respectively. The = first
> one works, the second doesn?t, that is, it also places = the figures one above
> the other. It happens both with the = ?MacTeX?-version of ConTeXt and with the
> minimals.
> = What can I do to place two figures side by side with a single = caption?

Both variants work for me.

\starttext
= \placefigure{some title}
{\startcombination[1*2]
    =    {\framed[width=3D5cm]{}}{}
      =  {\framed[width=3D5cm]{}}{}
\stopcombination}
= \placefigure{some title}
{\startcombination[2*1]
    =    {\framed[width=3D5cm]{}}{}
      =  {\framed[width=3D5cm]{}}{}
\stopcombination}
\stoptext
=
Mojca


------------------------------


For = me normally \startcombination[2*1] .. works. MKII; Side by side
with = a single caption.
Please tell me if I didnt understand your = problem.

Greetings
= Tom

Thanks to Mojca and = Tom,
With Mojca=92s commands, {\framed[width=3D5cm]{}}{}, it = works for me too. But I do not want the figures framed. When I replace = that piece with {\externalfigure[NameofFigure]}, the figures are placed = vertically, both with [2*1] and with [1*2].
I have uploaded a = folder with a small testfile, which on my Mac shows this behaviour, as = you can see in the pdf. (For convenience I have entered the two = possibilities in the testfile, one of them commented out.) It can be = downloaded from http://web.me.com/blackstone.robert/filechute/Combining_Figures.zip= .
Maybe there are some other errors in the file that I do not = know of.
Thanks for the attention.
Best = regards,
Robert Blackstone 

= __________________________________________________________________________= _________
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 =  : https://foundry.s= upelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail-1--582102700-- --===============1511991251== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1511991251==--