From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81676 Path: news.gmane.org!not-for-mail From: Robert Blackstone Newsgroups: gmane.comp.tex.context Subject: Re: float combinations Date: Sun, 14 Apr 2013 11:39:30 +0200 Message-ID: <88223BB0-F8B5-4C1B-80A8-9169FA70BB65@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365932403 11023 80.91.229.3 (14 Apr 2013 09:40:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Apr 2013 09:40:03 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 14 11:40:07 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1URJPr-0007DC-8g for gctc-ntg-context-518@m.gmane.org; Sun, 14 Apr 2013 11:40:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 824401025A; Sun, 14 Apr 2013 11:39:38 +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 ybWFNQD2JjpG; Sun, 14 Apr 2013 11:39:37 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DD6F710260; Sun, 14 Apr 2013 11:39:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F6EB10260 for ; Sun, 14 Apr 2013 11:39:35 +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 oqPXWAf-bVA2 for ; Sun, 14 Apr 2013 11:39:34 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id A28391025A for ; Sun, 14 Apr 2013 11:39:34 +0200 (CEST) Original-Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3E9dXfb013317 for ; Sun, 14 Apr 2013 11:39:34 +0200 Original-Received: by mail-wi0-f172.google.com with SMTP id hr17so711820wib.5 for ; Sun, 14 Apr 2013 02:39:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:mime-version:content-type:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=aHvJqx/CtTbjfH56gGq3BhOAoQEjTVJ/G2EV1OTXgDI=; b=dScy2YcAur1LOQMR+Ohjvgd6WomZz4tztJiAWFsspi8F4LYFsWVgFHyIkoyhNRJvFA 4s4+HI3SD/QwbhSEKQMwV6bfG3AIRFZJZWfBQ9jeBcL/SwCA8ut05jlQMGELfi/mywNh yx4R5MMJZdAIcupE9HJc2IZkS0qoIxdlUjIWNUwaQXd8RBENqxiAkhRMqNZhAcUoXkiZ vwAlyqzATfA9WUrFAQyncmNVzHYxbpvanLA/HPYiAhCVfDlDXlrudsArePvvv46I2Tk4 YYXqzZOAyYHPnSapKaP1tkOPDzaq/gNcWHXKOWnFLU+BLVwrx7JnQjrgISBmciYpONAm mFVg== X-Received: by 10.194.242.163 with SMTP id wr3mr26098656wjc.35.1365932373879; Sun, 14 Apr 2013 02:39:33 -0700 (PDT) Original-Received: from [10.0.1.2] (ip51cc7044.adsl-surfen.hetnet.nl. [81.204.112.68]) by mx.google.com with ESMTPS id bq19sm7983151wib.7.2013.04.14.02.39.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Apr 2013 02:39:32 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1283) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22c; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03JnJDySp - af74bde31e92 - 20130414 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:81676 Archived-At: On 14 Apr 2013, at 07:05 , Marco Patzer wrote: > On 2013?04?13 Robert Blackstone wrote: (in reply to Alan BRASLAU) > >> (I tried your liitle code snippet but ConText would not have it.) > > He's missing a closing bracket on the \externalfigure[mill] line. > Here's a complete example: > > \setupexternalfigures [location=default] > > \defineitemgroup [subfigure] [lefttext=, stopper=] > \setupitemgroup [subfigure] [a, text] > > \starttext > > \startbuffer > Dutch scenery > \startsubfigure > \startitem A cow \stopitem > \startitem A mill \stopitem > \stopsubfigure > \stopbuffer > > \startplacefigure [title=\getbuffer, list=Dutch scenery, reference=fig:scenery] > \startcombination > \startcontent \externalfigure[cow][width=.5\textwidth] \stopcontent > \startcaption a) \stopcaption > \startcontent \externalfigure[mill][width=.45\textwidth] \stopcontent > \startcaption b) \stopcaption > \stopcombination > \stopplacefigure > > A cow is shown in \in{figure}{a}[fig:scenery] and a mill in > \in{figure}{b}[fig:scenery]. > > \stoptext > > Marco= Thank you, Marco, and Alan, for your suggestions. As I wrote, wherever possible I use combinations for related examples, and they only give problems when the examples are too large to fit on the same page. The solution with itemize does not help here. With small enough figures the results seems not too different from that with Combinations. With large figures stacked vertically the lower one still gets cut off (and with it also the caption when it is placed underneath the figure). If somehow a pagebreak could be inserted between the two items, then this solution would probably work. But I have no idea how to achieve this. Inserting \page between " \startitem A cow\stopitem" and "\startitem A mill \stopitem" changes nothing. Best regards Robert ___________________________________________________________________________________ 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 ___________________________________________________________________________________