[texhax] Incorporating TeX into Custom-made Programs

William Adams will.adams at frycomm.com
Thu Feb 16 13:11:44 CET 2006


On Feb 16, 2006, at 1:07 AM, Daniel Wyckoff wrote:

> I'm devoting the rest of my life to making a very complicated  
> educational program that runs through abstract mathematical proofs  
> and displays visual aids.  Probably naively, I'm planning to write  
> it in C and use OpenGL.  Anyway, I need a way for the program to  
> display mathematical symbols along with visualizations of the  
> mathematical structures.  So, I need a way to display math symbols  
> graphically on the screen.  I thought that somebody would have  
> already written some library to achieve this, but I was wrong or  
> just not thorough enough.  How do you suggest that I incorporate  
> TeX symbols into a graphical C program?

All the programs I'm aware of which do this sort of thing generate a  
PostScript (or .pdf) representation and use Display PostScript (or  
a .pdf imaging library) to draw the glyphs on-screen.

I'd suspect that you'd find something of what you want in ``dvichop''  
and David Kastrup's Instant Preview.

or just use dvisvg (http://dvisvg.sourceforge.net/) and a library for  
displaying SVG graphics.

But it's early, and I've quit drinking coffee and haven't had my  
third cuppa tea this morning, so this is probably (certainly)  
incomplete....

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.



More information about the texhax mailing list