The #open #logic textbook forall x: Calgary (original by @News4wombats) is now available in HTML with extra #accessibility features for #blind students #a11y #OER #opentextbook https://openlogicproject.org/2023/07/27/forall-x-now-in-html-for-extra-accessibility/
forall x now in HTML for extra accessibility

I’m happy to report that forall x: Calgary is now available in an HTML version for reading online. It turned out that LaTeXML has come a long way and basically produced good results without t…

Open Logic Project
I wrote some technical notes on what was involved in converting #TeXLaTeX to #HTML and making it #accessible #a11y https://richardzach.org/2023/07/converting-latex-to-html-technical-notes/
Converting LaTeX to HTML: technical notes

I just posted on the OLP that forall x: Calgary now has an HTML version for reading online. Here are some technical notes in case that’s helpful for anyone. First, LaTeX to HTML conversion ha…

Richard Zach
@rrrichardzach Thanks for the report, a lot of that sounds very promising! I've tried tex4ht but the semantic quality of the output was so atrocious that it still seemed faster to do the conversion completely by hand than try to clean up the conversion result to my standards. So for everything on  https://fietkau.science/publications that's what I still do. I'm curious what @ACM uses for their Digital Library HTML conversions, those look pretty good as well.
Publications

This is an up-to-date list of all my academic publications. Every article is available to download for free.

Julian Fietkau
@rrrichardzach
LyX allows users to import LaTeX documents by parsing them; it allows any such document to be imported by putting ERT (Evil Red Text) tags around text it can't parse. It is a bit like your first option except more general; that is, it would be quite similar to your first option if you insisted on restricting yourself to documents that can be parsed.