FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Reading & Displaying Latex Rendered images
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Reading & Displaying Latex Rendered images [message #178542 is a reply to message #178541] Fri, 29 June 2012 11:34 Go to previous messageGo to previous message
Fastian is currently offline  Fastian
Messages: 20
Registered: June 2012
Karma:
Junior Member
On Friday, June 29, 2012 4:02:07 PM UTC+5, The Natural Philosopher wrote:
> 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..

Yes. The rendering is being done by mathtex which is actually a cgi script.. The mathtex can be installed on the server and is also available as a web-service on http://www.forkosh.com.
>
> 2/. the problem therefore is to capture this image and store it and
> process it into database and
Yes.
>
> 3/. subsequently display it afterwards?
> Yes.
> 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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dreamweaver > can this be done?
Next Topic: Simulating a Form Method=Post submission in PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 02:48:42 GMT 2024

Total time taken to generate the page: 0.04333 seconds