Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[latex][/latex] bbcode Details »
[latex][/latex] bbcode
Mod Version: 1.00, by Dream (Member) Dream is offline
Developer Last Online: Sep 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 Rating: (1 vote - 5.00 average) Installs: 18
Released: 03 Jul 2005 Last Update: Never Downloads: 1
Not Supported Re-usable Code  

Description
Rip-off of http://www.vbulletin-germany.com/for...ad.php?t=17052

This bbcode creates images using LaTeX math expressions.

Installation
- Go to http://www.forkosh.com/mimetex.html
- Download mimetex, compile it and throw it into your cgi-bin folder, or try one of the pre-compiled versions. The Linux one didn't work for me, good luck.
- Test it out with www.yourforum.com/cgi-bin/mimetex.cgi?x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
- Add the bbcode

Title: Latex
Tag: latex
Replacement: <img src="http://www.yourforum.com/cgi-bin/mimetex.cgi?{param}" />
Example: [latex]x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}[/latex]
Description: Generates images with LaTeX math expressions.
Use {option}: no

I tried using the mimetex from his site and it banned me.

<img src="http://www.forkosh.dreamhost.com/cgi-bin/mimetex.cgi?{param}" />

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	mimetex2.gif
Views:	462
Size:	1.3 KB
ID:	31546   Click image for larger version

Name:	mimetex4.gif
Views:	881
Size:	1.4 KB
ID:	31547   Click image for larger version

Name:	mimetex5.gif
Views:	543
Size:	3.6 KB
ID:	31548  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 03 Jul 2005, 13:46
CBE CBE is offline
 
Join Date: Jun 2005
Dear friend,

i downloaded " mimetex.zip " but there is no file named " mimetex.cgi " ???????

what shall i do ??

thx
Reply With Quote
  #3  
Old 03 Jul 2005, 18:54
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
you have to follow the installation steps on that page to create the "mimetex.cgi" file
Reply With Quote
  #4  
Old 21 Sep 2005, 05:31
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
This is nice.

anyway, you need to have permission to compile cc, in order to create the .cgi file

i tried using his site:
http://www.forkosh.dreamhost.com/cgi-bin/mimetex.cgi?x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
its working fine.
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1
Reply With Quote
  #5  
Old 29 Sep 2005, 22:25
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
his site has an anti-leech system though
Reply With Quote
  #6  
Old 29 Sep 2005, 22:36
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
I must not be as smart as all of you, because I have no clue what this is for??
__________________
CommanderTalk.com --> www.commandertalk.com
Reply With Quote
  #7  
Old 29 Sep 2005, 22:43
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
it for showing advanced math formulas with a bbcode
Reply With Quote
  #8  
Old 19 Oct 2005, 14:53
J_Chem J_Chem is offline
 
Join Date: Jul 2005
newb here =)

I got the mimetex.cgi working, I'm just not sure where to add the bbcode.

thanks
Reply With Quote
  #9  
Old 07 Nov 2005, 23:19
Coldhands's Avatar
Coldhands Coldhands is offline
 
Join Date: Oct 2005
I was using this on my forum before I upgraded to 3.5. I created a folder called mimetex, then unzipped the file. I then compiled the file useing the command line cc -DAA mimetex.c gifsave.c -lm -o mimetex.cgi

that creates the mimetex.cgi file which I put in my cgi-bin folder.

I try to execute the file with http://www.actuary.ca/cgi-bin/mimetex.cgi?x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

and only get an internal server error.

Am I missing something???
Reply With Quote
  #10  
Old 07 Nov 2005, 23:24
Coldhands's Avatar
Coldhands Coldhands is offline
 
Join Date: Oct 2005
Whoops, ignorance strikes again!!!!!!!!!!!


I started to think about this one for a second, and then I realized . . . The quick directions would be a lot quicker if it had "change the chmod of mimetex.cgi to executable" which only makes sence cause people have to execute it in order for it to work . . . . duh.
Reply With Quote
  #11  
Old 07 Nov 2005, 23:48
Coldhands's Avatar
Coldhands Coldhands is offline
 
Join Date: Oct 2005
Okay, so now my problem is when I use the [tex][/tex] tag in a thread it just shows the text. How do I make this text so it shows the image that does now work and should be used?

Thanks in advance,

CH
Reply With Quote
  #12  
Old 08 Nov 2005, 04:16
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
If this could be made so that the functions are more close to the normal writion of functions in plain text (eg using only parentheses) it would be soooo great!
Even as is I consider installing! The users in my math subforum will loooove this!

/me is clicking install to be able to find it easily and maybe actually install afterwards
Reply With Quote
  #13  
Old 08 Nov 2005, 04:25
InfidelMatt InfidelMatt is offline
 
Join Date: Oct 2005
Originally Posted by Coldhands
Whoops, ignorance strikes again!!!!!!!!!!!


I started to think about this one for a second, and then I realized . . . The quick directions would be a lot quicker if it had "change the chmod of mimetex.cgi to executable" which only makes sence cause people have to execute it in order for it to work . . . . duh.
I have mine set up and chmod'd properly and I still get internal server error. It works fine off the command line, however. :huh:
Reply With Quote
  #14  
Old 08 Nov 2005, 06:25
DaXecutioner DaXecutioner is offline
 
Join Date: Oct 2005
holy shit. this is exactly what my forum needs as it is for math students at my university. thank you for bringing this to my attention.

Last edited by DaXecutioner; 08 Nov 2005 at 16:14.
Reply With Quote
  #15  
Old 08 Feb 2006, 20:06
JPQuiceno JPQuiceno is offline
 
Join Date: Oct 2005
wtf, i compiled it myself, put it in my cgi bin, and chmod it to 777, and it still gives out internal server error:

http://www.internationaldiscussionforums.net/cgi-bin/mimetex.cgi?x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:40.

Layout Options | Width: Wide Color: