Open Ramnath-Karthikesan opened 1 year ago
@Ramnath-Karthikesan FYI, the more relevant message is Warning:missing_file:changes Can't find binding for package changes at filename.tex; line 3 col 0
. The log file follows this up with "Anticipate undefined macros or environments". LaTeXML doesn't know what to do for the changes package, so any changes commands are undefined. (The currently supported bindings are at https://math.nist.gov/~BMiller/LaTeXML/manual/included.bindings/)
Sometimes when a package isn't supported, you can compile with the flag --includestyles
to have LaTeXML read the style file and have a go at it. That doesn't work in this case.
@teepeemm since you mentioned you are experimenting with writing a binding here, let me opine that it is probably more versatile to provide a high-level set of definitions in Perl that emit higher-level markup, and then doing the styling work for HTML via CSS.
Interpreting changes.sty
raw - even if successful - is likely to produce markup that is too low-level (likely a variant on styled span soup).
the \replaced, \added, and \deleted are undefined while converting latex to html.