ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Artifact in flow cell connection
@ 2024-10-11 20:47 Bernd Donner via ntg-context
  2024-10-15  6:47 ` [NTG-context] " Bernd Donner via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Bernd Donner via ntg-context @ 2024-10-11 20:47 UTC (permalink / raw)
  To: ntg-context; +Cc: Bernd Donner


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

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: 1330 bytes --]

[-- Attachment #2: 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [NTG-context] Re: Artifact in flow cell connection
@ 2024-10-12  7:03 wangzhongtian
  0 siblings, 0 replies; 7+ messages in thread
From: wangzhongtian @ 2024-10-12  7:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/html, Size: 2723 bytes --]

[-- Attachment #2: 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-10-17 14:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-11 20:47 [NTG-context] Artifact in flow cell connection Bernd Donner via ntg-context
2024-10-15  6:47 ` [NTG-context] " Bernd Donner via ntg-context
2024-10-16 17:48   ` 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

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