|
From: | John Swensen |
Subject: | Re: Text properties and FTGL |
Date: | Fri, 31 Oct 2008 21:46:53 -0400 |
On Oct 31, 2008, at 4:41 PM, Jason Riedy wrote:
And John Swensen writes:From everything I have read and a quick glance at preview- latex sources, this appears to be essentially the same process.For a fairly full set of features without LaTeX, see mimeTeX: http://www.forkosh.com/mimetex.html If you cheat and make the image requests appear like web server CGI requests by setting the right environment variables, you could just exec mathTeX for high quality and fall back to running mimeTeX if it fails. Both are GPLv3 and probably severe overkill for plot labels. Jason
Thanks for pointing these out. I don't know what they are not doing in mathTeX that I must be doing in my system calls, but mathTeX is significantly faster. Since it is GPL and Octave is GPL I will probably actually compile this into my Octave tests and render straight to the openGL texture, rather than have it render to a file and then read it back in. I think a time of ~0.1 seconds per LaTeX string and appropriate caching of the results is acceptable.
Once again, thanks for pointing this out. John Swensen
[Prev in Thread] | Current Thread | [Next in Thread] |