dvipng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dvipng] Static/dynamic library for dvipng?


From: Alex
Subject: [Dvipng] Static/dynamic library for dvipng?
Date: Tue, 29 Sep 2009 23:55:02 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I've just recently discovered the dvipng project, and am considering
using it for on-the-fly TeX rendering of mathematical expressions, for
which it would seem to be suitable. However, I am slightly curious as to
how this process should work. (My apologies if this is detailed in the
docs, but I couldn't find anything). Firstly, I presume the only way to
generate the DVI file from the TeX input is to use the TeX command-line
utility. The next step would seem to be to use the dvipng command-line
utility to convert this DVI to a PNG file. This is of course no problem
for a GUI app, though somewhat inefficient I might think.

My main question is: is dvipng suitable to be used as a static/dynamic
library for inclusion in other programs? (In addition, I would be
curious to know whether it is possible to use a library rather than a
stdio program for generating the DVI.)

I am presuming that both the DVI generator of TeX and the PNG generator
of dvipng are designed to output solely to files. Still, if there is any
way of circumventing this and doing things in-memory, that would be
useful for me.

A final small query: is compiling dvipng for Windows possible (given
that it is my primary target platform), or perhaps via cygwin, if that's
less painful? Using MiKTeX should make no difference, as I understand.

Many thanks,
Alex
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJKwpBGAAoJEOqaT4w4/280+SAIAJCooBamgDYC+sCNx6y0vW2h
xQI4TH+6ZB5ARBfU1uMJvALDjmkoO61mtHcgDnxlkOvSKn1j2ncRJleXUwkjnUo9
tAzz1Xy5STLb/PXph+er3QvHfIhrlyJswezLtYsqHgGHy0ANedQ0VNZd068YgDTd
45fSbfVSVVEdqckJZVYe8E0UiVRA/rjfQZn5v4IghThnZzYgADHik+gS7t8GeQFI
GaCH6J+MDv7sM3/op3sEQJbdX1HeEYT8HsILDoBiOnfdBMfG5qMD22KUTUlCdsow
Da4N94J55RoY+Vreto+AklCojEr+3Srl1ZXYwfshA2v4shRnoq0YwnErG7YTHzQ=
=P9U5
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]