On 10/16/2024 7:48 PM, Bruce Horrocks wrote:
On 15 Oct 2024, at 07:47, Bernd Donner via ntg-context
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}}]
You don't want that framed command in the table of content entry, so use \setuphead [subsection] [textcommand={\inframed[frame=off,bottomframe=on]}] or \definebar[SubSectionBar][underbar][offset=-1] \setuphead[subsection][textcommand=\SubSectionBar] instead, Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------