From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 517FA2D44B for ; Fri, 11 Oct 2024 22:51:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C12E5485030 for ; Fri, 11 Oct 2024 22:49:44 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-type:content-type:from:from:list-unsubscribe :list-subscribe:list-post:list-owner:list-help:list-archive :archived-at:list-id:subject:subject:reply-to:precedence :message-id:date:date:mime-version:received:received:received :received:received:received; s=cgl; t=1728679784; x=1731271785; bh=2ejZUOOBFpXTbWRWSF6x/t0aJSbnXloXg+HbrMcwPjA=; b=Dc25jrR/Q4vV ZBkwbO8qXwhWQcW0ybjaC83INwrIm0XCmBUCiMDwSv81ck1I8KfscBbPpBZQW+aj uPVWpToM/QdyZff1F/Sim/g3J4CiVCWqFHGrFAI0IKXlElNGPom/sqNctEA3WQHX mU6BeEeVaHcdzUzeULq3jLgXcFAx5bU= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=googlemail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IPvMOZTu8cxQ for ; Fri, 11 Oct 2024 22:49:44 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 44B25485073 for ; Fri, 11 Oct 2024 22:48:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 504A6484B2C for ; Fri, 11 Oct 2024 22:47:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T27juEROO78V for ; Fri, 11 Oct 2024 22:47:44 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.214.180; helo=mail-pl1-f180.google.com; envelope-from=bleau1975@googlemail.com; receiver= Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id F3E39484B29 for ; Fri, 11 Oct 2024 22:47:43 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-20c805a0753so21403735ad.0 for ; Fri, 11 Oct 2024 13:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1728679662; x=1729284462; darn=ntg.nl; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=z9elT4OVE4JK9WKGwBfc1ZRdKpnoZgMYcgU5OZDhnRE=; b=TVGVE4gtpygvmfMaGCwkURNLNYFsUuHXoN6kxzJcWIN2qUDW32zYMmLKJHll+DuW9v pRsgH+VxVTQ1xI+IkEuPsNQPPmipGvV9G9Pr7KpoibOe7C3OSPsRlSh7WsUN/ct3AN+5 aM9md52cPf6cvImTkkW7Yc6m0NiNtbnPjRilBtav7SDr2cLJ6M36vJSjyhzgBWu+mnXO lE9C6uPaUCvxSFxyRUP5YWrqRW8hWlyOX56ObEr4TP1vETJQ/j9fG4KhWt3ZYI2jX68E 2O4Fu/NXcDVH8BhUeyO4q5K/Q0viCrmmFdG8wAYzPGG9McD4gAaKJX30uF+RhJgqOraf bPaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728679662; x=1729284462; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=z9elT4OVE4JK9WKGwBfc1ZRdKpnoZgMYcgU5OZDhnRE=; b=NNnFjpEtvxo61ACLBHS3CsrDY4ArWbuJT3JPYjs98TEtEss47ZXWd0vgOi56bzATL8 gxA/F3QNXYWPiM/YmMjhjdwJBYcQ2veGRtted4ssrw/9IzaaOQB/bCwOL1mpoqLXE4+N 2q7cmtarpf8fVa16sk2lyXTd/x9XFpzRADVE2eyb3lgkLklAZkWPXKuRjGY1JGcLvT1s ngH9Je5/QE5K3XgfNq8vXWGRNdXgDC85ezY2Du+C0ymx1GJXr1+hbdT4VPAcDb1Z92CW CFofmqA3DQf2E/2wn484Jpmtnjll3VxlCFwC3YjnJEyOzDmWss4sj8exjOs+N/XeiQvp M3Cw== X-Gm-Message-State: AOJu0Yy/lbZr/NAEi2/JmQy+AjYtE51eUKoykPb5Xwt5BzMXIYL2vg4N TZMY+xBsl+p61A8QmXf49VN54BEI7gDF1t6YnrY3IRjYlZCatWROOVvpuyCJ4WO4tk/3Hx6f6f2 jdpkZCGCwFUQIn127+mj5Nez6kAXix36F X-Google-Smtp-Source: AGHT+IFpLqXOLfZnftptlg/29M+LAukEdJ6WZvwsI+RnMQqqNkWYBNjCzPGa93Mk3xklLg0qZRYCrnfFlhdYWDieE6k= X-Received: by 2002:a17:903:1247:b0:20c:94f6:3e03 with SMTP id d9443c01a7336-20ca16c5b3emr57353255ad.47.1728679661666; Fri, 11 Oct 2024 13:47:41 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 11 Oct 2024 22:47:29 +0200 Message-ID: To: ntg-context@ntg.nl Message-ID-Hash: UL7UN5DASI2PQDFEBA56PVMLU4TVITWM X-Message-ID-Hash: UL7UN5DASI2PQDFEBA56PVMLU4TVITWM X-MailFrom: bleau1975@googlemail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Artifact in flow cell connection List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Bernd Donner via ntg-context Cc: Bernd Donner Content-Type: multipart/mixed; boundary="===============8596385675045395847==" --===============8596385675045395847== Content-Type: multipart/alternative; boundary="0000000000002a098c062439993a" --0000000000002a098c062439993a Content-Type: text/plain; charset="UTF-8" Hi, I have a broken flow cell connection in this minimal example. The broken flow cell is only triggered when drawn within a subsection with an overlay. The logic to create the underlined subsection is by the way copied from the metafun manual source. I do not have the slightest clue what is going wrong in this example. Thanks for ideas. Best, Bernd \usemodule[chart] \startuniqueMPgraphic{SectionUnderline} path p; p:= unitsquare xscaled OverlayWidth yscaled OverlayHeight; draw llcorner p -- lrcorner p; setbounds currentpicture to p; \stopuniqueMPgraphic \defineoverlay[SectionUnderline][\uniqueMPgraphic{SectionUnderline}] \starttexdefinition unexpanded ChapterCommand #1#2 \framed [background=SectionUnderline] {#2} \stoptexdefinition \setuphead [subsection] [command=\ChapterCommand] \starttext \subsection[title=Introduction] \startFLOWchart[toolchain] \startFLOWcell \location{1,1} \connection [bt] {compiler} \stopFLOWcell \startFLOWcell \name {compiler} \location{1,2} \shape{product} \stopFLOWcell \stopFLOWchart \FLOWchart[toolchain] \stoptext --0000000000002a098c062439993a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I have a broken flow cell connectio= n in this minimal example. The broken flow cell is only triggered when draw= n within a subsection with an overlay. The logic to create the underlined s= ubsection is by the way copied from the metafun manual source. I do not hav= e the slightest clue what is going wrong in this example. Thanks for ideas.=

