From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100351 Path: news.gmane.org!.POSTED!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Framed & before/after Date: Thu, 22 Mar 2018 11:09:04 -0400 (EDT) Message-ID: References: <1521663270.2021.0.camel@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8323328-1987842633-1521731346=:7372" X-Trace: blaine.gmane.org 1521731278 27837 195.159.176.226 (22 Mar 2018 15:07:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2018 15:07:58 +0000 (UTC) User-Agent: Alpine 2.21.99 (LNX 239 2017-12-04) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 22 16:07:54 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ez1oj-00074w-AU for gctc-ntg-context-518@m.gmane.org; Thu, 22 Mar 2018 16:07:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 332D512461E; Thu, 22 Mar 2018 16:09:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JQ2Te3jWZPVE; Thu, 22 Mar 2018 16:09:22 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 340AD124621; Thu, 22 Mar 2018 16:09:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2D09A124621 for ; Thu, 22 Mar 2018 16:09:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ju7dbIOD6ri3 for ; Thu, 22 Mar 2018 16:09:18 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id BD8AB12461E for ; Thu, 22 Mar 2018 16:09:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2016-05-12; t=1521731346; bh=keQLCglLDcVMq399zenLw2Na16ms7fuoh3B/nvoOE+k=; h=Date:From:To:Subject:In-Reply-To:References; b=Ta9inE/nusgC17gPnkRaHZTrjQNQHiUfBv4KbAnMroopTi7upuT0UTjGHywxHFUes IZD6l9yPJFSrKVT2qC2tz039qrbGiKoXVjma+8RALGbpKilXNPxRj8koh8B1xggAm4 j7+0Nq0QiOPkFLIeS+ndsmK0WVerpFuS6zYAPwTjFc4pwqjej5ssQ/GS3bsVBUnhSo 1K4MgFpsyFdTnsQrIxvca2VBCBZXiVFqrmJgh3LYSz+7uyKhp8A5ZiUcSc0ncVmRaA Z8+k/QlFSPjPN5hiSZZU3c7x2x+pVjV2ZXrB5807XJjBdrGOga9aNjYo3BQTkI2gGD gtQdCs+vZyHzw== Authentication-Results: tombraider.mr.itd.umich.edu; iprev=permerror policy.iprev=132.206.69.142 (unknown); auth=pass smtp.auth=adityam Original-Received: FROM decentralized.ece.mcgill.ca (unknown [132.206.69.142]) By tombraider.mr.itd.umich.edu ID 5AB3C712.119BF.2264; Authuser adityam; Thu, 22 Mar 2018 11:09:06 -0400 In-Reply-To: <1521663270.2021.0.camel@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:100351 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. --8323328-1987842633-1521731346=:7372 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 22 Mar 2018, Henri Menke wrote: > On Wed, 2018-03-21 at 14:24 +0100, Proch=C3=A1zka Luk=C3=A1=C5=A1 Ing. wr= ote: >> Hello, >>=20 >> does \framed recognize before and after keys, as mentioned here: >> >> =09http://wiki.contextgarden.net/Command/defineframed >> or:=09http://wiki.contextgarden.net/Command/setupframedtexts ? >>=20 >> In the following example it seems both keys are ignored: > > Is this going to do what you need? > > \defineframed[AddressBox][extras=3D\red] > > \starttext > =C2=A0=C2=A0=C2=A0\green A > =C2=A0=C2=A0=C2=A0\AddressBox{\cldcontext{"Hele"}} > =C2=A0=C2=A0=C2=A0B > \stoptext Or the more direct \defineframed[AddressBox][framecolor=3Dred,foregroundcolor=3Dred] Aditya --8323328-1987842633-1521731346=:7372 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --8323328-1987842633-1521731346=:7372--