### Author Topic: Tag LaTeX (Mimetex) Public  (Read 25204 times)

#### Vito Álvaro

• Newbie
• Posts: 4
• Gender:
##### Tag LaTeX (Mimetex) Public
« on: March 10, 2008, 11:59:09 PM »
Tag LaTeX (Mimetex) Public - by vitoalvaro@gmail.com

Custom MOD for LaTeX support.  Based on Mimetex.

Tag 

hxxp:www.forkosh.com/mimetex.html [nonactive]

For example:
$$\lim_{n \to \infty}\sum_{k=1}^n \frac{1}{k^2}= \frac{\pi^2}{6}$$

Result:
$request=http://www.forkosh.dreamhost.com/mimetex.cgi?c=\lim_{n%20\to%20\infty}\sum_{k=1}^n%20\frac{1}{k^2}=%20\frac{\pi^2}{6}&hash=a9555f5fea3f7cbbb555ab8f267d5956$
« Last Edit: March 11, 2008, 01:26:34 AM by vitoalvaro »

#### stmartin

• Jr. Member
• Posts: 114
##### Re: Tag LaTeX (Mimetex) Public
« Reply #1 on: March 20, 2008, 12:12:23 PM »
Can somebody please give me instructions, how to compile it and upload on my server. I have windows xp pro + sp2. Thank you.

#### ameo

• Full Member
• Posts: 549
• Gender:
• my life is LOST
##### Re: Tag LaTeX (Mimetex) Public
« Reply #2 on: May 09, 2008, 12:09:51 PM »
vitoalvaro, could your mod be little bit more simple;

I hate the thing I have to write \frac each time I want to get fraction.
Maybe you could leave  out of it???

$$rac{1}{2x} - rac{1}{1-2x}= rac{4x}{4x^2-1}$$

Could it be possible to get fraction just by writing 4/5 *??*

Oh, and images can't be seen on dark backgrounds. Can this be somehow changed?
« Last Edit: May 09, 2008, 12:13:11 PM by ameo »
antechinus:
Quote
If you are dying for a solution it may be wise to seek medical attention.

Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

#### Kerrick

• Semi-Newbie
• Posts: 17
• Gender:
##### Re: Tag LaTeX (Mimetex) Public
« Reply #3 on: September 22, 2008, 07:23:37 AM »
Sorry for the bump, but this mod links to the developers of mimetex's server! Is that allowed by them?

Please do not PM me for mod support, I do check the support threads.

#### studentforums

• Jr. Member
• Posts: 107
• Gender:
##### Re: Tag LaTeX (Mimetex) Public
« Reply #4 on: November 25, 2008, 06:00:56 PM »
When will latex for 1.1.6 or 1.17 become available? Does anyone know?
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

#### Vito Álvaro

• Newbie
• Posts: 4
• Gender:
##### Re: Tag LaTeX (Mimetex) Public
« Reply #5 on: December 02, 2008, 06:48:26 PM »
Can somebody please give me instructions, how to compile it and upload on my server. I have windows xp pro + sp2. Thank you.
I do not know very well in windows.

vitoalvaro, could your mod be little bit more simple;

I hate the thing I have to write rac each time I want to get fraction.
Maybe you could leave  out of it???

$$rac{1}{2x} - rac{1}{1-2x}= rac{4x}{4x^2-1}$$

Could it be possible to get fraction just by writing 4/5 *??*

