Release. Forester 4.3 [0109]
- August 10, 2024
- Jon Sterling, with contributions from Patrick Nicodemus, Kento Okura, Nick Hu, Owen Lynch
This is a smaller release that contains a few changes to how Forester works under the hood. As usual, you must upgrade your theme submodule to the 4.3.0 tag.
Changes to external LaTeX rendering [010A]
- August 10, 2024
- Jon Sterling, with contributions from Nick Hu
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.
Static builds for linux [010B]
- August 10, 2024
- Jon Sterling, with contributions from Owen Lynch
A build-static-linux.sh script has been added which can be used, in connection with Docker, to build a static binary that can be run on Linux.