From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72434 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: defineframed has no effect Date: Mon, 14 Nov 2011 16:12:15 -0500 (EST) Message-ID: References: <00d301cca30f$a459d790$ed0d86b0$@gmx.de> <00d501cca311$32b5ab80$98210280$@gmx.de> <00d701cca311$daa46480$8fed2d80$@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1155802020-1321305136=:872" X-Trace: dough.gmane.org 1321305162 28549 80.91.229.12 (14 Nov 2011 21:12:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2011 21:12:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 14 22:12:38 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 1RQ3pU-00052U-9s for gctc-ntg-context-518@m.gmane.org; Mon, 14 Nov 2011 22:12:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08F4CCB0FC; Mon, 14 Nov 2011 22:12:36 +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 niu0Nnf246sy; Mon, 14 Nov 2011 22:12:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8A8E9CB0F0; Mon, 14 Nov 2011 22:12:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A3FD1CB0F0 for ; Mon, 14 Nov 2011 22:12:31 +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 PNOYCiEvLTug for ; Mon, 14 Nov 2011 22:12:20 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 54F1ECB0EF for ; Mon, 14 Nov 2011 22:12:20 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAELCHgM022949 for ; Mon, 14 Nov 2011 22:12:19 +0100 Original-Received: FROM [10.0.2.15] (wpa045103.Wireless.McGill.CA [142.157.45.103]) By tombraider.mr.itd.umich.edu ID 4EC18430.99924.31223 ; Authuser adityam; 14 Nov 2011 16:12:16 EST In-Reply-To: <00d701cca311$daa46480$8fed2d80$@gmx.de> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) 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: 0rFV9cir8 - 9325c306f400 - 20111114 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:72434 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1155802020-1321305136=:872 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 14 Nov 2011, Christian wrote: >>>> This gives only a framed Hello, no red, frame still on. >>>> Did something change for setting up own frames? >>>> >>>> >>> >> \defineframed[GreyBg][backgroung=3Dcolor,backgroundcolor=3Dred,frame=3Do= ff] >>> >>> You=E2=80=99ve written backgroung instead of background. >> >> Lol, that's what I get for copy-pasting the wiki :D >> >> Seriously, the typo is in the wiki code... >> http://wiki.contextgarden.net/Reference/en/defineframed >> >> Works now! > > I spoke too soon. The style is ignored. Example: > > \defineframed[myFrame][frame=3Don,align=3Dmiddle,style=3D{\it}] > \starttext > \myFrame{Hello} > \stoptext > > Is it on purpose? IIRC, the name of the key is foregroundstyle. Aditya --0-1155802020-1321305136=:872 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --0-1155802020-1321305136=:872--