On 7/12/2025 8:50 PM, Matthias Weber wrote:
I minimized my example to the following. To have the image displayed in the
html file (filename-div.html in the filename-export directory), you need to put
hacker.jpg into
filename-export/images). The problem appears also without the image present,
the formula is covered by an image that shouldn’t be there.
Notice too that the overline is present in the pdf, but not in the html.
\usemodule[mathml]
\setupexternalfigures[location=default]
\setupbackend[export=yes,xhtml=yes]
\setupexport
[svgstyle=mathtest-style,
hyphen=yes,
width=60em]
\starttext
\subject{Introduction}
\startparagraph
\input knuth
\stopparagraph
\placefigure
[force]
[figure:configurations]
{Some simple Image}
{\externalfigure[hacker.jpg]
[width=\textwidth]}
\startparagraph
Let $p$ and $q$ be two different points. The \emph{segment} $\overline{pq}$
connecting $p$ and $q$ is the set
\startformula
pq = \{(1-t) p + t q: t\in[0,1]\}\ .
\stopformula
\stopparagraph
\stoptext
Any help will be appreciated!
I see what goes wrong .. you can try to patch grph-inc (and --make
afterwards)
% \dostarttaggednodetail\t!image
\global\advanceby\nofexportedboxes\plusone
\dostarttagged\t!image{\the\nofexportedboxes}%
\clf_figure_push {
as test, not the real solution. Btw you need to tun that document with
mtxrun --script epub --images thatfile
to get the proper math
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________