Oh, and images can't be seen on dark backgrounds. Can this be somehow changed?
Source\Subs.php
Code: [Select]
            array(            'tag' => 'tex',            'type' => 'unparsed_content',            'content' => '<img src="http://www.forkosh.dreamhost.com/mimetex.cgi?$1\reverse" alt="$1" border="0" align="absmiddle" />',
Sorry for the bump, but this mod links to the developers of mimetex's server! Is that allowed by them?
Yes.

When will latex for 1.1.6 or 1.17 become available? Does anyone know?
Yes too...

#### studentforums

• Jr. Member
• Posts: 107
• Gender:
##### Re: Tag LaTeX (Mimetex) Public
« Reply #6 on: January 22, 2009, 06:14:54 AM »
We have modified an old version of latex which now works with 1.1.6 I will try and get the programmer to add  it to the mod site but he is such a lazy xxxxxx I can never contact him.
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

#### Unregistriert

• Semi-Newbie
• Posts: 20
##### Re: Tag LaTeX (Mimetex) Public
« Reply #7 on: July 11, 2009, 01:32:24 PM »
Hello,

i must say, it's a great modification.

But I think, there is a problem for users, which are not that experienced with the TeX-program. In another forum I found a similar application, which is more userfriendly, especially for beginners.

At the bottom of the text-area there are choseable options of symbols.

[nofollow]

Is it possible to insert this application into our forum?

#### dr.wills

• Jr. Member
• Posts: 137
##### Re: Tag LaTeX (Mimetex) Public
« Reply #8 on: July 12, 2009, 01:26:18 AM »
That program is called DragMath

http://movies-on-mediafire.com

Never dying collection of high definition mediafire movies link

#### Unregistriert

• Semi-Newbie
• Posts: 20
##### Re: Tag LaTeX (Mimetex) Public
« Reply #9 on: July 12, 2009, 03:33:33 AM »
That program looks nice. Not exactly what i looked for, but interesting.

#### Unregistriert

• Semi-Newbie
• Posts: 20
##### Re: Tag LaTeX (Mimetex) Public
« Reply #10 on: July 15, 2009, 04:07:29 PM »
HI

Now I wrote my own modification of this modification.

[nofollow]

You can test here:
http://cnccnc.cn.funpic.de/__math-test/___test/index.php?action=post;topic=1.0;num_replies=2 [nofollow]
or
http://cnccnc.cn.funpic.de/__math-test/modules.php?name=Forum&action=post;board=1.0 [nofollow]

I don't know how to post a modification in the "Customize" correctly, so I add it in these post

At first the complete "LaTeX (Mimetex)" modification should be done, without the modification in the Post.template.php

Post.template.php
Code: [Select]
'tex' => array('code' => 'tex', 'before' => '$$', 'after' => '$$', 'description' => $txt['latex']),This is not longer needed. Now my modifications: .../Themes/default/Post.template.php Code: [Select]  // If this is a poll - use some javascript to ensure the user doesn't create a poll with illegal option combinations.this must be searched and insert above: Code: [Select] ///////////////////////////////////////////////////////////////////////////////////////////// echo ' var currentMathSwap = false; function swapMathOptions() { document.getElementById("postMoreMathOptions").style.display = currentMathSwap ? "" : "none"; currentMathSwap = !currentMathSwap; }';/////////////////////////////////////////////////////////////////////////////////////////////(I duplicated the Swap-Option , which should be over there, to hide and show the symbols) at the next we search: Code: [Select]  // A hidden form to post data to the spell checking window. and insert above: Code: [Select] ///////////////////////////////////////////////////////////////////////////////////////////// echo ' <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[ swapMathOptions(); // ]]></script>';/////////////////////////////////////////////////////////////////////////////////////////////(part 2 of the duplicated Swap-Option) Now we search this: Code: [Select]  echo ' </td> </tr>'; } // Now start printing all of the smileys. and replace: Code: [Select]  echo '<!--/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////### Thanks to siggi for help ###////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////--><img src="',$settings['images_url'], '/bbc/divider.gif" alt="|" style="margin: 0 3px 0 3px;" /><a href="#" onclick="swapMathOptions(); surroundText(\'$$\', \'$$\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="cursor:pointer;text-decoration: none;"><img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', settings['images_url'], '/bbc/tex.gif" align="bottom" width="23" height="22" alt="',tag['description'], '" title="', $tag['description'], '" style="background-image: url(',$settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a><!--/////////////////////////////////////////////////////////////////////////////////////////////--> </td> </tr>'; } // Now start printing all of the smileys.(the img-tag must be filled in the shown echo-tag...)

at last we search following:
Code: [Select]
// Finally the most important bit - the actual text box to write in!
and insert above:
Code: [Select]
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Display the check boxes for all the special options! echo ' <tr> <td align="right"></td> <td valign="middle"> <div id="postMoreMathOptions"><!--///////////////////////////////////////////////////////////////////////////////////////////////////////////////####  Thanks for the really nice tab-script   ####/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////##    http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm    ##//////////////////////////////////////////////////////////////////////////////////////////////////////////--> <ul id="countrytabs" class="shadetabs">  <li><a href="#" rel="country1" class="selected"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\alpha}{\delta}" align="bottom" alt="{\alpha}{\delta}" title="{\alpha}{\delta}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\alpha}{\delta} $${\alpha}{\delta}$$--></a></li> <li><a href="#" rel="country2"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{a}\times{b}" align="bottom" alt="{a}\times{b}" title="{a}\times{b}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{a}\times{b} $${a}\times{b}$$--></a></li> <li><a href="#" rel="country3"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{f(x)}" align="bottom" alt="{f(x)}" title="{f(x)}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{f(x)} $${f(x)}$$--></a></li> </ul> <div style="border:1px solid gray; width:500px; margin-bottom: 1em; padding: 10px"> <div id="country1" class="tabcontent"> <a href="javascript:void(0);" onclick="replaceText(\'{\\\alpha}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\alpha}" align="bottom" alt="{\alpha}  " title="{\alpha}  " /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\alpha} $${\alpha}$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\beta}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\beta}" align="bottom" alt="{\beta}" title="{\beta}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\beta} $$\beta$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\gamma}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\gamma}" align="bottom" alt="{\gamma}" title="{\gamma}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\gamma} $$\gamma$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\delta}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\delta}" align="bottom" alt="{\delta}" title="{\delta}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\delta} $$\delta$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\epsilon}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\epsilon}" align="bottom" alt="{\epsilon}" title="{\epsilon}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\epsilon} $$\epsilon$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\zeta}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\zeta}" align="bottom" alt="{\zeta}" title="{\zeta}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\zeta} $$\zeta$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\eta}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\eta}" align="bottom" alt="{\eta}" title="{\eta}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\eta} $$\eta$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\theta}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\theta}" align="bottom" alt="{\theta}" title="{\theta}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\theta} $$\theta$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\iota}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\iota}" align="bottom" alt="{\iota}" title="{\iota}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\iota} $$\iota$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\kappa}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\kappa}" align="bottom" alt="{\kappa}" title="{\kappa}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\kappa} $$\kappa$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\lambda}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\lambda}" align="bottom" alt="{\lambda}" title="{\lambda}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\lambda} $$\lambda$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\mu}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\mu}" align="bottom" alt="{\mu}" title="{\mu}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\mu} $$\mu$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\nu}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\nu}" align="bottom" alt="{\nu}" title="{\nu}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\nu} $$\nu$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\xi}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\xi}" align="bottom" alt="{\xi}" title="{\xi}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\xi} $$\xi$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\pi}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\pi}" align="bottom" alt="{\pi}" title="{\pi}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\pi} $$\pi$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\rho}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\rho}" align="bottom" alt="{\rho}" title="{\rho}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\rho} $$\rho$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\sigma}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\sigma}" align="bottom" alt="{\sigma}" title="{\sigma}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\sigma} $$\sigma$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\tau}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\tau}" align="bottom" alt="{\tau}" title="{\tau}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\tau} $$\tau$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\upsilon}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\upsilon}" align="bottom" alt="{\upsilon}" title="{\upsilon}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\upsilon} $$\upsilon$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\phi}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\phi}" align="bottom" alt="{\phi}" title="{\phi}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\phi} $$\phi$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\chi}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\chi}" align="bottom" alt="{\chi}" title="{\chi}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\chi} $$\chi$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\psi}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\psi}" align="bottom" alt="{\psi}" title="{\psi}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\psi} $$\psi$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\omega}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\omega}" align="bottom" alt="{\omega}" title="{\omega}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\omega} $$\omega$$--></a> <br>                                                                 <br> <a href="javascript:void(0);" onclick="replaceText(\'{\\\Gamma}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\Gamma}" align="bottom" alt="{\Gamma}" title="{\Gamma}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\Gamma} $$\Gamma$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\Delta}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\Delta}" align="bottom" alt="{\Delta}" title="{\Delta}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\Delta} $$\Delta$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\Theta}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\Theta}" align="bottom" alt="{\Theta}" title="{\Theta}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\Theta} $$\Theta$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\Lambda}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\Lambda}" align="bottom" alt="{\Lambda}" title="{\Lambda}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\Lambda} $$\Lambda$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\Xi}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\Xi}" align="bottom" alt="{\Xi}" title="{\Xi}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\Xi} $$\Xi$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\Pi}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\Pi}" align="bottom" alt="{\Pi}" title="{\Pi}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\Pi} $$\Pi$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\Sigma}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\Sigma}" align="bottom" alt="{\Sigma}" title="{\Sigma}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\Sigma} $$\Sigma$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\Upsilon}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\Upsilon}" align="bottom" alt="{\Upsilon}" title="{\Upsilon}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\Upsilon} $$\Upsilon$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\Phi}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\Phi}" align="bottom" alt="{\Phi}" title="{\Phi}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\Phi} $$\Phi$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\Psi}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\Psi}" align="bottom" alt="{\Psi}" title="{\Psi}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\Psi} $$\Psi$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\Omega}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\Omega}" align="bottom" alt="{\Omega}" title="{\Omega}" /> <!--http://www.forkosh.dreamhost.com/mimetex.cgi?{\Omega} $$\Omega$$--></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{\\\dot V}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\dot V}" align="bottom" alt="{\dot V}" title="{\dot V}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\dot V} $${\dot V}$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\ddot m}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\ddot m}" align="bottom" alt="{\ddot m}" title="{\ddot m}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\ddot m} $${\ddot m}$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\vec a}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\vec a}" align="bottom" alt="{\vec a}" title="{\vec a}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\vec a} $${\vec a}$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\emptyset}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\emptyset}" align="bottom" alt="{\emptyset}" title="{\emptyset}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\emptyset} $${\emptyset}$$--></a> </div> <div id="country2" class="tabcontent"> <a href="javascript:void(0);" onclick="replaceText(\'\\\frac{a}{b}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?\frac{a}{b}" align="middle" alt="\frac{a}{b}" title="\frac{a}{b}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?\frac{a}{b} $$\frac{a}{b}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{a}+{b}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{a}+{b}" align="middle" alt="{a}+{b}" title="{a}+{b}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?a+b $${a}+{b}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{a}-{b}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{a}-{b}" align="middle" alt="{a}-{b}" title="{a}-{b}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?a-b $${a}-{b}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{a}\\\times{b}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{a}\times{b}" align="middle" alt="{a}\times{b}" title="{a}\times{b}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{a}\times{b} $${a}\times{b}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{\\\neq}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\neq}" align="middle" alt="{\neq}" title="{\neq}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\neq} $${\neq}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{\\\ge}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\ge}" align="middle" alt="{\ge}" title="{\ge}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\ge} $${\ge}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{\\\le}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\le}" align="middle" alt="{\le}" title="{\le}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\le} $${\le}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{sqrt{\\\beta}}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{sqrt{\beta}}" align="middle" alt="{sqrt{\beta}}" title="{sqrt{\beta}}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{sqrt{\beta}} $${sqrt{\beta}}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{sin(x)}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{sin(x)}" align="middle" alt="{sin(x)}" title="{sin(x)}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{sin(x)} $${sin(x)}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{360^\\\circ}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{360^\circ}" align="middle" alt="{360^\circ}" title="{360^\circ}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{360^\circ} $${360^\circ}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{X^{n}}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{X^{n}}" align="middle" alt="{X^{n}}" title="{X^{n}}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{X^{n}} $${X^{n}}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{{X}_{n}}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{{X}_{n}}" align="middle" alt="{{X}_{n}}" title="{{X}_{n}}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi? {{X}_{n}} $${{X}_{n}}$$--></a> </div> <div id="country3" class="tabcontent"> <a href="javascript:void(0);" onclick="replaceText(\'{\\\sum_{k=1}^N k}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\sum_{k=1}^N k}" align="middle" alt="{\sum_{k=1}^N k}" title="{\sum_{k=1}^N k}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\sum_{k=1}^N k} $${\sum_{k=1}^N k^2}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{\\\int_{-N}^N e^x\\\,dx}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\int_{-N}^N e^x\,dx}" align="middle" alt="{\int_{-N}^N e^x\,dx}" title="{\int_{-N}^N e^x\,dx}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\int_{-N}^N e^x\,dx} $${\int_{-N}^N e^x\,dx}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{n \\\choose k}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{n \choose k}" align="middle" alt="{n \choose k}" title="{n \choose k}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{n \choose k} $${n \choose k}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{\\\begin{pmatrix}{a_1}&{a_2}&{a_3}\\\\\\\\{b_1}&{b_2}&{b_3}\\\\\\\\{c_1}&{c_2}&{c_3}\\\end{pmatrix}}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\begin{pmatrix}{a_1}&{a_2}&{a_3}\\\{b_1}&{b_2}&{b_3}\\\{c_1}&{c_2}&{c_3}\end{pmatrix}}" align="middle" alt="{\begin{pmatrix}{a_1}&{a_2}&{a_3}\\{b_1}&{b_2}&{b_3}\\{c_1}&{c_2}&{c_3}\end{pmatrix}}" title="{\begin{pmatrix}{a_1}&{a_2}&{a_3}\\{b_1}&{b_2}&{b_3}\\{c_1}&{c_2}&{c_3}\end{pmatrix}}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\begin{pmatrix}{a_1}&{a_2}&{a_3}\\{b_1}&{b_2}&{b_3}\\{c_1}&{c_2}&{c_3}\end{pmatrix}} $${\begin{pmatrix}{a_1}&{a_2}&{a_3}\\{b_1}&{b_2}&{b_3}\\{c_1}&{c_2}&{c_3}\end{pmatrix}}$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{\\\begin{vmatrix}{a_1}&{a_2}&{a_3}\\\\\\\\{b_1}&{b_2}&{b_3}\\\\\\\\{c_1}&{c_2}&{c_3}\\\end{vmatrix}}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\begin{vmatrix}{a_1}&{a_2}&{a_3}\\\{b_1}&{b_2}&{b_3}\\\{c_1}&{c_2}&{c_3}\end{vmatrix}}" align="middle" alt="{\begin{vmatrix}{a_1}&{a_2}&{a_3}\\{b_1}&{b_2}&{b_3}\\{c_1}&{c_2}&{c_3}\end{vmatrix}}" title="{\begin{vmatrix}{a_1}&{a_2}&{a_3}\\{b_1}&{b_2}&{b_3}\\{c_1}&{c_2}&{c_3}\end{vmatrix}}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\begin{vmatrix}{a_1}&{a_2}&{a_3}\\{b_1}&{b_2}&{b_3}\\{c_1}&{c_2}&{c_3}\end{vmatrix}} $${\begin{vmatrix}{a_1}&{a_2}&{a_3}\\{b_1}&{b_2}&{b_3}\\{c_1}&{c_2}&{c_3}\end{vmatrix}}$$--></a> <a href="javascript:void(0);" onclick="replaceText(\'{}^4_2\\\mathrm{He}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{}^4_2\mathrm{He}" align="middle" alt="{}^4_2\mathrm{He}" title="{}^4_2\mathrm{He}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{}^4_2\mathrm{He} $${}^4_2\mathrm{He}$$--></a> &nbsp; <a href="javascript:void(0);" onclick="replaceText(\'{\\\lim_{n\\\to{\\\infty}}x_n}\', document.forms.', $context['post_form'], '.',$context['post_box_name'], '); return false;" style="text-decoration: none;"> <img src="http://www.forkosh.dreamhost.com/mimetex.cgi?{\lim_{n\to{\infty}}x_n}" align="middle" alt="{\lim_{n\to{\infty}}x_n}" title="{\lim_{n\to{\infty}}x_n}" /> <!-- http://www.forkosh.dreamhost.com/mimetex.cgi?{\lim_{n\to{\infty}}x_n} $${\lim_{n\to{\infty}}x_n}$$--></a> </div>                                                 </div>                                                 <script type="text/javascript"> var countries=new ddtabcontent("countrytabs") countries.setpersist(true) countries.setselectedClassTarget("link") //"link" or "linkparent" countries.init() </script> </div> </td> </tr>';//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
That's been in the Post.template.php

(I know, that code is unnecessarily long, but I don't find an Idea to shorten it. I have some problems with the many backslashes. Look Here )

at the next we did changes in the../Themes/default/index.template.php

we search:
Code: [Select]
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script> and insert above: Code: [Select] <!--/////////////////////////////////////////////////////////////////////////////////////////////--> <script type="text/javascript" src="',$settings['default_theme_url'], '/tex/tabcontent.js"></script><!--/////////////////////////////////////////////////////////////////////////////////////////////-->
at next we search:
Code: [Select]
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; and insert above: Code: [Select] <!--/////////////////////////////////////////////////////////////////////////////////////////////--> <link rel="stylesheet" type="text/css" href="',$settings['default_theme_url'], '/tex/tabcontent.css" /><!--/////////////////////////////////////////////////////////////////////////////////////////////-->

That's it!

.../Themes/default/tex/tabcontent.js
.../Themes/default/tex/tabcontent.css

http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm [nofollow]

or from my post

Maybe we upload the new Symbol, I made the background transparent, and it looks better
Code: [Select]
.../Themes/default/images/bbc/tex.gif
« Last Edit: July 15, 2009, 07:28:34 PM by Unregistriert »

• Semi-Newbie
• Posts: 13
##### Re: Tag LaTeX (Mimetex) Public
« Reply #11 on: August 19, 2009, 05:52:35 PM »
Does anyone know which files i need to modify the permissions for? FTP doesnt seem to work for me.

#### toroseduto

• Newbie
• Posts: 1
##### Re: Tag LaTeX (Mimetex) Public
« Reply #12 on: September 21, 2009, 03:22:54 PM »
Hello, I am using this mod on smf 1.1.10 and it shows only confused images. I tried also to post directly the image from mimtex server (with [ img]http://www.forkosh.dreamhost.com/mimetex.cgi?x^2[/img] for example) but i obtained confused images also in that case. What could be the problem?

#### YukiHyou

• Newbie
• Posts: 2
##### Re: Tag LaTeX (Mimetex) Public
« Reply #13 on: October 04, 2009, 03:13:38 PM »
The description of this mod is causing issues for the proper functioning of my SMF. Not happy.

Please revise your mod description. The backslashes in the example text are not displaying, and are causing some extended characters to be inserted. This is breaking the SMF Integrated Mod Browsing functionality, even though I do not have this mod installed.

I have submitted a report as 'unsafe' regarding this mod.

For an example of what I mean, please look at the error relating to your mod on this package feed: http://custom.simplemachines.org/mods/packages.xml

#### Arantor

• Resident Overthinker
• SMF Friend
• SMF Legend
• Posts: 68,491
##### Re: Tag LaTeX (Mimetex) Public
« Reply #14 on: October 15, 2009, 07:27:42 AM »
Thank you for your report; this particular error has been resolved. There are other issues in the packages.xml file that we will attend to.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

#### YukiHyou

• Newbie
• Posts: 2
##### Re: Tag LaTeX (Mimetex) Public
« Reply #15 on: October 15, 2009, 08:07:50 AM »
Thanks for the response. Sorry if I came across a little snarky.

#### Arantor

• Resident Overthinker
• SMF Friend
• SMF Legend
• Posts: 68,491
##### Re: Tag LaTeX (Mimetex) Public
« Reply #16 on: October 15, 2009, 08:09:38 AM »
It's perfectly understandable, actually - but this one is done now.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

#### wilkolak

• Semi-Newbie
• Posts: 11
##### Re: Tag LaTeX (Mimetex) Public
« Reply #17 on: November 14, 2009, 09:10:47 AM »
Would there be a version for 2.0 RC2?

#### Arantor

• Resident Overthinker
• SMF Friend
• SMF Legend
• Posts: 68,491
##### Re: Tag LaTeX (Mimetex) Public
« Reply #18 on: November 14, 2009, 09:21:44 AM »
I doubt the author plans to update it for 2.0 RC2, to be honest, but it should work if you do the following manual install:

Sources/Subs.php
Code: (find) [Select]
 array( 'tag' => 'white', 'before' => '<span style="color: white;" class="bbc_color">', 'after' => '</span>', ),
 array( 'tag' => 'tex', 'type' => 'unparsed_content', 'content' => '<img src="http://bmi.ath.cx/cgi-bin/mimetex.cgi?$1" alt="$1" border="0" align="absmiddle" />', ),
Sources/Subs-Editor.php
Code: (find) [Select]
 array( 'image' => 'flash', 'code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt['flash'] ), Code: (after it, add) [Select]  array( 'image' => 'tex', 'code' => 'tex', 'before' => '$$', 'after' => '$$', 'description' =>$txt['tex'] ),
Then, unpack the .zip file from http://custom.simplemachines.org/mods/index.php?mod=1111 and upload the tex.gif file you find into Themes/default/images/bbc and lastly, you'll need to edit your language files.

Find Themes/default/languages, and for each file that begins with the word Modifications (e.g. Modifications.english.php, Modifications.english-utf8.php), add the following line before the last ?> in the file.

Code: [Select]
\$txt['tex'] = 'LaTeX';

This cannot be turned into a package unless its author is happy for that to happen.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

#### dr.wills

• Jr. Member
• Posts: 137
##### Re: Tag LaTeX (Mimetex) Public
« Reply #19 on: November 14, 2009, 02:27:40 PM »
One more suggestion though

MimeTex looks worse than LaTeX

So if you want to use high quality math symbols, substitute the following link
http://latex.codecogs.com/gif.latex?

Comparision
MimeTex
$request=http://www.forkosh.dreamhost.com/mimetex.cgi?c=\lim_{n%20\to%20\infty}\sum_{k=1}^n%20\frac{1}{k^2}=%20\frac{\pi^2}{6}&hash=a9555f5fea3f7cbbb555ab8f267d5956$

Latex
$request=http://latex.codecogs.com/gif.latex?c=\lim_{n%20\to%20\infty}\sum_{k=1}^n%20\frac{1}{k^2}=%20\frac{\pi^2}{6}&hash=afd35e3567d1a93e17cfdd7feaa1822b$
http://movies-on-mediafire.com

Never dying collection of high definition mediafire movies link