Plugins (1083)


Training and Consulting (44)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 540
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jdbertron
Post subject: LaTex comments (with source code) please help finish this !  PostPosted: Mar 10, 2008 - 12:12 PM



Joined: Mar 10, 2008
Posts: 2

I'm posting this in the wishlist because I think this might be useful.

When programming mathematical software, it's always frustrating to have comments that look like :
// 2* sum [1 to n](a[i]*integral[a-b] fi(x)gi(x) dx
because the code always looks worse and the comment doesn't help clarify anything.

The solution: a comment in LaTex. The comment looks like this:
//tex 2\sum_{i=1}^n a_i \;\int_a^b f_i(x)g_i(x)\,dx
Image

and when you hover on top of the comment, a window showing the LaTex rendered version of it shows up !
Image

The good news, I wrote the version of this plug-in. The bad news is, I'm no eclipse plug-in developer expert, and I think the code could be written better. I also don't have time to finish and clean it up, make it a nice package and maintain/enhance it.
Note: This version uses HotEqn.jar a free LaTex java renderer applet.
So if someone wants to volunteer to take over, feel free to download the project: http://www.bertron.us/upload/LaTexHover.zip

Thanks !
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits