On 3/4/2025 5:14 PM, Christoph Hintermüller via ntg-context wrote:
Dear Hans, Dear all
Once angain me trying to convert my lecture notes into epub.
At first: finally switching after some installation hassle to really
latests context disttibution
--------------------------------------------------------------------
mtx-context | Cmtx-context | ConTeXt Process Management 1.06mtx-context
|
mtx-context | main context file:
/usr/local/share/context/tex/texmf-
context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2025.02.28 18:16
mtx-context | main context file:
/usr/local/share/context/tex/texmf-
context/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2025.02.28 18:16
onTeXt Process Management 1.06
mtx-context |
mtx-context | main context file:
/usr/local/share/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2025.02.28 18:16
mtx-context | main context file:
/usr/local/share/context/tex/texmf-context/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2025.02.28 18:16
--------------------------------------------------------------------
solved all my previous problems.
But what i now notices is a strange behaviour regarding the math
equations in the resulting html, xml and xhtml when there is at least
one figure with an external graphic in the document (see attached
hopefully minimal enough example).
The xml/html/xhtml files contain a mathcontent tag/div which correctly
contains the mathml for the equation. the tag/div it selve has the
image attibute set which points to the first image file imported
before.
I do guess this is intended to be a fallback, in case browser or read
can not properly handle and display mathml content.
I do further guess that in my installation i do miss some external
program or library or some environment variable is not set or not
properly set.
In parallel i have installed texlive - without outdated luatex context-
as i do need latex for other stuff too.
So my question is where and how to tweak installation to get a proper
result.
It is hard to see what happens because there is nothing attached.
Mikael and I probably need to pick up the export thread (we have been
testing with his lecture notes and math book last year). The problem is
that once again mathml in viewers is changing, that there are
differences between viewers, that we need to play safe but have to
figure out how. Indeed we provide both images (to make math look good,
as we spent a lot of time on that) and embedded mathml (which remains a
gamble).
(It also relates to satisfying tagged pdf which is also an everlasting
mess one needs to adapt to.)
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 : [email protected] /
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
___________________________________________________________________________________