Re: Reading & Displaying Latex Rendered images [message #178541 is a reply to message #178540] |
Fri, 29 June 2012 11:02 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma:
|
Senior Member |
|
|
Fastian wrote:
> I am developing an application for the university. One basic module/ section of this application is Data Entry. The data is entered using Latex (Latex is a type setting language and is not a WYSIWYG language). The tex software converts the latex code into the required image. For better understanding visit the following link:
> http://www.forkosh.com/mathtexpreview.html
>
> You can see that on entering Latex code, the desired output is obtained which is actually an image. This image is produced by the Tex software and is being fetched and displayed on this page. Another way to get that image is as follows:
> <img src="http://www.forkosh.com/mathtex.cgi?$c=a+b$" alt="" border=0 align=middle>
>
> My issue is that I want to get the image generated due to the rendering of the Latex code and then display it after re-sizing and then want store it in the MYSQL database.
>
> As I dont know the name of the image produced due to rendering that's why I can not pick the image with its name. Therefore I tried using function "file_get_contents". Though it returns some garbage values on echo but what next?
>
> I need to know that how can I proceed further or suggest some better way to deal with these issues especially while dealing with LateX rendering. Thanks!
Can you confirm that:
1/. You are not using or wanting to use PHP to actually render latex
into a bitmap, but that that is being done by this external site and..
2/. the problem therefore is to capture this image and store it and
process it into database and
3/. subsequently display it afterwards?
I can answer those questions, but if they are not the right questions..
I wont bother.
--
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.
|
|
|