TeX4ht compiles my latex code it generates a png of my equation and includes this in the html file. Until a better alternative for this comes along I am quite happy with this way of managing/presenting my equations.
This is a collaborative project and I am working with some very anti-latex and anti software people, so I generate html files that they can edit. By ensuring complete compatibility between the html file and pdf generation everyone remains happy. I would however prefer to have a higher resolution image that my collaborators can read without getting frustrated with the document quality.
Approaches I have investigated and been unsuccessful with:
- An excellent explanation that I apologize for missing during my initial week spent trying to solve this issue here LaTeX --> (X)HTML with tex4ht: bad quality images of equations uses a conversion of eps to svg.
Unfortunately eps are not file extensions that my collaborators can open, nor is it something they are willing or even capable to upgrade software to work with. So This solution is not my preferred approach unless the final image type is not an eps.
I am sure I am not doing something quite right with the implementation of this as on our work computers I am left only with the eps file, no png or svg are created, and browser/editable integration of the eps is hit or miss. If memory serves, the mentioned
convert program is part of
imagemagick which we do have installed, so I am at a loss why the svg or png creation is absent using the custom cfg file mentioned in the solution. Maybe this should be the question itself which I believe is completely distinct albeit related to the question that this is currently marked as a duplicate for.
- It might be neat to use a completely different approach maybe using http://latex2html5.com which honestly I haven't even been able to figure out how to compile their examples - but I feel it holds promise for the issue I described above if I can figure out what it is supposed to do and how to do it (unless this tool is the best option to solve my problem, this is a question for another day which I will post and edit this question to remove this aspect to prevent duplication). One aspect of this approach that would interest me, is the appearance that this is not a picture, but formatted text...
Here is my MWE.