From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72542 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Framed "environment" Date: Sat, 19 Nov 2011 11:32:42 -0500 Message-ID: References: <20111118192340.GA5226@chewbacca.umobile.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1321720405 14067 80.91.229.12 (19 Nov 2011 16:33:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Nov 2011 16:33:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 19 17:33:21 2011 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.69) (envelope-from ) id 1RRnqv-0006VW-AU for gctc-ntg-context-518@m.gmane.org; Sat, 19 Nov 2011 17:33:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4871CCB0EE; Sat, 19 Nov 2011 17:33:16 +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 TcHK4C4taiVd; Sat, 19 Nov 2011 17:33:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BE1FFCB0E9; Sat, 19 Nov 2011 17:33:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6590ECB0E9 for ; Sat, 19 Nov 2011 17:33:03 +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 N9WbS-QHIG6L for ; Sat, 19 Nov 2011 17:32:52 +0100 (CET) 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 5907DCB0E7 for ; Sat, 19 Nov 2011 17:32:52 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAJGWoDf028605 for ; Sat, 19 Nov 2011 17:32:51 +0100 Original-Received: FROM [192.168.2.12] (bas3-montreal02-1096681677.dsl.bell.ca [65.94.8.205]) By tombraider.mr.itd.umich.edu ID 4EC7DA2D.C623A.11719 ; Authuser adityam; 19 Nov 2011 11:32:46 EST In-Reply-To: <20111118192340.GA5226@chewbacca.umobile.edu> X-Mailer: iPhone Mail (9A405) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cFX4wOfg - bf036fd46f39 - 20111119 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:72542 Archived-At: On Nov 18, 2011, at 2:23 PM, Troy Henderson wrote: > Is there an "environment" (i.e., like a \startframed ... \stopframed) > method for using \framed{ ... } on a block of text? Certain \start ... > \stop combinations don't seem to play well with \framed{ ... }. For > example, > > \usemodule[amsl] Please do not use the amsl module. It has not been updated in years and context core provides almost all the functionality. > \starttext > \framed{ > \startformula > \startalign > A=B > \stopalign > \stopformula > } > \stoptext > > fails evidently because \framed{ ... } and the \startalign ... > \stopalign don't like one another. Untested, but the most likely reason is that framed starts a hbox rather than a vbox. Use \framed[align=normal]{...} to start a vbox. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________