From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106790 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Background color of a framedtext that covers floats Date: Wed, 8 Apr 2020 11:32:51 +0200 Message-ID: References: <584b3a07-4f35-86e4-9d15-363e393ab35a@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7220884531286859528==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="46593"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 08 11:33:40 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jM75Y-000C1H-6F for gctc-ntg-context-518@m.gmane-mx.org; Wed, 08 Apr 2020 11:33:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E77FF182C24; Wed, 8 Apr 2020 11:33:07 +0200 (CEST) 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 0x31Z8DJWRDS; Wed, 8 Apr 2020 11:33:07 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 083821830F6; Wed, 8 Apr 2020 11:33:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 296F8182F48 for ; Wed, 8 Apr 2020 11:33:06 +0200 (CEST) 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 mUrC9FDj7eMa for ; Wed, 8 Apr 2020 11:33:04 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.52; helo=mail-wm1-f52.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Original-Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id E372C182C24 for ; Wed, 8 Apr 2020 11:33:04 +0200 (CEST) Original-Received: by mail-wm1-f52.google.com with SMTP id a81so4663427wmf.5 for ; Wed, 08 Apr 2020 02:33:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=8vNDBA6row7krvjjZ7x63Ue7J6pzTF4oyt5S+OTgK4c=; b=gN+yE0dKatU8tzvnj9vx/22SUhUlEL58taXNrFrBJwWmTwXrJkIjS2FdNWeswzZlEU SCuBCXz9BUuzBGzl3WNfpfeXpWrl5cHU849/zmkWWp9154xG0ombN8pQCAtckxCelDW/ mda4DDmYOzfLc2PlcXZrcKniuiSHaoFdMV6oCgvADXfmUNYGqBKmOBvY3GBPBehv0jpU h+hEXpr4WyaD6+m+DO0H7TbUEQUc9RmgOUoJ0Bql6Sce6kOaOugai7J2+dzCuSa6ycy6 H/ZkAk4ijM7irLfEu4zHFiJQ9eSmia6xwRtQaFr5DmzuI+fSl7xse40fytHbZ93V5niE vzDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=8vNDBA6row7krvjjZ7x63Ue7J6pzTF4oyt5S+OTgK4c=; b=DwUz/pkW2NSIVTIh8fPSuNWAKp3lhHzQQJkiC+OKm3cZ2vHxoEHxQHrtKBuxUVmMFv tU36HT7Zku7D9b7d25TWQkik8zGXd5/urHDPud0POV09DPPlVZc5qmg1Q9eLQIt4Wq/v SxUKDndbYjzc1BM/BZjvcDu8RpKtFwwSLtXWJQ08+Pw3JOpGqvN+ztn+1YVUfUelIeX9 PsG85ct4UvmDyfXZQCk/Fd6C+w9qRo8bnLX9lfKAbxkv19hyX63VsIMWXFf9OSpRtNSt dLLHGjxCv/POYCR1XzAkByZW7lxao4LYvuA3tdaufrbxh6mAX0h3RV0IWwke4wx4fzV6 3FtA== X-Gm-Message-State: AGi0PuYz7N4AwfDsnfxGrrYTss8Hkd+MLg8wcf4GlV7MERj5GKYV2LfJ mn74GS52xZ31N6pvZa6X/cRWJlsT3UxjcCbJzuoO2fBpuiM= X-Google-Smtp-Source: APiQypLrKBy8a+ql6NLLhgkkXyQburycLihKeo8zQp883TLF+3TpDjB2La/qQYAd2btNHCU9vYMGqTc63OrkEU9PM6c= X-Received: by 2002:a1c:4b15:: with SMTP id y21mr3738148wma.150.1586338384371; Wed, 08 Apr 2020 02:33:04 -0700 (PDT) In-Reply-To: <584b3a07-4f35-86e4-9d15-363e393ab35a@gmx.es> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:106790 Archived-At: --===============7220884531286859528== Content-Type: multipart/alternative; boundary="000000000000e4e4d205a2c42f19" --000000000000e4e4d205a2c42f19 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Pablo, Here a sample. Fabrice \useMPlibrary[dum] \definecolor[fondpaille][c=3D0,m=3D0,y=3D0.2,k=3D0] \starttext \startframedtext[width=3Dmax,background=3Dcolor,backgroundcolor=3Dfondpaill= e] \starthanging[location=3Dright] {\startMPcode draw unitsquare scaled 2cm ; \stopMPcode} \input tufte \stophanging \stopframedtext \stoptext Le mer. 8 avr. 2020 =C3=A0 10:45, Pablo Rodriguez a =C3=A9cr= it : > On 4/8/20 10:19 AM, Fabrice Couvreur wrote: > > Hi, > > Is there a more elegant way to have a white background for the table? > > Hi Fabrice, > > I think not including the table in the framed text is the easiest way to > avoid the colored background. > > Or why do you need the table inside the framed text, which only adds the > background color (and disables the frame)? > > > In fact, my question is more general: if we insert an image, the > > background color envelops this image: how to solve this problem? > > Unless you provide a sample that shows the issue you are facing, not > including the image in the frame may be your best option. > > Just in case it helps, > > Pablo > -- > http://www.ousia.tk > > _________________________________________________________________________= __________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --000000000000e4e4d205a2c42f19 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Pablo,
Here a sample.
Fabrice

\useMPlibrary[d= um]
\definecolor[fondpaille][c=3D0,m=3D0,y=3D0.2,k=3D0]
\starttext
\startframedtext[width=3Dmax,background=3Dcolor,backgroundcolor=3Dfond= paille]
=C2=A0 =C2=A0 =C2=A0\starthanging[location=3Dright]
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0{\startMPcode
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 draw unitsquare scaled 2cm ;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \sto= pMPcode}
=C2=A0 =C2=A0 =C2=A0\input tufte
=C2=A0 =C2=A0 =C2=A0\stopha= nging
\stopframedtext

\stoptext

Le=C2=A0mer. 8 avr. 2020 =C3= =A0=C2=A010:45, Pablo Rodriguez <oinos@g= mx.es> a =C3=A9crit=C2=A0:
On 4/8/20 10:19 AM, Fabrice Couvreur wrote:
> Hi,
> Is there a more elegant way to have a white background for the table?<= br>
Hi Fabrice,

I think not including the table in the framed text is the easiest way to avoid the colored background.

Or why do you need the table inside the framed text, which only adds the background color (and disables the frame)?

> In fact, my question is more general: if we insert an image, the
> background color envelops this image: how to solve this problem?

Unless you provide a sample that shows the issue you are facing, not
including the image in the frame may be your best option.

Just in case it helps,

Pablo
--
http:/= /www.ousia.tk
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000e4e4d205a2c42f19-- --===============7220884531286859528== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============7220884531286859528==--