Best, Bernd

\usemodule[c= hart]

\startuniqueMPgraphic{SectionUnderline}
=C2=A0 =C2=A0path p= ;
=C2=A0 =C2=A0p:=3D unitsquare xscaled OverlayWidth yscaled OverlayHei= ght;
=C2=A0 =C2=A0draw llcorner p -- lrcorner p;
=C2=A0 =C2=A0setboun= ds currentpicture to p;
=C2=A0\stopuniqueMPgraphic

\defineoverlay= [SectionUnderline][\uniqueMPgraphic{SectionUnderline}]

\starttexdefi= nition unexpanded ChapterCommand #1#2
=C2=A0 \framed [background=3DSecti= onUnderline] {#2}
\stoptexdefinition

\setuphead
=C2=A0 [subsec= tion]
=C2=A0 [command=3D\ChapterCommand]

\starttext

\subse= ction[title=3DIntroduction]

\startFLOWchart[toolchain]

\start= FLOWcell
=C2=A0 \location{1,1}
=C2=A0 \connection [bt] {compiler}
= \stopFLOWcell

\startFLOWcell
=C2=A0 \name {compiler}
=C2=A0 \l= ocation{1,2}
=C2=A0 \shape{product}
\stopFLOWcell
\stopFLOWchart
\FLOWchart[toolchain]
\stoptext
--0000000000002a098c062439993a-- --===============8596385675045395847== 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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============8596385675045395847==--