pub fn convert_to_xml(tex: &str) -> Result<String, String>Expand description
Convert a TeX/LaTeX source string to LaTeXML XML (the intermediate representation, before any HTML post-processing).
Returns the serialized XML on success, or the captured conversion log on failure (a fatal error, or an engine that could not initialize).