-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] feat: html via tex4ht, tweaked #6
Conversation
Overall pretty straight forward |
manually restored "preamble"
From dvisvgm, I think.
Pushed latest version - working SVGs now. |
Fun bug found: mathjax/MathJax#2624 |
Oooh. nofont is NoFonts... |
Some nice tips from the developer of make4ht at michal-h21/make4ht#42 |
I'll need to remember https://www.kodymirus.cz/tex4ht-doc/Introduction.html ... |
Time for a make4ht configuration... |
I see this in the ToDo list:
|
Thanks @michal-h21.
This was actually in theorem heads. Here's an example from the first commit: Line 593 in d938a27
Thanks, I did switch to that driver (or rather: finally got it to work). It's soooo much better - utf8 encoding, no random closing p tags, no g's inside text / around tspan elements. And so much easier than moving things to standalone. |
Another way is also TikZ externalization, but it is slower and requires more configurations. This is much easier and in most cases better solution. |
@scoskey take another look when you get the chance. Should now workly smoothly. Two commits touch the TeX source - one to fix the whitespace, one to wrap the eqref. The rest is now in the config 🎉 |
@scoskey closing this but let's chat about it next time. |
Build notes
$ make4ht -f html5+dvisvgm_hashes ../notes.tex "mathjax,svg, NoFonts" -c make4ht.cfg
First draft issues
Notes on make4ht
$$('a[id]:not([href])').forEach(node => node.parentNode.setAttribute('id', node.getAttribute('id')) && node.remove())
other todo's