Page 1 of 1

LaTeX in PureBasic (DLL or something like that)

Posted: Thu Jun 25, 2009 9:17 am
by Arctic Fox
Has anybody got an idea how to "translate" LaTeX-sources into images like http://www.sciencesoft.at/latex/index?lang=en do? (by using PureBasic without connection to the Internet)

Thanks in advance

Posted: Fri Jun 26, 2009 11:23 am
by thefool
Install a LaTeX dist. and call the commandline tools, i suppose thats what the IDE's (TeXnicCenter etc) does :)

I also suppose this is what the website does (serverside)
compile LaTeX source 359 93
execute OCHEM-Perl/M4-Scripts
LaTeX 2. pass
dvips (convert .DVI to .EPS) 359 31
GhostScript (convert .EPS to .PNG) 140 78
PDF2SWF (convert .PDF to .SWF
estimated total time: 1060 ms
Personally i use the MiKTeX distribution, which should contain all the tools and packages you need (just install the complete package). Recommendable :)

http://miktex.org/

Posted: Fri Jun 26, 2009 11:33 am
by Arctic Fox
Thanks a lot thefool :D
I will take a look at it!