ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bernd Donner via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Bernd Donner <bleau1975@googlemail.com>
Subject: [NTG-context] Re: Artifact in flow cell connection
Date: Tue, 15 Oct 2024 08:47:43 +0200	[thread overview]
Message-ID: <CAO4UkVbBDN0g=EkkKoC=MXANDBctT==pJWmzPV-t-wexBqKSOg@mail.gmail.com> (raw)
In-Reply-To: <CAO4UkVZZcxF49vCbnegmJN4UWjVvYGKozSS_1siLpLhQNwMWYw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1982 bytes --]

Hi everyone,

I have tested the minimal example mentioned above on a completely separate
Linux installation, and I am seeing the same observable artifact. This
leads me to believe that the issue might not be specific to my context
installation.

It seems that the overlay in the heading and the \shape{product} are
essential components that trigger the behavior I’m experiencing. At this
point, I'm uncertain whether this is an error on my part or a potential
bug—possibly related to flowcharts.

Could someone please confirm if the output of the minimal example matches
what is shown in the attached PDF?

Thank you!

Best,
Bernd

Am Fr., 11. Okt. 2024 um 22:47 Uhr schrieb Bernd Donner <
bleau1975@googlemail.com>:

> 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
>

[-- Attachment #1.2: Type: text/html, Size: 2377 bytes --]

[-- Attachment #2: bug_flowchart.pdf --]
[-- Type: application/pdf, Size: 6756 bytes --]

[-- Attachment #3: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2024-10-15  8:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-11 20:47 [NTG-context] " Bernd Donner via ntg-context
2024-10-15  6:47 ` Bernd Donner via ntg-context [this message]
2024-10-16 17:48   ` [NTG-context] " Bruce Horrocks
2024-10-16 18:47     ` Hans Hagen
2024-10-16 20:28     ` Hans Hagen via ntg-context
2024-10-17 14:39       ` Bernd Donner via ntg-context
2024-10-12  7:03 wangzhongtian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAO4UkVbBDN0g=EkkKoC=MXANDBctT==pJWmzPV-t-wexBqKSOg@mail.gmail.com' \
    --to=ntg-context@ntg.nl \
    --cc=bleau1975@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).