Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Preserve image graphic in fragment when not found #885
So, one more interesting use case for me today, with an interesting issue.
I needed to run through some latex through latexml that was "detached" from its auxiliary files (crucially: images), but I wanted to eventually reconnect the HTML result to the original images. I am happy to do some post-processing after latexml, in essence all I needed was to have the includegraphics file argument preserved in the final
That's really easy to do! And in fact should be better practice than the current master behavior, which is to leave an empty
I also caught a tiny bug with one conditional (for activate latexmlc post-processing) and disabled a somewhat useless guard that stops you from using
Maybe not the ideal fix - open to feedback. The true core of this PR is the line:
which is what I truly need.
P.S. I ended up laughing to myself after finally seeing (or yet again remembering?) the double entendre of the