Re: TeX equations to SVG

Martin Goik <[email protected]> Fri, 22 Nov 2024 08:09:05 +0100
Newsgroups gmane.editors.xxe.general
Message-ID <[email protected]>
On 11/21/24 17:28, Hussein Shafie wrote:
> Bård wrote:
>> I’ve been looking into the details of the “customize.xxe”-system. We 
>> would like to replace the PNG output from texmathtoimg.bat with SVG. 
>> The reason is that SVG renders much better in a browser, in 
>> particular when users zoom. It is also easier to scale the image 
>> using the viewport scale settings.

You may want to consider Javascript based https://www.mathjax.org in 
favour of generated SVG images. The following sample has been generated 
from Docbook5.1:

https://freedocs.mi.hdm-stuttgart.de/sd1MathSin.html#sd1QandaSin

Nice aside: Mathjax supports both TeX/LaTeX and MathML. The latter in 
turn being visually supported by Xmlmind editor.

-- 
Martin Goik

For there is no folly of the beast of the earth which is not infinitely
outdone by the madness of men.                          Herman Melville


--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support