From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55061 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \setupfloat[..][..., after=\stopframedtext] not working? Date: Sat, 5 Dec 2009 09:33:52 +0100 Message-ID: <7D075AB1-8760-4DEF-ADCE-699BB8D125EC@googlemail.com> References: <20091202122422.GB13955@katherina.student.utwente.nl> <4B16848E.50603@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1260015982 18162 80.91.229.12 (5 Dec 2009 12:26:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 12:26:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 05 13:26:15 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGtiI-0005IX-NY for gctc-ntg-context-518@m.gmane.org; Sat, 05 Dec 2009 13:26:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 414DBC9BA6; Sat, 5 Dec 2009 13:26:06 +0100 (CET) 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 fhQRw5f8HIdE; Sat, 5 Dec 2009 13:26:01 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 37061C9BA1; Sat, 5 Dec 2009 13:26:01 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E3DA1C9B35 for ; Sat, 5 Dec 2009 13:25:57 +0100 (CET) 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 u6o3+O8a5xIl for ; Sat, 5 Dec 2009 13:25:53 +0100 (CET) Original-Received: from mail-bw0-f220.google.com (mail-bw0-f220.google.com [209.85.218.220]) by balder.ntg.nl (Postfix) with ESMTP id 96BFFC9BA1 for ; Sat, 5 Dec 2009 13:25:50 +0100 (CET) Original-Received: by bwz20 with SMTP id 20so2490618bwz.34 for ; Sat, 05 Dec 2009 04:25:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=zdgktKiaf7ykUCvdrrExdDNXiorRqGFM6kA2c/N4Ckk=; b=fHKvcjbRiZV4xhBF9RSxxWhJ7b7ed29xs3CB/Gx7F+N8vB0GrSW2BN9VvGhF85tDlw B/jdHqkRSYDEigJYkj5YTppw2FiUuTHADrRsQVtr08if3u1b7qLscM2aeMBqnj+LvwHQ VdwfqejTXkTbjhc18RyJG8j5dauq6lC+eCmjI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=xiowuFMe5OSM15MoLhMIVJknQkhgZWpuFUxwHusIdtI/ziykh3B+vmJ7qXaaJdBQlB 8URanZ1j22fta/SzZl3pgmjYtIBocAZlqm3zCbpuk9hO3xS8ezY1JCRjkDyZwHKdDN4I GABysbMcvJsXUkQkEi+6H1ni2RP9Jght72r/8= Original-Received: by 10.204.7.195 with SMTP id e3mr4319522bke.118.1260002037349; Sat, 05 Dec 2009 00:33:57 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B29540B.dip.t-dialin.net [91.41.84.11]) by mx.google.com with ESMTPS id 15sm89145bwz.12.2009.12.05.00.33.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 05 Dec 2009 00:33:55 -0800 (PST) In-Reply-To: <4B16848E.50603@wxs.nl> X-Mailer: Apple Mail (2.1077) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55061 Archived-At: Am 02.12.2009 um 16:15 schrieb Hans Hagen: > Matthijs Kooijman wrote: >> Hi all, >> the following example is not working for me: >> \setupfloat[intermezzo][before=\startframedtext[width=10cm],after=\stopframedtext] >> \starttext >> \placeintermezzo{Caption}{Text} >> \stoptext >> It fails with the following message: >> ! Undefined control sequence. >> \stopframedtext ->\dostopframedtext >> l.1 ...ramedtext[width=10cm],after=\stopframedtext >> ] >> Am I doing anything wrong, or is there perhaps another way to achieve this? >> I've tried passing width=10cm to \setupfloat as well as \placefloat, but that >> doesn't seem to do anything. > > indeed, way to complex to do that as floats can move around but not impossible when you ignore the caption which comes after \stopframed is added \starttext \vbox{\input knuth } \startframedtext \vbox{\input knuth } \stopframedtext \def\checknextbox {\ifx\next\bgroup \expandafter\setbox\expandafter\nextbox\expandafter\vbox\expandafter\bgroup\expandafter\startframedtext\expandafter\bgroup\expandafter\aftergroup\expandafter\stopframedtext\expandafter\aftergroup\expandafter\egroup\expandafter\let\expandafter\next \else \expandafter\setbox\expandafter\nextbox\expandafter\vbox \fi} \futurelet\next\checknextbox\bgroup text\egroup \box\nextbox \futurelet\next\checknextbox{text} \box\nextbox \futurelet\next\checknextbox\starttable[|l|l|]\HL\NC text \NC text \NC\SR\HL\stoptable \box\nextbox \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________