> On 15 Oct 2024, at 07:47, Bernd Donner via ntg-context <ntg-context@ntg.nl> 
> wrote:
> 
> Could someone please confirm if the output of the minimal example matches 
> what is shown in the attached PDF?

I too get the output as posted. (mtx-context     | current version: 2024.09.25 
11:53)

If you change the following MWE line

    \connection [bt] {compiler}

to

    \connection [br] {compiler}

then the glitch goes away, so I suggest that means it is a bug in the flow 
chart module.

Changing to draw from the bottom shape upwards also has the glitch on a 
straight line - so something to do with the straight line drawing code, perhaps?

As a work-around, if you just want the section heading underlined (as opposed 
to a more complicated MP graphic that you omitted for simplicity) then your MWE 
becomes:

\usemodule[chart]
\starttext
\subsection[title={\inframed[frame=off,bottomframe=on]{Introduction}}]

\startFLOWchart[toolchain]
\startFLOWcell
  \location{1,1}
  \connection [bt] {compiler}
\stopFLOWcell

\startFLOWcell
  \name {compiler}
  \location{1,2}
  \shape{product}
\stopFLOWcell
\stopFLOWchart

\FLOWchart[toolchain]
\stoptext


If you don’t want the section number then use \subsubject instead of 
\subsection.

Regards,
—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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 via email to