## Math equations (with latex)

Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
viniciusharlock
Registered User
Posts: 7
Joined: Mon Feb 02, 2009 4:07 pm

### Math equations (with latex)

Hello there,

For scientific discussions it's would be really useful to write short equations using latex code inside a message, and have them converted to pics (preferably png).
Surely latex is not the usual thing to run on a server or web hosting.
Unfortunately I'm not optimistic that I'll succeed with that myself.
So perhaps someone here likes the idea.

http://www.forkosh.dreamhost.com/mimetex.html
bolverk
I've been banned
Posts: 280
Joined: Mon Feb 02, 2009 5:39 pm

### Re: Math equations (with latex)

by atheb » Sun Apr 20, 2003 2:45 pm wrote: For scientific discussions it's would be really useful to write short equations using latex code inside a message, and have them converted to pics (preferably gifs).

Surely latex is not the usual thing to run on a server, but why not

Unfortunately I'm not optimistic that I'll succeed with that myself.
So perhaps someone here likes the idea.

Did we just travel back in time 6 years or did you copy that text almost verbatim?
Last edited by bolverk on Wed Feb 04, 2009 6:33 pm, edited 1 time in total.
fornit
Registered User
Posts: 9
Joined: Wed Feb 04, 2009 5:12 pm

### Re: Math equations (with latex)

To be honest I don't understand the question because the document you've linked at contains the solution
If you're using phpBB3, then no mod is even needed. Just click Postings from the Administrator Control Panel, and add the custom BBCode [tex]{TEXT}[/tex] with the HTML replacement <img src="/cgi-bin/mimetex.cgi?{TEXT}" align=middle>
Regards
viniciusharlock
Registered User
Posts: 7
Joined: Mon Feb 02, 2009 4:07 pm

### Re: Math equations (with latex)

Currently I use

Code: Select all

src="http://l.wordpress.com/latex.php?latex={TEXT}&bg=E1EBF2&s=1" <img align=middle>
But how to install latex on a web hosting? How to change the background?
Last edited by viniciusharlock on Wed Feb 04, 2009 6:43 pm, edited 1 time in total.
viniciusharlock
Registered User
Posts: 7
Joined: Mon Feb 02, 2009 4:07 pm

### Re: Math equations (with latex)

bolverk wrote:
by atheb » Sun Apr 20, 2003 2:45 pm wrote: For scientific discussions it's would be really useful to write short equations using latex code inside a message, and have them converted to pics (preferably gifs).

Surely latex is not the usual thing to run on a server, but why not

Unfortunately I'm not optimistic that I'll succeed with that myself.
So perhaps someone here likes the idea.

Did we just travel back in time 6 years or did you copy that text almost verbatim?
phpbbb.com is offline...and the original post.
fornit
Registered User
Posts: 9
Joined: Wed Feb 04, 2009 5:12 pm

### Re: Math equations (with latex)

Hi,

obviously it's a PERL script. You need that mimetex.cgi and you need access to your cgi-bin directory, e.g. to the location where PERL scripts can be executed.

But I'm not sure whether every provider will give you the access you need.

Regards
muggins
Registered User
Posts: 5
Joined: Wed Feb 04, 2009 8:25 pm

### Re: Math equations (with latex)

If you have your own server, or access at least, a full LaTeX implementation isn't very large. Mimetex, also by John Forkosh, offers an inferior solution to mathtex. For one thing, you can specify .png output, instead of funky .gif...

I have mathtex installed on my server, called the same way that mimetex is, but since it uses your local TeX installation, you can include other macro packages, like chemtex.

This example comes from one of my members:

Code: Select all

[tex]\gammacorrection{3.5} \usepackage{chemtex}\setlength{\unitlength}{0.1pt}\steroid{Q}{Q}{\$HO\$}{}{Q}{M}{\$C(CH_3)H(CH_2)_3C(CH_3)_2H\$}{Q}{Q}[/tex]
gives us:
Screenshot.png (5.35 KiB) Viewed 8819 times
Muggins
ToonArmy
Registered User
Posts: 335
Joined: Fri Mar 26, 2004 7:31 pm
Location: Bristol, UK
Contact:

### Re: Math equations (with latex)

fornit wrote:To be honest I don't understand the question because the document you've linked at contains the solution
If you're using phpBB3, then no mod is even needed. Just click Postings from the Administrator Control Panel, and add the custom BBCode [tex]{TEXT}[/tex] with the HTML replacement <img src="/cgi-bin/mimetex.cgi?{TEXT}" align=middle>
Regards
With a little XSS thrown in free of charge.
Chris SmithBlogXMOOhlohArea51WikiNo support via PM/IM
viniciusharlock
Registered User
Posts: 7
Joined: Mon Feb 02, 2009 4:07 pm

### Re: Math equations (with latex)

I want install a math software on a web hosting, like teTeX, LaTeX, MimeTeX or LeTeXRender.
Somebody help me?
ToonArmy
Registered User
Posts: 335
Joined: Fri Mar 26, 2004 7:31 pm
Location: Bristol, UK
Contact:

### Re: Math equations (with latex)

viniciusharlock wrote:Sorry my english is bad

I want install a math software on a web hosting, like teTeX, LaTeX, MimeTeX or LeTeXRender.
Somebody help me?
We will help you install phpBB, anything else is outside the scope of this forum.
Chris SmithBlogXMOOhlohArea51WikiNo support via PM/IM