From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72435 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Re: defineframed has no effect Date: Mon, 14 Nov 2011 22:13:51 +0100 Message-ID: <2F568EAD-1E3D-4CE5-8291-82536FB22918@uni-koblenz.de> 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 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1321305246 29173 80.91.229.12 (14 Nov 2011 21:14:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2011 21:14:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 14 22:14:02 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 1RQ3qr-0005iF-QM for gctc-ntg-context-518@m.gmane.org; Mon, 14 Nov 2011 22:14:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 92370CB0FB; Mon, 14 Nov 2011 22:14:01 +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 GjHJuv6vZEiX; Mon, 14 Nov 2011 22:13:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53EF7CB0F1; Mon, 14 Nov 2011 22:13:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0E56CB0F1 for ; Mon, 14 Nov 2011 22:13:56 +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 vx17PdCNvBq4 for ; Mon, 14 Nov 2011 22:13:54 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id BDF69CB0EF for ; Mon, 14 Nov 2011 22:13:54 +0100 (CET) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAELDr5F025783 for ; Mon, 14 Nov 2011 22:13:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 02770D2420 for ; Mon, 14 Nov 2011 22:13:54 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JJol5WsBZ+3r for ; Mon, 14 Nov 2011 22:13:53 +0100 (CET) X-CHKRCPT: Envelopesender noch aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (91-67-184-190-dynip.superkabel.de [91.67.184.190]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 36D03D241D for ; Mon, 14 Nov 2011 22:13:53 +0100 (CET) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.26.64.15; country=DE; region=08; city=Koblenz; latitude=50.3500; longitude=7.6000; http://maps.google.com/maps?q=50.3500,7.6000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bFV9dRDX - 61560ac2705c - 20111114 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:72435 Archived-At: On 14.11.2011, at 22:12, Aditya Mahajan wrote: > 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=3D= off] >>>> = >>>> You=92ve 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. Or use \framedtext{=85} \defineframedtext[myFrame][frame=3Don,align=3Dmiddle,style=3D\it,width=3Dfi= t] Andreas ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________