Advertisement:

Author Topic: Tag LaTeX (Mimetex) Public  (Read 16485 times)

Offline Vito Álvaro

  • Newbie
  • *
  • Posts: 4
  • Gender: Male
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 [tex][/tex]

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

For example:
[tex]\lim_{n \to \infty}\sum_{k=1}^n \frac{1}{k^2}= \frac{\pi^2}{6}[/tex]

Result:
« Last Edit: March 11, 2008, 01:26:34 AM by vitoalvaro »

Offline 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.

Offline ameo

  • Full Member
  • ***
  • Posts: 516
  • Gender: Male
  • 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???

[tex] rac{1}{2x} - rac{1}{1-2x}= rac{4x}{4x^2-1}[/tex]

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

|±(DzinerStudio)±|

Offline Kerrick

  • Semi-Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Kerrick Design
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.

My mod: Externalize Links

Offline studentforums

  • Semi-Newbie
  • *
  • Posts: 85
  • Gender: Male
    • Click here
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

Offline Vito Álvaro

  • Newbie
  • *
  • Posts: 4
  • Gender: Male
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???

[tex] rac{1}{2x} - rac{1}{1-2x}= rac{4x}{4x^2-1}[/tex]

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?
Is possible e adding \reverse:
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... :)

Offline studentforums

  • Semi-Newbie
  • *
  • Posts: 85
  • Gender: Male
    • Click here
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

Offline 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?

Offline 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

You can search on google about it. :D good luck
http://movies-on-mediafire.com

Never dying collection of high definition mediafire movies link

Offline 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.

Offline 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' => '[tex]', 'after' => '[/tex]', '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(\'[tex]\', \'[/tex]\', 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}
[tex]{\alpha}{\delta}[/tex]--></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}
[tex]{a}\times{b}[/tex]--></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)}
[tex]{f(x)}[/tex]--></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}
[tex]{\alpha}[/tex]--></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}
[tex]\beta[/tex]--></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}
[tex]\gamma[/tex]--></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}
[tex]\delta[/tex]--></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}
[tex]\epsilon[/tex]--></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}
[tex]\zeta[/tex]--></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}
[tex]\eta[/tex]--></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}
[tex]\theta[/tex]--></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}
[tex]\iota[/tex]--></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}
[tex]\kappa[/tex]--></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}
[tex]\lambda[/tex]--></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}
[tex]\mu[/tex]--></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}
[tex]\nu[/tex]--></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}
[tex]\xi[/tex]--></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}
[tex]\pi [/tex]--></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}
[tex]\rho [/tex]--></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}
[tex]\sigma[/tex]--></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}
[tex]\tau[/tex]--></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}
[tex]\upsilon[/tex]--></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}
[tex]\phi[/tex]--></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}
[tex]\chi[/tex]--></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}
[tex]\psi[/tex]--></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}
[tex]\omega [/tex]--></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}
[tex]\Gamma[/tex]--></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}
[tex]\Delta[/tex]--></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}
[tex]\Theta[/tex]--></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}
[tex]\Lambda[/tex]--></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}
[tex]\Xi[/tex]--></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}
[tex]\Pi [/tex]--></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}
[tex]\Sigma[/tex]--></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}
[tex]\Upsilon[/tex]--></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}
[tex]\Phi[/tex]--></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}
[tex]\Psi[/tex]--></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}
[tex]\Omega [/tex]--></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}
[tex]{\dot V}[/tex]--></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}
[tex]{\ddot m}[/tex]--></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}
[tex]{\vec a}[/tex]--></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}
[tex]{\emptyset}[/tex]--></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}
[tex]\frac{a}{b} [/tex]--></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
[tex] {a}+{b} [/tex]--></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
[tex] {a}-{b} [/tex]--></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}
[tex]{a}\times{b}[/tex]--></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}
[tex]{\neq}[/tex]--></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}
[tex]{\ge}[/tex]--></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}
[tex]{\le}[/tex]--></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}}
[tex]{sqrt{\beta}}[/tex]--></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)}
[tex]{sin(x)}[/tex]--></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}
[tex]{360^\circ}[/tex]--></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}}
[tex]{X^{n}}[/tex]--></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}}
[tex]{{X}_{n}}[/tex]--></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}
[tex]{\sum_{k=1}^N k^2}[/tex]--></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}
[tex]{\int_{-N}^N e^x\,dx}[/tex]--></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}
[tex]{n \choose k}[/tex]--></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}}
[tex]{\begin{pmatrix}{a_1}&{a_2}&{a_3}\\{b_1}&{b_2}&{b_3}\\{c_1}&{c_2}&{c_3}\end{pmatrix}}[/tex]--></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}}
[tex]{\begin{vmatrix}{a_1}&{a_2}&{a_3}\\{b_1}&{b_2}&{b_3}\\{c_1}&{c_2}&{c_3}\end{vmatrix}}[/tex]--></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}
[tex]{}^4_2\mathrm{He}[/tex]--></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}
[tex]{\lim_{n\to{\infty}}x_n}[/tex]--></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!  ;)

At last we must upload:
.../Themes/default/tex/tabcontent.js
.../Themes/default/tex/tabcontent.css


They might be downloaded by:
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 »

Offline shadeofdawn

  • 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.

Offline 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?
Thanks in advance and excuse me for my bad English.

Offline 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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 63,380
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.
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor

Offline YukiHyou

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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 63,380
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. :)
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor

Offline 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?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 63,380
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>',
),

Code: (after it, add) [Select]
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' => '[tex]',
'after' => '[/tex]',
'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.
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor

Offline 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


Latex
http://movies-on-mediafire.com

Never dying collection of high definition mediafire movies link