Previously, the \tex construct would generate a .tex file, convert it to an SVG file, and then copy it into output/resources/; this file would then be referenced in the resulting XML using the <forester:embeddex-tex> element, which was rendered by the theme to <html:img>.
Now, the contents of the SVG file are embedded directly into the resulting document as an <html:img> element with a base64-encoded data-url. The <forester:embedded-tex> element is no longer used.
The goal of this change is to make the output files more self-contained and less reliant on surrounding files. A downside of the present change is that it makes the output files a bit larger, as base64-encoded SVGs are not exactly small. In the future, we might instead embed the SVG code into the DOM (which could have some benefits for accessibility), but if we do this, we will have to massage the SVG output to remove duplicate @id attributes.