From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95853 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Question about \startcombination \stopcombination Date: Thu, 18 Aug 2016 19:12:16 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1237687093752556378==" X-Trace: blaine.gmane.org 1471540378 7406 195.159.176.226 (18 Aug 2016 17:12:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 18 Aug 2016 17:12:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 18 19:12:54 2016 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 1baQs9-0001hX-2t for gctc-ntg-context-518@m.gmane.org; Thu, 18 Aug 2016 19:12:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EBD2715461; Thu, 18 Aug 2016 19:12:33 +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 44s0SfJzF2B1; Thu, 18 Aug 2016 19:12:30 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id DABC615463; Thu, 18 Aug 2016 19:12:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id ED46415461 for ; Thu, 18 Aug 2016 19:12:29 +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 n81zo2AQTxp7 for ; Thu, 18 Aug 2016 19:12:28 +0200 (CEST) Original-Received: from mail-it0-f44.google.com (mail-it0-f44.google.com [209.85.214.44]) (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 AE34015460 for ; Thu, 18 Aug 2016 19:12:18 +0200 (CEST) Original-Received: by mail-it0-f44.google.com with SMTP id x131so3924611ite.0 for ; Thu, 18 Aug 2016 10:12:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=x2KPC/KkAsHb7C8WdQEz0wZpnKifWwx8D8KorWfROQo=; b=BRsLq5hPGJD8ae+t6NMMPmPp8J7ti51k16FDE/2eoLTjpQaxQNs6ko5LoBMsdvRaTa UXLPyPmMKWRUWrJ+unj29oUEV2px00NmN5aPMk/tKEPrCSFmw6pWqLH3QogpoiFGpvx8 lPWfQHYVvECPdvkJSt4gEjVmMpouJT68kuWxQ/e2uHWO3VafTayoSqRHDhvJUIVxIpMl +BxbbPQRcYSTsuuqqqp1tN2TepoRl38fS+MWQxygYCPynCa+SMwF6+kz4J9jzKDR0WjS 7Kf6AzLh3IWwPeGQAw0WBQVZFDGA/5/VCLBEjungh+OwgkRzxXajpK3Y//+7xopULMTZ MonQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=x2KPC/KkAsHb7C8WdQEz0wZpnKifWwx8D8KorWfROQo=; b=BwmspuCaqmjMSyNbO+608Py+WygS+HmS8PQ3KK77nOLncDTAm0fcCvUYpA3EzEJdmG HuskU4YVW97hj8TvBA3bm5/6lVQUE/9VGLbBGpSyoAri2sjz8oRCqkoQ5FBNvZaVc8jC XInO6qp5JR7Rgq0uIN08Nzb5a+sx1fLCZlQ/cjWD/frrWhcDs5T/VtgOfXDLlBLGn21t kylnV1ASYKN0rbeGcc39E4wPVf5Q9KJoOqDpnZjFKxo3rGDD7LzkSpad/dNSMNy1cv9Y JpUHZkLoMF+gaNfOeszl3slnKmZU6WPHCEUs6ypKj8ix3J3BiEpbzOQ28rohCVsUpXIf O8Bg== X-Gm-Message-State: AEkoousb//D5k5IBxhqv/CEqcwepQp8peiCdlynDBGdsIX4oAmrT5iU4SFLawOI/qlOjr7lzLWLQlqXD8B0fbA== X-Received: by 10.36.36.15 with SMTP id f15mr741701ita.43.1471540336913; Thu, 18 Aug 2016 10:12:16 -0700 (PDT) Original-Received: by 10.64.71.4 with HTTP; Thu, 18 Aug 2016 10:12:16 -0700 (PDT) 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:95853 Archived-At: --===============1237687093752556378== Content-Type: multipart/alternative; boundary=001a1146fcfe0e1435053a5baf0c --001a1146fcfe0e1435053a5baf0c Content-Type: text/plain; charset=UTF-8 Hello, The use of \startcombination ... \stopcombination does not work with my environment, I do not get all framed but only two and four Thank you Fabrice ######################################################### \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] \defineframedtext [MyFrame] [before={\blank}, after={\blank}, frame=off, background=MyFrame, width=6cm, height=fit, style=small] \startuseMPgraphic{MyFrame} path b; picture p; p := textext.rt("\tfx\white\framedtextparameter{Title}"); p := p shifted (2BodyFontSize,OverlayHeight-ypart center p+.25ExHeight); b := boundingbox p leftenlarged .5EmWidth rightenlarged .5EmWidth ; fill OverlayBox withcolor \MPcolor{MyColorA}; fill b withcolor darkred ; draw p; setbounds currentpicture to boundingbox currentpicture enlarged 2mm ; \stopuseMPgraphic \defineoverlay [MyFrame] [\useMPgraphic{MyFrame}] \starttext \startlinecorrection[blank] \startmidaligned \startcombination[2*2] {\startMyFrame[Title=ALGO A] One \stopMyFrame}{} {\startMyFrame[Title=ALGO B] Two \stopMyFrame}{} {\startMyFrame[Title=ALGO C] Three \stopMyFrame}{} {\startMyFrame[Title=ALGO D] Four \stopMyFrame}{} \stopcombination \stopmidaligned \stoplinecorrection \stoptext ######################################################### --001a1146fcfe0e1435053a5baf0c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,
The use of \startcombination ... = \stopcombination does not work with my environment, I do not get all framed but only = two and four
Thank you
Fabrice

####= #####################################################
\definecolor[MyCol= orA][r=3D0.8784, g=3D0.8784, b=3D0.8784]

\defineframedtext
=C2=A0= [MyFrame]
=C2=A0 [before=3D{\blank},
=C2=A0=C2=A0 after=3D{\blank},<= br>=C2=A0=C2=A0 frame=3Doff,
=C2=A0=C2=A0 background=3DMyFrame,
=C2= =A0=C2=A0 width=3D6cm,
=C2=A0=C2=A0 height=3Dfit,
=C2=A0=C2=A0 style= =3Dsmall]

\startuseMPgraphic{MyFrame}
=C2=A0path b;
=C2=A0pict= ure p;
=C2=A0p :=3D textext.rt("\tfx\white\framedtextparameter{Titl= e}");
=C2=A0p :=3D p shifted (2BodyFontSize,OverlayHeight-ypart cen= ter p+.25ExHeight);
=C2=A0b :=3D boundingbox p leftenlarged .5EmWidth ri= ghtenlarged .5EmWidth ;
=C2=A0fill OverlayBox withcolor \MPcolor{MyColor= A};
=C2=A0fill b withcolor darkred ;
=C2=A0draw p;
=C2=A0setbounds= currentpicture to boundingbox currentpicture enlarged 2mm ;
\stopuseMPg= raphic

\defineoverlay
=C2=A0 [MyFrame]
=C2=A0 [\useMPgraphic{M= yFrame}]

\starttext

\startlinecorrection[blank]
\startmida= ligned
\startcombination[2*2]
{\startMyFrame[Title=3DALGO A]
=C2= =A0One
=C2=A0\stopMyFrame}{}
{\startMyFrame[Title=3DALGO B]
Two\stopMyFrame}{}
{\startMyFrame[Title=3DALGO C]
Three
\stopMyFrame= }{}
{\startMyFrame[Title=3DALGO D]
Four
\stopMyFrame}{}
\stopco= mbination
\stopmidaligned
\stoplinecorrection

\stoptext
###= ######################################################
--001a1146fcfe0e1435053a5baf0c-- --===============1237687093752556378== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1237687093752556378==--