More problems with html/epub export

Hello, I am trying to get a longer set of notes, heavy on math and images, exported to epub. Currently, I am adapting the CSS style sheets, using the exported css sheets In combination with the exported -div.html file. So far, so good. But I ran into a bizarre issue with images randomly occurring in the HTML code, instead of formulas. This happens halfway into the document, so at the moment it isn't easy to provide a minimal example. Maybe the following is enough to resolve the issue: My ConTeXt code The \idx{segment} $pq$ connecting $p$ and $q$ is the set \startformula pq = \{(1-t) p + t q: t\in[0,1]\}\ . \stopformula is exported to the following in β¦-div.html: (I have highlighted the problematic image) The <div class="highlight idx">segment</div> <math data-lmtx-blob="122" data-lmtx-meaning="π times π" display="inline" displaystyle="false" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow><mi>π</mi><mi>π</mi></mrow></math> conΒnecting <math data-lmtx-blob="123" data-lmtx-meaning="π" display="inline" displaystyle="false" xmlns="http://www.w3.org/1998/Math/MathML"><mi>π</mi></math> and <math data-lmtx-blob="124" data-lmtx-meaning="π" display="inline" displaystyle="false" xmlns="http://www.w3.org/1998/Math/MathML"> <mi>π</mi></math> is the set <div class="formula"> <div class="formulacontent n-2" image="incidences-image-2"> <math data-lmtx-blob="125" data-lmtx-meaning="π times π equals group group 1 minus π‘ end group times π plus π‘ times π : π‘ belongs to group 0 comma 1 end group end group times" display="block" displaystyle="true" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mi>π</mi> <mi>π</mi> <mo>=</mo> <mo stretchy="false">{</mo> <mo stretchy="false">(</mo> <mn>1</mn> <mo>β</mo> <mi>π‘</mi> <mo stretchy="false">)</mo> <mi>π</mi> <mo>+</mo> <mi>π‘</mi> <mi>π</mi> <mo>:</mo> <mi>π‘</mi> <mo>β</mo> <mo stretchy="false">[</mo> <mn>0</mn> <mo>,</mo> <mn>1</mn> <mo stretchy="false">]</mo> <mo stretchy="false">}</mo> <mi>.</mi> </mrow> </math></div> </div> That image "incidences-image-2β was used correctly many pages earlier. Manually deleting the highlighted text fixes the problem. I have many more senselessly repeated figures in the text like this, without a clue why they appear. They are certainly not in the PDF. Less dramatically, I also noticed that \overline doesnβt seem to appear in the HTML code. I am doing all this to produce accessible versions of my notes. I had hoped that going via HTML and possibly eventually Epub would be less of a nightmare than creating accessible PDFs, but maybe I was wrongβ¦. Thanks for any help!
participants (1)
-
Matthias Weber